I have an installer that uses Burn. If I rebuild the installer without changing any content and then run that installer it will install another version alongside an existing one?
Using the individual MSI installers there is no issue with upgrades. This only occurs when running the burn installer that has been rebuilt. Does anyone know why this occurs and what can be done to fix it? I have read that burn should first uninstall a current version then reinstall, but I do not see this occurring. Log from the burn installer: [2DF0:1360][2013-06-13T00:30:48]i001: Burn v3.7.1611.0, Windows v6.1 (Build 7601: Service Pack 1), path: elvsvc.exe, cmdline: '/log ib.log' [2DF0:1360][2013-06-13T00:30:48]i000: Initializing string variable 'DISPLAYVER' to value '1.0.1' [2DF0:1360][2013-06-13T00:30:48]i000: Initializing string variable 'VERSION' to value '1.0.1.1' [2DF0:1360][2013-06-13T00:30:48]i000: Setting string variable 'WixBundleLog' to value 'ib.log' [2DF0:1360][2013-06-13T00:30:48]i000: Setting string variable 'WixBundleOriginalSource' to value 'elvsvc.exe' [2DF0:1360][2013-06-13T00:30:48]i052: Condition 'VersionNT >= v5.1' evaluates to true. [2DF0:1360][2013-06-13T00:30:48]i000: Setting string variable 'WixBundleName' to value 'Test' [2DF0:1360][2013-06-13T00:30:48]i100: Detect begin, 2 packages [2DF0:1360][2013-06-13T00:30:48]i102: Detected related bundle: {8eeeb531-9a26-48f5-a1f7-d6a59e05ef06}, type: Upgrade, scope: PerMachine, version: 1.0.1.1, operation: None [2DF0:1360][2013-06-13T00:30:48]i103: Detected related package: {2F852825-CDDA-4FC4-B0D3-ABC4660BB139}, scope: PerMachine, version: 1.0.1.1, language: 0 operation: MajorUpgrade [2DF0:1360][2013-06-13T00:30:48]i101: Detected package: ElvSvc32, state: Absent, cached: None [2DF0:1360][2013-06-13T00:30:48]i101: Detected package: ElvSvc64, state: Present, cached: Complete [2DF0:1360][2013-06-13T00:30:48]i199: Detect complete, result: 0x0 [2DF0:1360][2013-06-13T00:30:55]i200: Plan begin, 2 packages, action: Install [2DF0:1360][2013-06-13T00:30:55]i052: Condition '(NOT VersionNT64)' evaluates to false. [2DF0:1360][2013-06-13T00:30:55]i052: Condition 'VersionNT64' evaluates to true. [2DF0:1360][2013-06-13T00:30:55]i201: Planned package: ElvSvc32, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2DF0:1360][2013-06-13T00:30:55]i201: Planned package: ElvSvc64, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: Register [2DF0:1360][2013-06-13T00:30:55]i207: Planned related bundle: {8eeeb531-9a26-48f5-a1f7-d6a59e05ef06}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None [2DF0:1360][2013-06-13T00:30:55]i299: Plan complete, result: 0x0 [2DF0:1360][2013-06-13T00:30:55]i300: Apply begin [2FA4:29FC][2013-06-13T00:30:58]i360: Creating a system restore point. [2FA4:29FC][2013-06-13T00:31:03]i361: Created a system restore point. [2FA4:29FC][2013-06-13T00:31:04]i000: Caching bundle from: 'C:\Users\NTWERD~1\AppData\Local\Temp\{f55ab761-afb5-4e7f-a790-0427ec346d25}\.be\bundle.exe' to: 'C:\ProgramData\Package Cache\{f55ab761-afb5-4e7f-a790-0427ec346d25}\bundle.exe' [2FA4:29FC][2013-06-13T00:31:04]i320: Registering bundle dependency provider: {f55ab761-afb5-4e7f-a790-0427ec346d25}, version: 1.0.1.1 [2FA4:29FC][2013-06-13T00:31:04]i323: Registering package dependency provider: {2F852825-CDDA-4FC4-B0D3-ABC4660BB139}, version: 1.0.1.1, package: ElvSvc64 [2FA4:29FC][2013-06-13T00:31:04]i325: Registering dependency: {f55ab761-afb5-4e7f-a790-0427ec346d25} on package provider: {2F852825-CDDA-4FC4-B0D3-ABC4660BB139}, package: ElvSvc64 [2DF0:1360][2013-06-13T00:31:04]i399: Apply complete, result: 0x0, restart: None, ba requested restart: No [2DF0:1360][2013-06-13T00:31:07]i500: Shutting down, exit code: 0x0 [2DF0:1360][2013-06-13T00:31:07]i410: Variable: DISPLAYVER = 1.0.1 [2DF0:1360][2013-06-13T00:31:07]i410: Variable: VERSION = 1.0.1.1 [2DF0:1360][2013-06-13T00:31:07]i410: Variable: VersionNT = 6.1.0.0 [2DF0:1360][2013-06-13T00:31:07]i410: Variable: VersionNT64 = 6.1.0.0 [2DF0:1360][2013-06-13T00:31:07]i410: Variable: WixBundleAction = 4 [2DF0:1360][2013-06-13T00:31:07]i410: Variable: WixBundleElevated = 1 [2DF0:1360][2013-06-13T00:31:07]i410: Variable: WixBundleInstalled = 0 [2DF0:1360][2013-06-13T00:31:07]i410: Variable: WixBundleLog = ib.log [2DF0:1360][2013-06-13T00:31:07]i410: Variable: WixBundleManufacturer = Me [2DF0:1360][2013-06-13T00:31:07]i410: Variable: WixBundleName = Test [2DF0:1360][2013-06-13T00:31:07]i410: Variable: WixBundleOriginalSource = elvsvc.exe [2DF0:1360][2013-06-13T00:31:07]i410: Variable: WixBundleProviderKey = {f55ab761-afb5-4e7f-a790-0427ec346d25} [2DF0:1360][2013-06-13T00:31:07]i410: Variable: WixBundleTag = [2DF0:1360][2013-06-13T00:31:07]i410: Variable: WixBundleVersion = 1.0.1.1 [2DF0:1360][2013-06-13T00:31:07]i007: Exit code: 0x0, restarting: No >From the log I can see that it is finding the related version, but then I see >execute: None followed by the msi running like a clean install. The bundle wxs file is: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> <?define Version=$(fileVersion.ProductVersion($(var.Exe))) ?> <?define DisplayVersion=$(fileVersion.DisplayVersion($(var.Exe))) ?> <Bundle Name="Test" Version="$(var.Version)" Manufacturer="Me" UpgradeCode="XXXX" Condition="VersionNT >= v5.1" DisableRemove="no" DisableModify="yes"> <RelatedBundle Action="Upgrade" Id="GUID for this bundle" /> <RelatedBundle Action="Upgrade" Id="GUID for the MSI" /> <Variable Name="DISPLAYVER" Type="string" Value="$(var.DisplayVersion)" /> <Variable Name="VERSION" Type="string" Value="$(var.Version)" /> <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense"> <bal:WixStandardBootstrapperApplication LicenseUrl="" SuppressOptionsUI="yes" LogoFile="$(var.InstallerCommon)\wix\bglogo.png" ThemeFile="Theme.xml" LocalizationFile="Theme.wxl" /> </BootstrapperApplicationRef> <Chain DisableRollback="yes"> <MsiPackage SourceFile="win32.msi" InstallCondition="(NOT VersionNT64)" Visible="no" Cache="yes" Id="Svc32" /> <MsiPackage SourceFile="win64.msi" InstallCondition="VersionNT64" Visible="no" Cache="yes" Id="Svc64" /> </Chain> </Bundle> </Wix> ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users