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
- :
- Silent install
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Jun 03, 2008
09:35 AM
Silent install
I used installshield 2008 to create an installer. which is working fine. then in order to create a silent installer for the installer i ran the setup.exe file from cmd prompt to generate a response file (setup.iss), which i copied to the same folder as the setup.exe files.
Now. i am tryign to run the silent install from cmd prompt using setup.exe /s, but it is not working, it does not even invoke the installer and exits.
Any clue on what i could be missing.
Now. i am tryign to run the silent install from cmd prompt using setup.exe /s, but it is not working, it does not even invoke the installer and exits.
Any clue on what i could be missing.
(6) Replies
‎Jun 03, 2008
02:32 PM
try running your setup.exe with a /? you might need to use /Q
‎Jun 05, 2008
08:19 AM
Ok, I maganed to get the silent install running but there is another problem.
my installer has two options.
Option 1. Where the user enters new data.
Option 2. Where is uses the dafault setting.
Option 1 works fine when installing silently.
However, when I run option 1, my silent installer exits with an error:
"-3 Required data not found in the Setup.iss file."
I compared the setup files for the two cases, they are same ofcourse except for the data for dialogs that are not included in case of default settings.
I also checked my code to see if i am reading and writing data of silent mode properly in this dialog. I am not sure what else could be missing.
my installer has two options.
Option 1. Where the user enters new data.
Option 2. Where is uses the dafault setting.
Option 1 works fine when installing silently.
However, when I run option 1, my silent installer exits with an error:
"-3 Required data not found in the Setup.iss file."
I compared the setup files for the two cases, they are same ofcourse except for the data for dialogs that are not included in case of default settings.
I also checked my code to see if i am reading and writing data of silent mode properly in this dialog. I am not sure what else could be missing.
‎Jun 05, 2008
02:24 PM
If you create the response file using option 2 does the install fail when doing it silently? I might be missing something but the error you are getting suggests the data the user selects/enters isn't getting in the response file. Did you check the response you created using option 1 and is the data you entered in the file? If so you might have to use the combination of
If mode=silentmode then
SilentReadData
Remember you will need a response file for each of the options you are giving your users.
If mode=silentmode then
SilentReadData
Remember you will need a response file for each of the options you are giving your users.
‎Jun 05, 2008
02:27 PM
Chalk this one up to user error. The user being me. I had this if statement in place to skip the license wizard question.
if !(MODE=RECORDMODE) then
However in silent mode the yes no question would come up which would cause the installer to fail. The if-then statement I need was
if (!(MODE=RECORDMODE) && !(MODE=SILENTMODE)) then
if !(MODE=RECORDMODE) then
However in silent mode the yes no question would come up which would cause the installer to fail. The if-then statement I need was
if (!(MODE=RECORDMODE) && !(MODE=SILENTMODE)) then
‎Jun 05, 2008
02:35 PM
Yes, I compared both the response files created. They seem to be right. It only includes the right values for the dialogs that are traversed in case of Option 2 install. Also I checked the mode and the values I am writing, it is correct.