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
- :
- Chained MSI with Release Flags does not work
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 09, 2010
03:31 PM
Chained MSI with Release Flags does not work
I have Basic MSI installation. This project includes 2 MSIs as chained packages. And I use Release Flags to incllude\exclude them. Everything works fine when at least one package included. But main product installation fails when both chained packages are not included as specified by Release Flags. Apparently failure occurs in ISChainPackagePrepare custom action.
Here's a piece of installer log with error:
Action start 15:24:08: RemoveExistingProducts.
Action ended 15:24:08: RemoveExistingProducts. Return value 1.
MSI (s) (5C:F8) [15:24:08:250]: Doing action: ISChainPackagePrepare
Action 15:24:08: ISChainPackagePrepare.
Action start 15:24:08: ISChainPackagePrepare.
MSI (s) (5C:A0) [15:24:08:250]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSIF66.tmp, Entrypoint: ISChainPackages
MSI (s) (5C:34) [15:24:08:250]: Generating random cookie.
MSI (s) (5C:34) [15:24:08:265]: Created Custom Action Server with PID 6860 (0x1ACC).
MSI (s) (5C:70) [15:24:08:281]: Running as a service.
MSI (s) (5C:70) [15:24:08:281]: Hello, I'm your 32bit Impersonated custom action server.
MSI (s) (5C!3C) [15:24:08:296]: Note: 1: 2205 2: 3: ISChainPackage
MSI (s) (5C!3C) [15:24:08:296]: Note: 1: 2228 2: 3: ISChainPackage 4: SELECT * FROM `ISChainPackage` ORDER BY `Order`
Action ended 15:24:08: ISChainPackagePrepare. Return value 3.
Action ended 15:24:08: INSTALL. Return value 3.
MSI (s) (5C:F8) [15:24:08:296]: MainEngineThread is returning 1603
MSI (s) (5C:20) [15:24:08:296]: No System Restore sequence number for this installation.
MSI (s) (5C:20) [15:24:08:312]: User policy value 'DisableRollback' is 0
MSI (s) (5C:20) [15:24:08:312]: Machine policy value 'DisableRollback' is 0
MSI (s) (5C:20) [15:24:08:312]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (5C:20) [15:24:08:312]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (5C:20) [15:24:08:312]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (5C:20) [15:24:08:312]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
MSI (s) (5C:20) [15:24:08:312]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
MSI (s) (5C:20) [15:24:08:312]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (5C:20) [15:24:08:312]: Restoring environment variables
MSI (s) (5C:20) [15:24:08:312]: Destroying RemoteAPI object.
MSI (s) (5C:34) [15:24:08:312]: Custom Action Manager thread ending.
MSI (c) (E4:E8) [15:24:08:312]: Back from server. Return value: 1603
MSI (c) (E4:E8) [15:24:08:312]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (E4:E8) [15:24:08:312]: PROPERTY CHANGE: Deleting SECONDSEQUENCE property. Its current value is '1'.
Action ended 15:24:08: ExecuteAction. Return value 3.
MSI (c) (E4:E8) [15:24:08:312]: Doing action: SetupCompleteError
Action 15:24:08: SetupCompleteError.
Action start 15:24:08: SetupCompleteError.
Action 15:24:08: SetupCompleteError. Dialog created
Here's a piece of installer log with error:
Action start 15:24:08: RemoveExistingProducts.
Action ended 15:24:08: RemoveExistingProducts. Return value 1.
MSI (s) (5C:F8) [15:24:08:250]: Doing action: ISChainPackagePrepare
Action 15:24:08: ISChainPackagePrepare.
Action start 15:24:08: ISChainPackagePrepare.
MSI (s) (5C:A0) [15:24:08:250]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSIF66.tmp, Entrypoint: ISChainPackages
MSI (s) (5C:34) [15:24:08:250]: Generating random cookie.
MSI (s) (5C:34) [15:24:08:265]: Created Custom Action Server with PID 6860 (0x1ACC).
MSI (s) (5C:70) [15:24:08:281]: Running as a service.
MSI (s) (5C:70) [15:24:08:281]: Hello, I'm your 32bit Impersonated custom action server.
MSI (s) (5C!3C) [15:24:08:296]: Note: 1: 2205 2: 3: ISChainPackage
MSI (s) (5C!3C) [15:24:08:296]: Note: 1: 2228 2: 3: ISChainPackage 4: SELECT * FROM `ISChainPackage` ORDER BY `Order`
Action ended 15:24:08: ISChainPackagePrepare. Return value 3.
Action ended 15:24:08: INSTALL. Return value 3.
MSI (s) (5C:F8) [15:24:08:296]: MainEngineThread is returning 1603
MSI (s) (5C:20) [15:24:08:296]: No System Restore sequence number for this installation.
MSI (s) (5C:20) [15:24:08:312]: User policy value 'DisableRollback' is 0
MSI (s) (5C:20) [15:24:08:312]: Machine policy value 'DisableRollback' is 0
MSI (s) (5C:20) [15:24:08:312]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (5C:20) [15:24:08:312]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (5C:20) [15:24:08:312]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (5C:20) [15:24:08:312]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
MSI (s) (5C:20) [15:24:08:312]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
MSI (s) (5C:20) [15:24:08:312]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (5C:20) [15:24:08:312]: Restoring environment variables
MSI (s) (5C:20) [15:24:08:312]: Destroying RemoteAPI object.
MSI (s) (5C:34) [15:24:08:312]: Custom Action Manager thread ending.
MSI (c) (E4:E8) [15:24:08:312]: Back from server. Return value: 1603
MSI (c) (E4:E8) [15:24:08:312]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (E4:E8) [15:24:08:312]: PROPERTY CHANGE: Deleting SECONDSEQUENCE property. Its current value is '1'.
Action ended 15:24:08: ExecuteAction. Return value 3.
MSI (c) (E4:E8) [15:24:08:312]: Doing action: SetupCompleteError
Action 15:24:08: SetupCompleteError.
Action start 15:24:08: SetupCompleteError.
Action 15:24:08: SetupCompleteError. Dialog created
(3) Replies
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 12, 2010
03:53 PM
Is there anyone who knows workaround or fix for this issue?:confused:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 13, 2010
11:54 AM
If nothing else, you can change the condition on the ISChainPackagePrepare custom action. Right click the root of the Custom Actions and Sequences view, and select to show it. Then specify some of your release flags as part of a comparison against the ISReleaseFlags property. The help topic "Conditionally Launching Custom Actions Based on Release Flags" has more information on this part.
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 13, 2010
12:49 PM
Thanks, Michael. This is good enough workaround for now. I'd like to know if you plan to fix this in next release or service pack?