[wix-users] Bootstrapper fails after upgrading from 3.9 to 3.11
Griesshammer, Christoph (GE Healthcare)
christoph.griesshammer at ge.com
Tue Jan 2 12:47:24 PST 2018
But I'm not using those localization strings:
<?xml version="1.0" encoding="utf-8"?>
<Theme xmlns="http://wixtoolset.org/schemas/thmutil/2010">
<Window Width="500" Height="375" HexStyle="100a0000" FontId="0">#(loc.BundleDlg_Title)</Window>
<Font Id="0" Height="-12" Weight="500" Foreground="000000" Background="FFFFFF">Tahoma</Font>
<Font Id="1" Height="-24" Weight="500" Foreground="000000">Tahoma</Font>
<Font Id="2" Height="-18" Weight="600" Foreground="000000" >Tahoma</Font>
<Font Id="3" Height="-14" Weight="600" Foreground="000000">Tahoma</Font>
<Font Id="4" Height="-11" Weight="500" Foreground="000000" Background="FFFFFF" >Tahoma</Font>
<Page Name="Install">
<Image X="11" Y="11" Width="165" Height="400" ImageFile="SideBanner.bmp"/>
<Text X="185" Y="45" Width="-11" Height="70" FontId="2" DisablePrefix="yes" >#(loc.BundleWelcomeDlgTitle)</Text>
<Text X="185" Y="130" Width="-11" Height="64" FontId="4" DisablePrefix="yes">#(loc.BundleWelcomeDlgDescription)</Text>
<Static X="0" Y="-36" Height="2" Width="500"/>
<Button Name="InstallButton" X="-91" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.BundleInstallButton)</Button>
<Button Name="WelcomeCancelButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.BundleCancelButton)</Button>
</Page>
<Page Name="Modify">
<Text X="185" Y="11" Width="-11" Height="70" FontId="2" DisablePrefix="yes">#(loc.BundleDlg_Title)</Text>
<Image X="11" Y="11" Width="165" Height="400" ImageFile="SideBanner.bmp"/>
<Text X="185" Y="100" Width="-11" Height="350" FontId="4" DisablePrefix="yes">#(loc.UninstallHeader)</Text>
<Button Name="RepairButton" X="-171" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0" HideWhenDisabled="yes">#(loc.BundleRepairButton)</Button>
<Button Name="UninstallButton" X="-91" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.BundleUnInstallButton)</Button>
<Button Name="FailureCloseButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.BundleCancelButton)</Button>
</Page>
<Page Name="Progress">
<Text X="15" Y="29" Width="-75" Height="70" FontId="3" DisablePrefix="yes">#(loc.InstallingBundleTitle)</Text>
<Image X="-11" Y="11" Width="64" Height="64" ImageFile="LeftBanner.bmp"/>
<Static X="0" Y="80" Height="2" Width="500"/>
<Text X="11" Y="95" Width="-3" Height="30" FontId="4" DisablePrefix="yes">#(loc.BundleProgressHeader)</Text>
<Text X="11" Y="141" Width="70" Height="17" FontId="4" DisablePrefix="yes">#(loc.BundleProgressLabel)</Text>
<Text Name="OverallProgressPackageText" X="85" Y="141" Width="-11" Height="17" FontId="4" DisablePrefix="yes">#(loc.BundleOverallProgress)</Text>
<Progressbar Name="OverallCalculatedProgressbar" X="11" Y="163" Width="-11" Height="20" />
<Static X="0" Y="-36" Height="2" Width="500"/>
<Button Name="ProgressCancelButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.BundleCancelButton)</Button>
</Page>
<Page Name="Success">
<Text X="185" Y="11" Width="-11" Height="70" FontId="2" DisablePrefix="yes">#(loc.BundleDlg_Title)</Text>
<Image X="11" Y="11" Width="165" Height="400" ImageFile="SideBanner.bmp"/>
<Text X="185" Y="100" Width="-11" Height="50" FontId="4" DisablePrefix="yes">#(loc.BundleSuccessHeader)</Text>
<Static X="0" Y="-36" Height="2" Width="500"/>
<Button Name="SuccessCancelButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.BundleFinishButton)</Button>
</Page>
<Page Name="Failure">
<Text X="185" Y="11" Width="-11" Height="70" FontId="2" DisablePrefix="yes">#(loc.BundleDlg_Title)</Text>
<Image X="11" Y="11" Width="165" Height="400" ImageFile="SideBanner.bmp"/>
<Text X="185" Y="90" Width="-11" Height="30" FontId="3" DisablePrefix="yes">#(loc.BundleFailureHeader)</Text>
<Hypertext Name="FailureLogFileLink" X="185" Y="121" Width="-11" Height="80" FontId="4" TabStop="yes" HideWhenDisabled="yes">#(loc.BundleFailureHyperlinkLogText)</Hypertext>
<Hypertext Name="FailureMessageText" X="185" Y="-100" Width="-11" Height="80" FontId="4" TabStop="yes" HideWhenDisabled="yes" />
<Static X="0" Y="-36" Height="2" Width="500"/>
<Button Name="FailureCloseButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.BundleCloseButton)</Button>
</Page>
</Theme>
-----Original Message-----
From: Hoover, Jacob [mailto:Jacob.Hoover at greenheck.com]
Sent: Tuesday, January 02, 2018 3:40 PM
To: Griesshammer, Christoph (GE Healthcare) <christoph.griesshammer at ge.com>; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: EXT: RE: Bootstrapper fails after upgrading from 3.9 to 3.11
My guess is it's the 3.9 to 3.10 change that is getting you... Not certain which you need:
// For v3.9->v3.10 transition, duplicate new-to-v3.10 strings.
// Do not merge to WiX v4.0.
LOC_STRING* pLocString = NULL;
hr = LocGetString(m_pWixLoc, L"#(loc.SuccessInstallHeader)", &pLocString);
if (E_NOTFOUND == hr)
{
// Duplicate strings, best-effort only.
if (SUCCEEDED(LocGetString(m_pWixLoc, L"#(loc.SuccessHeader)", &pLocString)))
{
hr = LocAddString(m_pWixLoc, L"SuccessInstallHeader", pLocString->wzText, pLocString->bOverridable);
ExitOnFailure(hr, "Failed to duplicate localization string for SuccessInstallHeader.");
hr = LocAddString(m_pWixLoc, L"SuccessRepairHeader", pLocString->wzText, pLocString->bOverridable);
ExitOnFailure(hr, "Failed to duplicate localization string for SuccessRepairHeader.");
hr = LocAddString(m_pWixLoc, L"SuccessUninstallHeader", pLocString->wzText, pLocString->bOverridable);
ExitOnFailure(hr, "Failed to duplicate localization string for SuccessUninstallHeader.");
}
if (SUCCEEDED(LocGetString(m_pWixLoc, L"#(loc.FailureHeader)", &pLocString)))
{
hr = LocAddString(m_pWixLoc, L"FailureInstallHeader", pLocString->wzText, pLocString->bOverridable);
ExitOnFailure(hr, "Failed to duplicate localization string for FailureInstallHeader.");
hr = LocAddString(m_pWixLoc, L"FailureRepairHeader", pLocString->wzText, pLocString->bOverridable);
ExitOnFailure(hr, "Failed to duplicate localization string for FailureRepairHeader.");
hr = LocAddString(m_pWixLoc, L"FailureUninstallHeader", pLocString->wzText, pLocString->bOverridable);
ExitOnFailure(hr, "Failed to duplicate localization string for FailureUninstallHeader.");
}
}
-----Original Message-----
From: Griesshammer, Christoph (GE Healthcare) [mailto:christoph.griesshammer at ge.com]
Sent: Tuesday, January 2, 2018 2:34 PM
To: Hoover, Jacob <Jacob.Hoover at greenheck.com>; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: RE: Bootstrapper fails after upgrading from 3.9 to 3.11
Do I need every element? I was under the impression if I changed my theme file I wouldn't need all the localization elements?
-----Original Message-----
From: Hoover, Jacob [mailto:Jacob.Hoover at greenheck.com]
Sent: Tuesday, January 02, 2018 3:30 PM
To: Griesshammer, Christoph (GE Healthcare) <christoph.griesshammer at ge.com>; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: EXT: RE: Bootstrapper fails after upgrading from 3.9 to 3.11
Missing elements... I would diff between your WXL and the one on Github, and add any new elements that you lack.
-----Original Message-----
From: Griesshammer, Christoph (GE Healthcare) [mailto:christoph.griesshammer at ge.com]
Sent: Tuesday, January 2, 2018 2:27 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>; Hoover, Jacob <Jacob.Hoover at greenheck.com>
Subject: RE: Bootstrapper fails after upgrading from 3.9 to 3.11
OK slowly getting somewhere.... If I remove my localization file, but keep my theme file, it works all of a sudden. Any idea why that is?
<?xml version="1.0" encoding="UTF-8"?>
<WixLocalization Culture="en-US" Codepage="1252" xmlns="http://schemas.microsoft.com/wix/2006/localization">
<!-- Override WiX text. -->
<String Id="ExitDialogTitle">{\WixUI_Font_Bigger}Completed the [ProductName] Setup Wizard</String>
<String Id="ExitDialogDescription">Click the Finish button to exit the [ProductName] build [PRODUCT_FULL_VERSION] Setup Wizard.</String>
<String Id="PrepareDlgTitle">{\WixUI_Font_Bigger}Welcome to the [ProductName] Setup Wizard</String>
<String Id="PrepareDlgDescription">Please wait while the [ProductName] build [PRODUCT_FULL_VERSION] Setup Wizard prepares to install.</String>
<String Id="WelcomeDlgTitle">{\WixUI_Font_Bigger}Welcome to the [ProductName] Setup Wizard</String>
<String Id="MaintenanceWelcomeDlgTitle">{\WixUI_Font_Bigger}Welcome to the [ProductName] Setup Wizard</String>
<String Id="MaintenanceWelcomeDlgDescription">The Setup Wizard allows you to repair or remove the installation of [ProductName] build [PRODUCT_FULL_VERSION] on your computer. Click Next to continue or Cancel to exit the Setup Wizard.</String>
<String Id="MaintenanceTypeDlgTitle">{\WixUI_Font_Title}Repair or remove installation</String>
<!-- For these, the title will show the product name with version, and the descriptions will display the product name with version and the build. -->
<String Id="FatalErrorTitle">{\WixUI_Font_Bigger}[ProductName] Setup Wizard ended prematurely</String>
<String Id="FatalErrorDescription1">[ProductName] build [PRODUCT_FULL_VERSION] Setup Wizard ended prematurely because of an error. Your system has not been modified. To install this program at a later time, run Setup Wizard again.</String>
<String Id="UserExitTitle">{\WixUI_Font_Bigger}[ProductName] Setup Wizard was interrupted</String>
<String Id="UserExitDescription1">[ProductName] build [PRODUCT_FULL_VERSION] setup was interrupted. Your system has not been modified. To install this program at a later time, please run the installation again.</String>
<!-- Override WiX text so it says "Installing", "Install", and "install" when installing. -->
<String Id="WelcomeDlgDescription">The Setup Wizard will [INSTALL_ACTION_TEXT_LC] [ProductName] build [PRODUCT_FULL_VERSION] on your computer. Click Next to continue or Cancel to exit the Setup Wizard.</String>
<String Id="VerifyReadyDlgInstallTitle">{\WixUI_Font_Title}Ready to [INSTALL_ACTION_TEXT_LC] [ProductName]</String>
<String Id="VerifyReadyDlgInstallText">Click [INSTALL_ACTION_TEXT_UC] to begin the installation. Click Back to review or change any of your installation settings. Click Cancel to exit the wizard.</String>
<String Id="VerifyReadyDlgInstall">&[INSTALL_ACTION_TEXT_UC]</String>
<String Id="VerifyReadyDlgRepairText">Click Repair to repair [ProductName] build [PRODUCT_FULL_VERSION] on your computer. Click Back to select a different maintenace operation. Click Cancel to exit the wizard.</String>
<String Id="VerifyReadyDlgRemoveText">Click Remove to remove [ProductName] build [PRODUCT_FULL_VERSION] from your computer. Click Back to select a different maintenace operation. Click Cancel to exit the wizard.</String>
<String Id="ProgressDlgTitleInstalling">{\WixUI_Font_Title}[INSTALLING_ACTION_TEXT] [ProductName]</String>
<String Id="ProgressDlgTextInstalling">Please wait while the Setup Wizard [INSTALL_ACTION_TEXT_LC]s [ProductName] build [PRODUCT_FULL_VERSION].</String>
<String Id="ProgressDlgTitleRepairing">{\WixUI_Font_Title}Repairing [ProductName]</String>
<String Id="ProgressDlgTextRepairing">Please wait while the Setup Wizard repairs [ProductName] build [PRODUCT_FULL_VERSION].</String>
<String Id="ProgressDlgTitleRemoving">{\WixUI_Font_Title}Removing [ProductName]</String>
<String Id="ProgressDlgTextRemoving">Please wait while the Setup Wizard removes [ProductName] build [PRODUCT_FULL_VERSION].</String>
<String Id="MaintenanceTypeDlgRepairText">Repairs the installation of [ProductName] build [PRODUCT_FULL_VERSION].</String>
<String Id="MaintenanceTypeDlgRepairDisabledText">[ProductName] build [PRODUCT_FULL_VERSION] cannot be repaired.</String>
<String Id="MaintenanceTypeDlgRemoveText">Removes the installation of [ProductName] build [PRODUCT_FULL_VERSION].</String>
<String Id="MaintenanceTypeDlgRemoveDisabledText">[ProductName] build [PRODUCT_FULL_VERSION] cannot be removed.</String>
<String Id="WarningDlgTitle">Installer Information</String>
<!-- Text for bundles (.exe). -->
<String Id="BundleDlg_Title" Overridable="yes">[WixBundleName] Setup</String>
<String Id="BundleWelcomeDlgTitle" Overridable="yes">Welcome to the [WixBundleName] Setup Wizard</String>
<String Id="BundleWelcomeDlgDescription" Overridable="yes">The Setup Wizard will install [WixBundleName] build [PRODUCT_FULL_VERSION] on your computer. Click Install to continue or Cancel to exit the Setup Wizard.</String>
<String Id="BundleInstallButton" Overridable="yes">Install</String>
<String Id="BundleUnInstallButton" Overridable="yes">Uninstall</String>
<String Id="BundleRepairButton" Overridable="yes">Repair</String>
<String Id="BundleCloseButton" Overridable="yes">Close</String>
<String Id="BundleFinishButton" Overridable="yes">Finish</String>
<String Id="BundleCancelButton" Overridable="yes">Cancel</String>
<String Id="BundleProgressLabel" Overridable="yes">Status:</String>
<String Id="BundleProgressHeader" Overridable="yes">Please wait while the setup wizard configures [WixBundleName] build [PRODUCT_FULL_VERSION].</String>
<String Id="BundleOverallProgress" Overridable="yes">Initializing...</String>
<String Id="BundleFailureHeader" Overridable="yes">Setup Failed</String>
<String Id="ConfirmCancelMessage" Overridable="yes">Are you sure you want to cancel?</String>
<String Id="BundleFailureHyperlinkLogText" Overridable="yes">One or more issues caused the setup to fail. Please fix the issues and then retry setup. For more information see the <a href="#">log file</a>.</String>
<String Id="BundleSuccessHeader" Overridable="yes">Setup of [WixBundleName] build [PRODUCT_FULL_VERSION] completed successfully. Click Finish to exit setup.</String>
<String Id="InstallingBundleTitle" Overridable="yes">Configuring [WixBundleName]</String>
<String Id="UninstallHeader" Overridable="yes">Click Uninstall or Repair to maintain the installation of [WixBundleName] build [PRODUCT_FULL_VERSION].</String> </WixLocalization>
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Griesshammer, Christoph (GE Healthcare) via wix-users
Sent: Tuesday, January 02, 2018 3:16 PM
To: Hoover, Jacob <Jacob.Hoover at greenheck.com>; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Griesshammer, Christoph (GE Healthcare) <christoph.griesshammer at ge.com>
Subject: EXT: Re: [wix-users] Bootstrapper fails after upgrading from 3.9 to 3.11
WixStdBA and the Util extension.
-----Original Message-----
From: Hoover, Jacob [mailto:Jacob.Hoover at greenheck.com]
Sent: Tuesday, January 02, 2018 2:34 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Griesshammer, Christoph (GE Healthcare) <christoph.griesshammer at ge.com>
Subject: EXT: RE: Bootstrapper fails after upgrading from 3.9 to 3.11
winerror.h 0x80070490
#define ERROR_NOT_FOUND
Element not found.
Are you using WixStdBA or a custom BA? Any extensions?
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Griesshammer, Christoph (GE Healthcare) via wix-users
Sent: Tuesday, January 2, 2018 1:05 PM
To: wix-users at lists.wixtoolset.org
Cc: Griesshammer, Christoph (GE Healthcare) <christoph.griesshammer at ge.com>
Subject: [wix-users] Bootstrapper fails after upgrading from 3.9 to 3.11
We are upgrading our build servers to WiX 3.11 and we have a solution that is building fine, but when we run it, nothing pops up, it just exists and the log has the following.
I have done some researching, but the only relevant information I found was this thread: http://lists.wixtoolset.org/pipermail/wix-users-wixtoolset.org/2016-March/001639.html
That thread didn't really help me, though.
Any ideas? Thank you so much.
[0E2C:0E0C][2018-01-02T12:44:20]i001: Burn v3.11.0.1701, Windows v6.3 (Build 9600: Service Pack 0), path: C:\Users\ADMINI~1\AppData\Local\Temp\2\{C5FE6A54-EAEC-490C-9991-666088E819EB}\.cr\MyInstaller.exe
[0E2C:0E0C][2018-01-02T12:44:21]i000: Initializing string variable 'SOME_VARIABLE_1' to value 'NO'
[0E2C:0E0C][2018-01-02T12:44:21]i000: Initializing string variable 'SOME_VARIABLE_2' to value 'YES'
[0E2C:0E0C][2018-01-02T12:44:21]i000: Initializing string variable 'SOME_VARIABLE_3' to value '6.0.0.1'
[0E2C:0E0C][2018-01-02T12:44:21]i000: Initializing numeric variable 'SOME_VARIABLE_4' to value '0'
[0E2C:0E0C][2018-01-02T12:44:21]i009: Command Line: '-burn.clean.room=C:\temp\MyInstaller.exe -burn.filehandle.attached=300 -burn.filehandle.self=308 /silent /log C:\test.log'
[0E2C:0E0C][2018-01-02T12:44:21]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\temp\MyInstaller.exe'
[0E2C:0E0C][2018-01-02T12:44:21]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\temp\'
[0E2C:0E0C][2018-01-02T12:44:21]i000: Setting string variable 'WixBundleLog' to value 'C:\test.log'
[0E2C:0E0C][2018-01-02T12:44:21]i000: Setting string variable 'WixBundleName' to value 'Our Product Name'
[0E2C:0E0C][2018-01-02T12:44:21]i000: Setting string variable 'WixBundleManufacturer' to value 'GE Healthcare'
[0E2C:0888][2018-01-02T12:44:21]e000: Error 0x80070490: Failed to initialize data in bootstrapper application.
[0E2C:0E0C][2018-01-02T12:44:21]i500: Shutting down, exit code: 0x490
[0E2C:0E0C][2018-01-02T12:44:21]i410: Variable: SOME_VARIABLE_4 = 0
[0E2C:0E0C][2018-01-02T12:44:21]i410: Variable: SOME_VARIABLE_1 = YES
[0E2C:0E0C][2018-01-02T12:44:21]i410: Variable: SOME_VARIABLE_2 = NO
[0E2C:0E0C][2018-01-02T12:44:21]i410: Variable: SOME_VARIABLE_3 = 6.0.0.1
[0E2C:0E0C][2018-01-02T12:44:21]i410: Variable: WixBundleAction = 5
[0E2C:0E0C][2018-01-02T12:44:21]i410: Variable: WixBundleElevated = 1
[0E2C:0E0C][2018-01-02T12:44:21]i410: Variable: WixBundleInstalled = 0
[0E2C:0E0C][2018-01-02T12:44:21]i410: Variable: WixBundleLog = C:\test.log
[0E2C:0E0C][2018-01-02T12:44:21]i410: Variable: WixBundleManufacturer = GE Healthcare
[0E2C:0E0C][2018-01-02T12:44:21]i410: Variable: WixBundleName = Our Product Name
[0E2C:0E0C][2018-01-02T12:44:21]i410: Variable: WixBundleOriginalSource = C:\temp\MyInstaller.exe
[0E2C:0E0C][2018-01-02T12:44:21]i410: Variable: WixBundleOriginalSourceFolder = C:\temp\
[0E2C:0E0C][2018-01-02T12:44:21]i410: Variable: WixBundleProviderKey = {ea5b9027-ccc6-439d-92e0-b57f83fadffb}
[0E2C:0E0C][2018-01-02T12:44:21]i410: Variable: WixBundleSourceProcessFolder = C:\temp\
[0E2C:0E0C][2018-01-02T12:44:21]i410: Variable: WixBundleSourceProcessPath = C:\temp\MyInstaller.exe
[0E2C:0E0C][2018-01-02T12:44:21]i410: Variable: WixBundleTag =
[0E2C:0E0C][2018-01-02T12:44:21]i410: Variable: WixBundleUILevel = 2
[0E2C:0E0C][2018-01-02T12:44:21]i410: Variable: WixBundleVersion = 6.0.0.1
[0E2C:0E0C][2018-01-02T12:44:21]i007: Exit code: 0x490, restarting: No
Christoph Griesshammer
Senior Software Engineer
GE Healthcare Digital
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list