This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Start Single Setup Executable with parameters
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Dec 10, 2008
07:09 AM
Start Single Setup Executable with parameters
Hello,
we create a single setup executable with InstallShield Professional 2008, lets say it is called MySetup.exe. During the installation the user is asked for some input like DatabaseName and ServerIP.
Some of our customers would like to start the setup without filling those input everytime. They would like to run the installation someway automatic.
Is there a way to do that?
I was thinking about a command line install like
MySetup.exe -DatabaseName=db1 -ServerIP=192.168.28.98
or
MySetup.exe MySetup.ini with the ini containing all user input values.
Is there a way to do that?
Thanks for your help.
Jürgen
we create a single setup executable with InstallShield Professional 2008, lets say it is called MySetup.exe. During the installation the user is asked for some input like DatabaseName and ServerIP.
Some of our customers would like to start the setup without filling those input everytime. They would like to run the installation someway automatic.
Is there a way to do that?
I was thinking about a command line install like
MySetup.exe -DatabaseName=db1 -ServerIP=192.168.28.98
or
MySetup.exe MySetup.ini with the ini containing all user input values.
Is there a way to do that?
Thanks for your help.
Jürgen
(5) Replies
‎Dec 11, 2008
07:01 AM
DanCla wrote:
I don't know what kind of installer you are building but if you can build and msi instead, you can do the following:
msiexec /i C:\Example.msi USERNAME=Default COMPANYNAME="ABC Corp"
And if the package is wrapped into an .exe bootstrapper, the syntax is MySetup.exe /v"USERNAME=Default COMPANYNAME=\"ABC Corp\""
‎Dec 12, 2008
06:27 AM
IlkkaV wrote:
And if the package is wrapped into an .exe bootstrapper, the syntax is MySetup.exe /v"USERNAME=Default COMPANYNAME=\"ABC Corp\""
Thank you very much. Do I understand it right, that I can handover any Property that is defined in my InstallShield project with the following command line syntax?
MySetup.exe /v"PROPERTY1=text PROPERTY2=text PROPERTY3=text"
or do I need to put the text in quotes, like
MySetup.exe /v"PROPERTY1=\"text\"PROPERTY2=\"text\" PROPERTY3=\"text\""
Thank you very much. How can I find more information in google? How would call what i try to do?
BR
Jürgen
‎Dec 15, 2008
07:02 AM
If a path contains spaces, you need to use the internal quotes with the backslash. The note near the top of the following help topic shows an example:
Setup.exe and Update.exe Command-Line Parameters
Searching the Support Web site (http://kb.acresso.com) (or even the local help that is installed with InstallShield) for "Setup.exe command line" returns this help topic as a search result.
Setup.exe and Update.exe Command-Line Parameters
Searching the Support Web site (http://kb.acresso.com) (or even the local help that is installed with InstallShield) for "Setup.exe command line" returns this help topic as a search result.