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 installing more features than in the response file
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
‎Jun 10, 2008
07:43 AM
Silent install installing more features than in the response file
I have an Installscript MSI Project that has 9 features and several sub-features. When recording a response file, the appropriate feature selections are listed in the setup.iss. But when running the silent installation (setup.exe -s), there are several additional features installed, even though they are not in the response file.
Has anyone seen this before? I verified the install levels are different for each feature and there are no components that are in common with each feature, nor are there any associated features in common.
Thanks in advance for your help.
Has anyone seen this before? I verified the install levels are different for each feature and there are no components that are in common with each feature, nor are there any associated features in common.
Thanks in advance for your help.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 10, 2008
10:42 AM
This has been a long standing issue with InstallScript MSI projects that was originally submitted under work order 1-BCTRA. This work order has been resolved with InstallShield 2009.
The issue is caused by the added complexity incurred in InstallScript MSI projects of maintaining feature states for both the InstallScript engine and MSI engine and ensuring those selections are valid. In a silent install case, this is being handled incorrectly and the response file information is effectively ignored.
One possible work around for this issue is to read the feature selections from the .iss file when running silently and use the FeatureSelectItem function to select/deselect features as needed. This could be done in the OnFirstUIBefore event before the status dialog is enabled.
The issue is caused by the added complexity incurred in InstallScript MSI projects of maintaining feature states for both the InstallScript engine and MSI engine and ensuring those selections are valid. In a silent install case, this is being handled incorrectly and the response file information is effectively ignored.
One possible work around for this issue is to read the feature selections from the .iss file when running silently and use the FeatureSelectItem function to select/deselect features as needed. This could be done in the OnFirstUIBefore event before the status dialog is enabled.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 11, 2008
03:52 PM
Thank you much! The problem has indeed been fixed in 2009 🙂
And thank you for the mention of using "FeatureSelectItem", that fixed the problem of sub-features being selected in the sdFeatureTree dialog box.
And thank you for the mention of using "FeatureSelectItem", that fixed the problem of sub-features being selected in the sdFeatureTree dialog box.