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: Problem with Silent mode installation in IS2010
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
‎Nov 25, 2011
10:52 AM
Problem with Silent mode installation in IS2010
We are facing some strange problem with Installshield 2010. When we create the intallation setup.exe using IS 6.x (Installshield 2000), and run the installer in silent mode, it works fine. However it gives problem in case of Installshield 2010.
Also in case of IS2010, if the installation is started manually on DOS, it works. However if it is started by a windows service, it doesn't work. A returncode of "-3" is returned in the .log file.
We are running installation on Windows Server 2003 and 2008 OS.
Did anyone else also faced the same problem while running installation in silent mode in case of IS 2010 ? Could someone provide any inputs what could be the problem which we might have missed to check.
Thanks in advance for help !
Also in case of IS2010, if the installation is started manually on DOS, it works. However if it is started by a windows service, it doesn't work. A returncode of "-3" is returned in the .log file.
We are running installation on Windows Server 2003 and 2008 OS.
Did anyone else also faced the same problem while running installation in silent mode in case of IS 2010 ? Could someone provide any inputs what could be the problem which we might have missed to check.
Thanks in advance for help !
(4) Replies
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 25, 2011
09:54 PM
You can try to record new *.iss file for your target OS.
Reuslt Code: -3
Description: Required data not found in the Setup.iss file.
Reuslt Code: -3
Description: Required data not found in the Setup.iss file.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 28, 2011
03:31 AM
Thanks Kevin, will try that and would be back with results.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 04, 2011
10:48 PM
I tried by using the setup.iss created in record mode. Still the return code in silent mode is '-3'. Can it be a problem with windows service through which the installation is executed ?
Also, this works for Installshield 2000. We had migrated the code to Installshield 2010. Any pointers if anything in specific related to Installshield 2010 creating the problem ?
Also, this works for Installshield 2000. We had migrated the code to Installshield 2010. Any pointers if anything in specific related to Installshield 2010 creating the problem ?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 09, 2011
10:05 AM
You should compare the newly created iss file with your old one. IS2010 changed the internal names of some UI pages. For instance they started using a MessageBox rather than Sprintf. This change will mean that your iss files are not interchangeable between versions.
The differences are subtle however they cause a critical failure of this silent action.
Because of this, I have used a for of Inter Process Communication to handle uninstalls. I pass a token ini file with some settings to the installer and in script, I extract all the info I need. This doesn't disable the UI which means I can get any warnings or error messages displayed directly to the screen without first having to predict their occurrence in the iss file.
Due to the rigid requirements for iss files, I implemented this IPC functionality in all my projects. My incidence of errors went way down. The ipc implementation is just a bunch of string searches on the ini file for specific settings. Nothing too fancy.
The differences are subtle however they cause a critical failure of this silent action.
Because of this, I have used a for of Inter Process Communication to handle uninstalls. I pass a token ini file with some settings to the installer and in script, I extract all the info I need. This doesn't disable the UI which means I can get any warnings or error messages displayed directly to the screen without first having to predict their occurrence in the iss file.
Due to the rigid requirements for iss files, I implemented this IPC functionality in all my projects. My incidence of errors went way down. The ipc implementation is just a bunch of string searches on the ini file for specific settings. Nothing too fancy.