Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UtilExtension:ProductSearch unable to find other bundles by UpgradeCode #4550

Closed
wixbot opened this issue Oct 9, 2014 · 1 comment
Closed
Labels

Comments

@wixbot
Copy link

wixbot commented Oct 9, 2014

  1. I have an installed a bundle, Bundle A, with upgrade code "8208DC22-47A6-44BC-8124-EC24E5D8A97C". This can be verified by looking in the registry entry HKEY_LOCAL_MACHINE\SOFTWARE\Wow6423Node\Microsoft\CurrentVersion\Uninstall\BUNDLE_A_ID\BundleUpgradeCode
  2. In another bundle, Bundle B, I plan on using the product search function to detect the other package:
    <util:ProductSearch UpgradeCode="8208DC22-47A6-44BC-8124-EC24E5D8A97C" Variable="BUNDLE_A_INSTALLED" />
  3. The logs when I run the Bundle B installer indicate that the search for the product is occurring however the upgrade code is not found. Status message "Product or related product not found" appears. Logs follow.

[2698:27F0][2014-10-08T17:13:42]i001: Burn v3.9.1006.0, Windows v6.1 (Build 7601: Service Pack 1), path: C:\development\trunk\Installers\WIX\ProgramB\bin\Debug\ProgramB.exe, cmdline: '-log log.txt'
[2698:27F0][2014-10-08T17:13:42]i000: Initializing string variable 'DotNetV45' to value '378389'
[2698:27F0][2014-10-08T17:13:42]i000: Setting string variable 'WixBundleLog' to value 'C:\development\trunk\Installers\WIX\ProgramB\bin\Debug\log.txt'
[2698:27F0][2014-10-08T17:13:42]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\development\trunk\Installers\WIX\ProgramB\bin\Debug\ProgramB.exe'
[2698:27F0][2014-10-08T17:13:42]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\development\trunk\Installers\WIX\ProgramB\bin\Debug'
[2698:27F0][2014-10-08T17:13:42]i052: Condition 'VersionNT64>=v6.1 OR VersionNT>=v6.1' evaluates to true.
[2698:27F0][2014-10-08T17:13:42]i000: Setting string variable 'WixBundleName' to value 'ProgramB'
[2698:04A8][2014-10-08T17:13:42]i000: Setting version variable 'WixBundleFileVersion' to value '4.0.2.0'
[2698:27F0][2014-10-08T17:13:42]i100: Detect begin, 1 packages
[2698:27F0][2014-10-08T17:13:42]i000: Product or related product not found: {8208DC22-47A6-44BC-8124-EC24E5D8A97C}
[2698:27F0][2014-10-08T17:13:42]i000: Setting version variable 'BUNDLE_A_INSTALLED' to value '0.0.0.0'
[2698:27F0][2014-10-08T17:13:42]i000: Setting string variable 'Netfx4FullVersion' to value '378758'
[2698:27F0][2014-10-08T17:13:42]i102: Detected related bundle: {9db1e3f0-2fea-4fb7-9416-5527bf6065cb}, type: Detect, scope: PerMachine, version: 4.0.1.0, operation: None
[2698:27F0][2014-10-08T17:13:42]i101: Detected package: dotnetfx45_full_x86_x64.exe, state: Absent, cached: None
[2698:27F0][2014-10-08T17:13:42]i052: Condition 'BUNDLE_A_INSTALLED="0.0.0.0"' evaluates to true.
[2698:27F0][2014-10-08T17:13:42]i052: Condition 'NOT ((NOT WixBundleInstalled) AND (RebootPending>0))' evaluates to true.
[2698:27F0][2014-10-08T17:13:42]i199: Detect complete, result: 0x0
[2698:04A8][2014-10-08T17:13:46]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
[2698:27F0][2014-10-08T17:13:46]i200: Plan begin, 1 packages, action: Install
[2698:27F0][2014-10-08T17:13:46]i052: Condition 'NOT (Netfx4FullVersion>=DotNetV45)' evaluates to false.
[2698:27F0][2014-10-08T17:13:46]w321: Skipping dependency registration on package with no dependency providers: dotnetfx45_full_x86_x64.exe
[2698:27F0][2014-10-08T17:13:46]i201: Planned package: dotnetfx45_full_x86_x64.exe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2698:27F0][2014-10-08T17:13:46]i207: Planned related bundle: {9db1e3f0-2fea-4fb7-9416-5527bf6065cb}, type: Detect, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None
[2698:27F0][2014-10-08T17:13:46]i299: Plan complete, result: 0x0
[2698:27F0][2014-10-08T17:13:46]i300: Apply begin
[1FC0:28B8][2014-10-08T17:13:48]i360: Creating a system restore point.
[1FC0:28B8][2014-10-08T17:13:52]i361: Created a system restore point.
[1FC0:28B8][2014-10-08T17:13:52]i000: Caching bundle from: 'C:\Users\rbennett\AppData\Local\Temp{1a40f32f-4ce0-4548-a092-ace0191bd01d}.be\ProgramB.exe' to: 'C:\ProgramData\Package Cache{1a40f32f-4ce0-4548-a092-ace0191bd01d}\ProgramB.exe'
[1FC0:28B8][2014-10-08T17:13:53]i320: Registering bundle dependency provider: {1a40f32f-4ce0-4548-a092-ace0191bd01d}, version: 4.0.2.0
[2698:27F0][2014-10-08T17:13:53]i399: Apply complete, result: 0x0, restart: None, ba requested restart: No
[2698:27F0][2014-10-08T17:14:07]i500: Shutting down, exit code: 0x0
[2698:27F0][2014-10-08T17:14:07]i410: Variable: DotNetV45 = 378389
[2698:27F0][2014-10-08T17:14:07]i410: Variable: EulaAcceptCheckbox = 1
[2698:27F0][2014-10-08T17:14:07]i410: Variable: Netfx4FullVersion = 378758
[2698:27F0][2014-10-08T17:14:07]i410: Variable: RebootPending = 0
[2698:27F0][2014-10-08T17:14:07]i410: Variable: BUNDLE_A_INSTALLED = 0.0.0.0
[2698:27F0][2014-10-08T17:14:07]i410: Variable: VersionNT = 6.1.0.0
[2698:27F0][2014-10-08T17:14:07]i410: Variable: VersionNT64 = 6.1.0.0
[2698:27F0][2014-10-08T17:14:07]i410: Variable: WixBundleAction = 4
[2698:27F0][2014-10-08T17:14:07]i410: Variable: WixBundleElevated = 1
[2698:27F0][2014-10-08T17:14:07]i410: Variable: WixBundleFileVersion = 4.0.2.0
[2698:27F0][2014-10-08T17:14:07]i410: Variable: WixBundleInstalled = 0
[2698:27F0][2014-10-08T17:14:07]i410: Variable: WixBundleLog = C:\development\trunk\Installers\WIX\ProgramB\bin\Debug\log.txt
[2698:27F0][2014-10-08T17:14:07]i410: Variable: WixBundleManufacturer = Sample Corporation
[2698:27F0][2014-10-08T17:14:07]i410: Variable: WixBundleName = ProgramB
[2698:27F0][2014-10-08T17:14:07]i410: Variable: WixBundleOriginalSource = C:\development\trunk\Installers\WIX\ProgramB\bin\Debug\ProgramB.exe
[2698:27F0][2014-10-08T17:14:07]i410: Variable: WixBundleOriginalSourceFolder = C:\development\trunk\Installers\WIX\ProgramB\bin\Debug
[2698:27F0][2014-10-08T17:14:07]i410: Variable: WixBundleProviderKey = {1a40f32f-4ce0-4548-a092-ace0191bd01d}
[2698:27F0][2014-10-08T17:14:07]i410: Variable: WixBundleTag =
[2698:27F0][2014-10-08T17:14:07]i410: Variable: WixBundleVersion = 4.0.2.0
[2698:27F0][2014-10-08T17:14:07]i007: Exit code: 0x0, restarting: No

Originally opened by richard.d.bennett

@wixbot
Copy link
Author

wixbot commented Oct 9, 2014

That is expected. ProductSearch finds MSI packages (often referred to as Products in the MSI SDK). There is a feature request out there to support a BundleSearch or something.

Originally posted by robmen
Resolution set to expected
Status changed from Untriaged to Resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants