cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
cbarlow
Level 7

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
Labels (1)
0 Kudos
(2) Replies
cbarlow
Level 7

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.
0 Kudos
Dan_Galender
Level 10

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".
0 Kudos