PureBasic setup with commandline options

Everything else that doesn't fall into one of the other PB categories.
User avatar
helpy
Enthusiast
Enthusiast
Posts: 552
Joined: Sat Jun 28, 2003 12:01 am

PureBasic setup with commandline options

Post 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
Windows 10 / Windows 7
PB Last Final / Last Beta Testing
Fred
Administrator
Administrator
Posts: 18553
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic setup with commandline options

Post by Fred »

PB uses innosetup, so may be you can give it a try to that:

http://www.jrsoftware.org/ishelp/index. ... tupcmdline
User avatar
skywalk
Addict
Addict
Posts: 4318
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PureBasic setup with commandline options

Post 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.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Fred
Administrator
Administrator
Posts: 18553
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic setup with commandline options

Post by Fred »

It shouldn't have a .prefs in the installation package.
User avatar
skywalk
Addict
Addict
Posts: 4318
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PureBasic setup with commandline options

Post by skywalk »

Ah, they are created on 1st use of the IDE if none exists?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Fred
Administrator
Administrator
Posts: 18553
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic setup with commandline options

Post by Fred »

yes
User avatar
helpy
Enthusiast
Enthusiast
Posts: 552
Joined: Sat Jun 28, 2003 12:01 am

Re: PureBasic setup with commandline options

Post by helpy »

Fred wrote:PB uses innosetup, so may be you can give it a try to that:

http://www.jrsoftware.org/ishelp/index. ... tupcmdline
Thank you! I will make some tests!
Windows 10 / Windows 7
PB Last Final / Last Beta Testing
User avatar
helpy
Enthusiast
Enthusiast
Posts: 552
Joined: Sat Jun 28, 2003 12:01 am

Re: PureBasic setup with commandline options

Post 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
Windows 10 / Windows 7
PB Last Final / Last Beta Testing
Post Reply