It is currently Sun May 31, 2020 8:06 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 337 posts ]  Go to page 1, 2, 3, 4, 5 ... 23  Next
Author Message
 Post subject: PB EasySetup - Setup maker for your program
PostPosted: Wed Jun 14, 2006 3:54 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 1262
Location: Germany
EasySetup
- small installer (installer & uninstaller: <90KB)
- multilanguage (translation tool for your own language)
- licence/info file as TXT or RTF
- user splashscreen possible (130*300 Pixel)
- call project at start (commandline)
- StartMenu-entries possible (help, homepage, additional executable, uninstaller)
- preview function for licence, info file and bitmap
- licence and info file editable (preview window)
- path variables for program directory possible (see menu - help)
- userdefinded links (Desktop, Startmenu, Autostart, URL)
- installation of single files in special folders possible (%Autostart%, %Fonts%, .....)
- userdefined registry entries possible
- possibility to start a program (before/while/after installation)
- possibility to execute a script (JScript/VBScript) during installation / uninstallation
- Association of a file extension with the program
- splitted setup (installer+archive) for big installations possible
- InternetUpdater (compare files/partial download)
- Additional programs (with sources):
    CheckPC.exe (check hardware/OS)
    CheckAdmin.exe (check admin rights)
    CheckSerNr.exe (input/check serial number)
    CallURL.exe (call URL/homepage)
    DemoVersion.exe (check days for demo versions)
    Expired.exe (check expiration date)
    PlayMusic.exe (play wav during installation)
    Run2Update.exe (call Exe in the program directory)
    ShowHTML.exe (show HTML-file)
    ShowReadme.exe (show rtf/txt file)
    StartAddSetup.exe (start additional setup program)

- manuals: English, German, Dutch

available languages:
- German, English, Spanish, Dutch, Russian, French, Swedish, Chinese, Portuguese, Italian (program & installer)
- Norwegian, Sloevenian (installer only)

Download EasySetup

Image

_________________
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 10 x64] [PB V5.7x]


Last edited by Thorsten1867 on Sun Feb 03, 2008 6:37 pm, edited 77 times in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Jun 15, 2006 11:32 pm 
Offline
Always Here
Always Here
User avatar

Joined: Sat Aug 30, 2003 5:58 pm
Posts: 5883
Location: Denmark
You should add support for english in the first installation. I think this scares some users away that only german is supported :)

Also you switch too much from different banners. First you got one in the left side, then one at top and back at the left side!


Okay to the setup maker; you should let people minimize it.

And if my exe doesnt have an icon, i cant close the "Icons" window that pop up when i click the "Icon" button in "Files and directory" part!

Also, perhaps you should remove the "Easy setup - Copyright blablabla" in the top of the installers..! (And write something like "Product title v. x" where the x is the version number!)


For the uninstaller; you should remove the ", too" part in the check box. And it didnt remove my directory!

Other than that, it looks pretty good!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jun 16, 2006 11:31 am 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 1262
Location: Germany
thefool wrote:
You should add support for english in the first installation. I think this scares some users away that only german is supported :)

There was a bug in the language selection window. Normaly the user language is automaticly selected, if exists.

thefool wrote:
Okay to the setup maker; you should let people minimize it.
Done!

thefool wrote:
And if my exe doesnt have an icon, i cant close the "Icons" window that pop up when i click the "Icon" button in "Files and directory" part!
Use [X] button to close.

thefool wrote:
For the uninstaller; you should remove the ", too" part in the check box. And it didnt remove my directory!

A friend corrected the errors in the english translation. :)
The directory is a windows problem. It allows not to delete the directory, that include the uninstaller executable.

_________________
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jun 16, 2006 11:37 am 
Offline
Always Here
Always Here
User avatar

Joined: Sat Aug 30, 2003 5:58 pm
Posts: 5883
Location: Denmark
Thorsten1867 wrote:
thefool wrote:
And if my exe doesnt have an icon, i cant close the "Icons" window that pop up when i click the "Icon" button in "Files and directory" part!
Use [X] button to close.


Don't ask me how; i managed to open it one an exe without an icon. And it would not close on the x! tried today, and it works fine. Don't know what went wrong!

Quote:
thefool wrote:
For the uninstaller; you should remove the ", too" part in the check box. And it didnt remove my directory!


The directory is a windows problem. It allows not to delete the directory, that include the uninstaller executable.


Nope, you can easily delete it :)
just requires a little programming. Search this forum, and see its possible :)

edit: did the search:
http://www.purebasic.fr/english/viewtopic.php?t=4836


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jun 16, 2006 11:42 am 
Offline
Always Here
Always Here
User avatar

Joined: Sat Aug 30, 2003 5:58 pm
Posts: 5883
Location: Denmark
A way to do it:

Simply let your uninstaller write the this file: delitself.bat

Quote:
:begin
if exist uninstall.exe goto trydelete
del delitself.bat
exit
:trydelete
del uninstall.exe


launch it hidden and END your program afterwards.
this batch file will loop till uninstall.exe is removed, and when it is it will remove itself and exit.

(remember, the batchfiles name shall be delitself.bat unless you change the del delitself.bat of course. Try it :D)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jun 16, 2006 8:06 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 1262
Location: Germany
Good idea! I needed a long time until it works correct.
The problems were:
- Batch file must placed in directorys in accordance with DOS rules
- RunProgram() works not correct with parameters => ShellExecute_()
- Directory must changed before deleting program directory ("cd \") :?

Code:
; SelfDestruct for Uninstaller (PB V4)
; idea: Rings & Wayne Diamond & NoahPhense
; modified: Thorsten Hoeppner (Thorsten1867)
;
Procedure SelfDestruct(ProgDir$="")
  exe$ = ProgramFilename()
  bat$ = Left(exe$,1)+":\~~uninst.bat"
  If CreateFile(0, bat$)
    WriteStringN(0, "cd \")
    WriteStringN(0, ":DeleteFile")
    WriteStringN(0, "del "+exe$) ; program executable
    WriteStringN(0, "if exist "+exe$+" goto DeleteFile")
    If ProgDir$
      WriteStringN(0, "rd "+ProgDir$) ; program directory
    EndIf
    WriteStringN(0, "del "+bat$) ; temporary batch file
    WriteStringN(0, "exit")
    CloseFile(0)
    ShellExecute_(0,"open",bat$,0,0,#SW_HIDE)
  EndIf
EndProcedure

_________________
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jun 16, 2006 8:22 pm 
Offline
Always Here
Always Here
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 5755
Location: Berlin - Germany
> - - Batch file must placed in directorys in accordance with DOS rules
Code:
Procedure SelfDestruct(ProgDir$="")
  exe$ = ProgramFilename()
  bat$ = Left(exe$,1)+":\~~uninst.bat"
  If CreateFile(0, bat$)
    WriteStringN(0, "cd \")
    WriteStringN(0, ":DeleteFile")
    WriteStringN(0, "del " + #DQUOTE$ + exe$ + #DQUOTE$ ) ; program executable
    WriteStringN(0, "if exist " + #DQUOTE$ + exe$ + #DQUOTE$ + " Goto DeleteFile")
    If ProgDir$
      WriteStringN(0, "rd " + #DQUOTE$ + ProgDir$ + #DQUOTE$) ; program directory
    EndIf
    WriteStringN(0, "del "+bat$) ; temporary batch file
    WriteStringN(0, "exit")
    CloseFile(0)
    ShellExecute_(0,"open",bat$,0,0,#SW_HIDE)
  EndIf
EndProcedure

not tested :wink:

_________________
PureBasic 5.71 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 19.3 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jun 16, 2006 8:29 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 1262
Location: Germany
New Version 0.1.6:
- Installer: Bug in language selection requester removed
- Uninstaller: Empty program directory will now be deleted :D
- EasySetup: Empty subdirectories in programm directory will be managed correct now
- EasySetup: Automatic saving of changes if projectname exists

_________________
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jun 16, 2006 8:40 pm 
Offline
Always Here
Always Here

Joined: Mon Sep 22, 2003 6:45 pm
Posts: 7446
Location: Norway
It's not very elegant with so many different font sizes and the buttons looks very small. And when I click to the left of the back button, C:\Programfiler\Opera 7 opens in an explorer window. :shock:

And I can click "finish" before the installation has started (on the screen with click install to start installation).

Edit: It doesn't delete the start menu entries and the desktop shortcut.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jun 16, 2006 9:01 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 1262
Location: Germany
Trond wrote:
It's not very elegant with so many different font sizes and the buttons looks very small.

What do you meen? EasySetup, Installer or Uninstaller
I'm working on a better desing of EasySetup (Panels).

Trond wrote:
And when I click to the left of the back button, C:\Programfiler\Opera 7 opens in an explorer window. :shock:

There should be the homepage, if it exists. I will correct it.

Trond wrote:
And I can click "finish" before the installation has started (on the screen with click install to start installation).

Translation error. I will change it to "Exit"

Trond wrote:
Edit: It doesn't delete the start menu entries and the desktop shortcut.

I can't reproduce it. Can you send me your "uninstall.dat"

_________________
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jun 16, 2006 9:13 pm 
Offline
Always Here
Always Here

Joined: Mon Sep 22, 2003 6:45 pm
Posts: 7446
Location: Norway
Thorsten1867 wrote:
Trond wrote:
It's not very elegant with so many different font sizes and the buttons looks very small.

What do you meen? EasySetup, Installer or Uninstaller
I'm working on a better desing of EasySetup (Panels).
In the installer, on the white pages the font is larger. On the upper panel on the grey page the font seems to be smaller. The "install" button has bold text. The checkbox for deletion of user files on uninstall has red text. The text in the dialog isn't the default font.

Thorsten1867 wrote:
Trond wrote:
And when I click to the left of the back button, C:\Programfiler\Opera 7 opens in an explorer window. :shock:

There should be the homepage, if it exists. I will correct it.
But shouldn't there be text to click or something?

Thorsten1867 wrote:
Trond wrote:
Edit: It doesn't delete the start menu entries and the desktop shortcut.

I can't reproduce it. Can you send me your "uninstall.dat"
Sure, here:[Settings]
ProgName = EasySetup
Language = deutsch.lng#7|english.lng#9|
ProgDir=C:\Programfiler\EasySetup\
ProgExe=EasySetup.exe
StartMenu=C:\Documents and Settings\Trond\Start-meny\Programmer\EasySetup\
DesktopIcon=C:\Documents and Settings\Trond\Skrivebord\EasySetup.lnk
[deutsch]
Titel = Program '$ProgName' deinstallieren
Msg = Entferne folgendes Programm von ihrem Computer:
Prog = $ProgName
DelAll = Lösche alle(!) Dateien im Verzeichnis (incl. Benutzerdateien).
Error = Deinstallation des Programmes nicht möglich.
OK = OK
Cancel = Abbrechen
Ready = Fertig
[english]
Titel = Uninstall Program '$ProgName'
Msg = Delete program from your computer:
Prog = $ProgName
DelAll = Delete all(!) files in the directory (including user files).
Error = Uninstall process not possible.
OK = OK
Cancel = Cancel
Ready = Ready
[Files]
F001 = Bitmaps\EasySetup.tga
F002 = Bitmaps\Splash.tga
F003 = EasySetup.exe
F004 = EasySetup.ini
F005 = Install.exe
F006 = Language\deutsch.ins
F007 = Language\deutsch.lng
F008 = Language\english.ins
F009 = Language\english.lng
F010 = Uninstall.exe
[Dirs]
D001 = Bitmaps\
D002 = Language\
D003 = Project\
D004 = Setup\


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jun 16, 2006 11:26 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 1262
Location: Germany
New Version 0.1.7
- EasySetup: Bug 'IconSelect window could not be closed' corrected
- Uninstaller: Bug 'Desktop icon and startmenu entries not deleted' corrected
- Installer: wrong fonttyps changed

_________________
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Jun 17, 2006 12:20 am 
Offline
Always Here
Always Here
User avatar

Joined: Sat Aug 30, 2003 5:58 pm
Posts: 5883
Location: Denmark
The shortcuts seems not to get deleted here either now.!
Other than that, it looks better :)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Jun 18, 2006 7:00 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 1262
Location: Germany
New version 0.2.0 (18.6.06):
- new design (panels)
- preview function for licence, info file and bitmap

_________________
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Jun 18, 2006 10:35 pm 
Offline
Always Here
Always Here
User avatar

Joined: Sat Aug 30, 2003 5:58 pm
Posts: 5883
Location: Denmark
Better; but the buttons at bottom isnt in english.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 337 posts ]  Go to page 1, 2, 3, 4, 5 ... 23  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 39 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye