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
- :
- MSI package with conditional chained items MUST install at least one ?
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 16, 2011
06:38 PM
MSI package with conditional chained items MUST install at least one ?
I ran into an issue today and didn't see anything about it in searching the forums.
I have a basic MSI x64 project with some chained MSI's, and this has worked fine in the past. Recently I added a new product configuration which is supposed to use NONE of the chained packages. Apparently this case doesn't make Windows installer happy ... I captured a log and I believe this is the relevant error:
Action 16:28:54: ISChainPackagePrepare.
Action start 16:28:54: ISChainPackagePrepare.
CustomAction ISChainPackagePrepare returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 16:28:54: ISChainPackagePrepare. Return value 3.
If I rebuild and alter the release flags to allow one of the chained packages to be included as a test, the install succeeds.
I'm hoping there is a workaround for this so I don't need to maintain duplicate copies of 2 MSI projects (32-bit and 64-bit) to handle the "do not use any chained MSI" product config/release case. Any advice would be appreciated.
Thanks.
I have a basic MSI x64 project with some chained MSI's, and this has worked fine in the past. Recently I added a new product configuration which is supposed to use NONE of the chained packages. Apparently this case doesn't make Windows installer happy ... I captured a log and I believe this is the relevant error:
Action 16:28:54: ISChainPackagePrepare.
Action start 16:28:54: ISChainPackagePrepare.
CustomAction ISChainPackagePrepare returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 16:28:54: ISChainPackagePrepare. Return value 3.
If I rebuild and alter the release flags to allow one of the chained packages to be included as a test, the install succeeds.
I'm hoping there is a workaround for this so I don't need to maintain duplicate copies of 2 MSI projects (32-bit and 64-bit) to handle the "do not use any chained MSI" product config/release case. Any advice would be appreciated.
Thanks.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 17, 2011
11:58 AM
Granted, rather than resort to duplicating the larger project, I would create a tiny dummy additional chained msi package that would effectively be invisible to the end user. Still, if there's a fix or a better workaround someone can suggest, please let me know.
Thanks.
Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 23, 2011
01:49 PM
One approach could be to conditionalize the ISChainPackagePrepare action against the appropriate ISReleaseFlags value such that it does not execute in this scenario.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 28, 2011
05:35 PM
Thanks Michael, worked like a charm.
(Note to others - there is a help file topic specifically addressing how to use this: "Conditionally Launching Custom Actions Based on Release Flags")
(Note to others - there is a help file topic specifically addressing how to use this: "Conditionally Launching Custom Actions Based on Release Flags")