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
- :
- response to custom dialog during silent install
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
‎Apr 30, 2009
07:27 PM
response to custom dialog during silent install
Hello,
I have created a response file to run an installation in silent mode. It works just fine, although there is one thing: a service I am registering during the installation has a pop-up window that allows the user to register it in the Service Control manager during the install. This is an external dialog not created in Installshield, and it still pops-up, waiting for a response ("OK"), when I run setup.exe /s. I'd prefer to supply this OK response in the .iss file so that a user doesn't have to supervise the silent install.
I gather that I can use SilentWriteData in the Installscript in such a case, which would write the appropriate response to the .iss file during setup.exe /r. Problem is, I'm not sure what parameters to supply.
Can anybody offer advice?
It would be much appreciated.
I have created a response file to run an installation in silent mode. It works just fine, although there is one thing: a service I am registering during the installation has a pop-up window that allows the user to register it in the Service Control manager during the install. This is an external dialog not created in Installshield, and it still pops-up, waiting for a response ("OK"), when I run setup.exe /s. I'd prefer to supply this OK response in the .iss file so that a user doesn't have to supervise the silent install.
I gather that I can use SilentWriteData in the Installscript in such a case, which would write the appropriate response to the .iss file during setup.exe /r. Problem is, I'm not sure what parameters to supply.
Can anybody offer advice?
It would be much appreciated.
2 Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 01, 2009
09:21 AM
SdMakeName and SilentWriteData work only with custom dialogs implemented in InstallScript. Any chance there's a command-line switch for the service to suppress the prompt?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 01, 2009
01:29 PM
Unfortunately, no, the way it's coded, it can't be suppressed. So, a slight code change is in order... 😄
Thanks for your help, Robert.
Thanks for your help, Robert.
