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
- :
- Re: Silent install with response file terminating early
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 04, 2009
04:44 PM
Silent install with response file terminating early
I have a custom dialog in my InstallScript project and I added code to handle silent installs. I can create a response file fine, but when I try to run in silent mode using the response file, the install stops early. The log file makes it to the line "Lang=0009" and then stops. If the next line should mimic the response file, this means the line referring to the Dialog Order ([{f713B2Af-...}-DlgOrder]) would be next, but it's not getting written. Any ideas?
Thanks!
Clark
Thanks!
Clark
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 04, 2009
06:32 PM
The problem was that SilentReadData was checking if "Result = 1" but that line didn't exist. Not sure how this line is supposed to get written from a custom dialog, but I hard coded it in and the silent install runs fine now.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 05, 2009
12:28 AM
In addition to the dialog box content values you write to the .iss file, you also need to add the Result (and value) [the value of the Next or Back button that the user clicked] to the SilentWriteData and SilentReadData calls to make your custom dialog box code fully "silent install aware".