Page 1 of 1
PureBasic setup with commandline options
Posted: Fri Mar 01, 2013 9:16 am
by helpy
Hello Fred,
Does the PureBasic setup have commandline options?
I want to install the Windows-Version (x86/x64 and german/english) with the following options:
- installation directory
- german or english help
- no desktop symbol
- no start menu entry
- do not start purebasic after setup
thank you,
guido
Re: PureBasic setup with commandline options
Posted: Fri Mar 01, 2013 10:47 am
by Fred
PB uses innosetup, so may be you can give it a try to that:
http://www.jrsoftware.org/ishelp/index. ... tupcmdline
Re: PureBasic setup with commandline options
Posted: Fri Mar 01, 2013 6:00 pm
by skywalk
Good to know.
Could I use one of these cmds to overwrite the preferences files?
Example:
Is there a cmdline option to force PureBasic_Windows_5.11_beta_1_x64_(xxxxxx).exe to use my c:\pb\prefs\PureBasic.prefs instead of what is packed in setup.exe?
Now I have to copy my prefs(PureBasic, Templates, Tools) to the install directory after installation.
Re: PureBasic setup with commandline options
Posted: Fri Mar 01, 2013 6:17 pm
by Fred
It shouldn't have a .prefs in the installation package.
Re: PureBasic setup with commandline options
Posted: Fri Mar 01, 2013 6:28 pm
by skywalk
Ah, they are created on 1st use of the IDE if none exists?
Re: PureBasic setup with commandline options
Posted: Fri Mar 01, 2013 6:39 pm
by Fred
yes
Re: PureBasic setup with commandline options
Posted: Sun Mar 03, 2013 7:49 pm
by helpy
Thank you! I will make some tests!
Re: PureBasic setup with commandline options
Posted: Mon Mar 04, 2013 6:16 pm
by helpy
Thank you,
it worked for me.
Now I can use a batch file to extend my development environment.
The batch file installs x86 and x64 in different directories with version number:
- .\x86\5.11.b1
- .\x64\5.11.b1
Also a subdirectory "Help" is created and PureBasic.en.chm and PureBasic.de.chm is copied to this directory.
cu,
guido