PB EasySetup - Setup maker for your program
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
- Thorsten1867
- Addict
- Posts: 1372
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
By default the installer checks the process list for the program name (e.g. EasySetup.exe). If your program has a mutex you can use it instead (You should use a GUID instead of "QuickSnap". Perhaps a program with the same name exists).netmaestro wrote:It must already by default look for a mutex of the program name, does it? Because the first time I ran the setup it told me to close the running program first and I hadn't input any mutex. QuickSnap has a mutex called "QuickSnap" so I guess I didn't have to do anything? Is that right?
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1372
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
New Version 0.5.5
- Bugfix installer: licence and readme editable (now readonly)
- Installer size reduced (-5KB)
- EasySetup and the installer can now be started only one time
- Bugfix installer: licence and readme editable (now readonly)
- Installer size reduced (-5KB)
- EasySetup and the installer can now be started only one time
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1372
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
It's not a bug. You've only input the URL for the installer, but no URL for the StartMenu internet link. (Tasks -> StartMenu Shortcuts -> Setup )GeoTrail wrote:But when I click the link in the program group to launch my website, all I get is this error message:
http:///
Application not found
You can use %Homepage% if it's the same URL.
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1372
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
New Version 0.5.6
Possibility to start a program before opening the installer window.
If the program returns #True as ExitCode EasySetup will be closed without installing.
(User Tasks - Install Files - Path Variable: *BeforeSetup*)
Possibility to start a program before opening the installer window.
If the program returns #True as ExitCode EasySetup will be closed without installing.
(User Tasks - Install Files - Path Variable: *BeforeSetup*)
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1372
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
New Version 0.5.7
Commandline modus (e.g. for batch files)
- Parameter 1: project name (e.g. 'EasySetup.esp')
- Parameter 2: program version (e.g. '0.5.6') or '/Q' (=> Input Requester)
Commandline modus (e.g. for batch files)
- Parameter 1: project name (e.g. 'EasySetup.esp')
- Parameter 2: program version (e.g. '0.5.6') or '/Q' (=> Input Requester)
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1372
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
New Version 0.5.8
- Language files (installer) 'French' (Vladi) and 'Norwegian' (GeoTrail & utopiomania) added
- Changes in the language file structure (joining installer & uninstaller)
- Language files (installer) 'French' (Vladi) and 'Norwegian' (GeoTrail & utopiomania) added
- Changes in the language file structure (joining installer & uninstaller)
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1372
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
New Version 0.5.9
1. New category "Start Program" in the userdefined task:
- before installation (close installer if ExitCode 1)
- while installation (automatically closed)
- after installation
2. English manual updated
1. New category "Start Program" in the userdefined task:
- before installation (close installer if ExitCode 1)
- while installation (automatically closed)
- after installation
2. English manual updated
Last edited by Thorsten1867 on Sun Oct 15, 2006 8:37 pm, edited 2 times in total.
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1372
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
New Version 0.6.0
1. Additional programs (incl. sources) added (...\InstProgs\):
- CheckPC.exe (check hardware and OS version)
- PlayMusic.exe (play music during installation)
- CallURL.exe (call internet link after installation)
2. New path variable %SetupDir% (User task: Install File)
- copy an additional file in the temporary setup directory (e.g. *.ini for 'Start Program')
3. Manual updated
1. Additional programs (incl. sources) added (...\InstProgs\):
- CheckPC.exe (check hardware and OS version)
- PlayMusic.exe (play music during installation)
- CallURL.exe (call internet link after installation)
2. New path variable %SetupDir% (User task: Install File)
- copy an additional file in the temporary setup directory (e.g. *.ini for 'Start Program')
3. Manual updated
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Hi Thorsten,
Your program gets better and better. Lots of interesting options!
Found some minor bugs:
-------------------------------
1. When installing EasySetup the title of the language selector does not fit.
[edit/ picture obsolete]
2. When canceling this window by clicking on the cross, EasySetup ignores this and continues with the setup process.
3. When doing so, something is probably not loaded because EasySetup fails to to fill some variables.
[edit/ picture obsolete]
Your program gets better and better. Lots of interesting options!
Found some minor bugs:
-------------------------------
1. When installing EasySetup the title of the language selector does not fit.
[edit/ picture obsolete]
2. When canceling this window by clicking on the cross, EasySetup ignores this and continues with the setup process.
3. When doing so, something is probably not loaded because EasySetup fails to to fill some variables.
[edit/ picture obsolete]
Last edited by Character on Fri Oct 27, 2006 9:14 am, edited 1 time in total.
Cessante causa cessat effectus
- Thorsten1867
- Addict
- Posts: 1372
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Thanks! Found a bug in the automatic language selection, too.
Now the language selection window shouldn't longer appear if the language is availible.
Uploaded Version 0.6.0b with the bugfixes.
Now the language selection window shouldn't longer appear if the language is availible.
Uploaded Version 0.6.0b with the bugfixes.
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1372
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
That should be no problem. EasySetup needs no registry entries and works without them. The only thing you must do is to remove the old obsolete language files (spanish.*/dutch.*)
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1372
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
New Version 0.6.2
- Some smaller changes
- Redesign of the panel 'Tasks'
- New option: 'Create setup without uninstaller'
- New option: Disable 'Delete all' - option (uninstall)
- Some smaller changes
- Redesign of the panel 'Tasks'
- New option: 'Create setup without uninstaller'
- New option: Disable 'Delete all' - option (uninstall)
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
When I use the /Q mode, the info and the licence files are switch vice versa, in online mode it works correctly.
In the Project Saving area there is some garbage, I always have two files with the same name in the recent files list. It's nasty that you can't just say "Save" (w/o Save dialog) and that the Save dialog proposes a different file name than the current one, it's nasty that the pgm forces me to have the pgm file in the project directory (I'd like to put it into my own project directory with the other stuff). Maybe you can rework this a little bit.
And maybe you could make the windows and gadgets a little bit larger, some of the texts get cut off, at least on installations with high resolution screens.
In the Project Saving area there is some garbage, I always have two files with the same name in the recent files list. It's nasty that you can't just say "Save" (w/o Save dialog) and that the Save dialog proposes a different file name than the current one, it's nasty that the pgm forces me to have the pgm file in the project directory (I'd like to put it into my own project directory with the other stuff). Maybe you can rework this a little bit.
And maybe you could make the windows and gadgets a little bit larger, some of the texts get cut off, at least on installations with high resolution screens.