[wix-users] InstallCondition during Upgrade
Hoover, Jacob
Jacob.Hoover at greenheck.com
Thu Jun 16 13:26:23 PDT 2016
DetectCondition. Because if it's already installed it won't get installed again, by default.
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Stephen Downard
Sent: Thursday, June 16, 2016 3:25 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] InstallCondition during Upgrade
If InstallConditions evaluate to true during an Upgrade and the package state is Present, why then do the packages NOT get installed? The value for "execute" is "None". Shouldn't the InstallCondition enable the installation? How can I inform the engine to set the package state to "install"?
The log file:
Plan begin, 4 packages, action: Install
[0B5C:0B60][2016-06-16T15:40:56]i052: Condition '(NOT ProdCheck1) OR (NOT ProdCheck2) OR (ProdCheck4UpgradeInstall=1)' evaluates to true.
[0B5C:0B60][2016-06-16T15:40:56]w321: Skipping dependency registration on package with no dependency providers: ProdCheck4Install
[0B5C:0B60][2016-06-16T15:40:56]i052: Condition '(NOT ProdCheck2) OR (ProdCheck2UpgradeInstall=1)' evaluates to true.
[0B5C:0B60][2016-06-16T15:40:56]w321: Skipping dependency registration on package with no dependency providers: ProdCheck2Install
[0B5C:0B60][2016-06-16T15:40:56]i052: Condition '(NOT ProdCheck1) OR (ProdCheck1UpgradeInstall=1)' evaluates to true.
[0B5C:0B60][2016-06-16T15:40:56]w321: Skipping dependency registration on package with no dependency providers: ProdCheck1Install
[0B5C:0B60][2016-06-16T15:40:56]i000: Setting string variable 'WixBundleRollbackLog_PayPointMsi' to value 'C:\Users\inst_tst\AppData\Local\Temp\MyInstall_20160616154029_000_PayPointMsi_rollback.log'
[0B5C:0B60][2016-06-16T15:40:56]i000: Setting string variable 'WixBundleLog_MyInstall' to value 'C:\Users\inst_tst\AppData\Local\Temp\MyInstall_20160616154029_000_Product3.log'
[0B5C:0B60][2016-06-16T15:40:56]i201: Planned package: ProdCheck4Install, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0B5C:0B60][2016-06-16T15:40:56]i201: Planned package: ProdCheck2Install, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0B5C:0B60][2016-06-16T15:40:56]i201: Planned package: ProdCheck1Install, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0B5C:0B60][2016-06-16T15:40:56]i201: Planned package: MyInstall, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[0B5C:0B60][2016-06-16T15:40:56]i207: Planned related bundle: {f37a7373-4d62-450a-8f69-294dafe82ec0}, type: Upgrade, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, dependency: None
[0B5C:0B60][2016-06-16T15:40:56]i299: Plan complete, result: 0x0
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list