[wix-users] Wix bundle failed to upgrade

Jackie Xu jackie.xu at teradyne.com
Wed Nov 30 00:27:21 PST 2022


Hi Edwin,

I uploaded the logs to GitHub, here is it:
https://github.com/xuxiushi888/Wix-logs

Many thanks for your help.


Best Regards,

Jackie Xu
Teradyne HeFei | ADC
Office: +86-551-63803346

From: Edwin Castro <egcastr at gmail.com>
Sent: Wednesday, November 30, 2022 10:52 AM
To: Jackie Xu <jackie.xu at teradyne.com>
Cc: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>; wix-users <wix-users-bounces at lists.wixtoolset.org>
Subject: Re: [wix-users] Wix bundle failed to upgrade

CAUTION - EXTERNAL EMAIL: Do not open attachments or links unless you recognize the sender and the content is safe.

> One more comment, after the upgrade failure, I run the bundle again, now it can install successfully.
> So when upgrade the first time, it successfully uninstall the previous version but failed to install.
> So when run again, it worked as a brand new installation since the previous version already removed.

I'm not following your comment.

Can you upload all the installer logs to pastebin or similar? Please include all the logs for the initial install, the first upgrade failure, and the second successful upgrade.

--
Edwin G. Castro

On Tue, Nov 29, 2022 at 6:47 PM Jackie Xu <jackie.xu at teradyne.com<mailto:jackie.xu at teradyne.com>> wrote:

Thanks, I will check it.

One more comment, after the upgrade failure, I run the bundle again, now it can install successfully. So when upgrade the first time, it successfully uninstall the previous version but failed to install. So when run again, it worked as a brand new installation since the previous version already removed.



Best Regards,

Jackie Xu
Teradyne HeFei | ADC
Office: +86-551-63803346

From: Edwin Castro <egcastr at gmail.com<mailto:egcastr at gmail.com>>
Sent: Wednesday, November 30, 2022 10:45 AM
To: Jackie Xu <jackie.xu at teradyne.com<mailto:jackie.xu at teradyne.com>>
Cc: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>; wix-users <wix-users-bounces at lists.wixtoolset.org<mailto:wix-users-bounces at lists.wixtoolset.org>>
Subject: Re: [wix-users] Wix bundle failed to upgrade

CAUTION - EXTERNAL EMAIL: Do not open attachments or links unless you recognize the sender and the content is safe.
MSI (s) (5C:9C) [08:37:24:416]: Note: 1: 2203 2: C:\ProgramData\Package Cache\{EE1C9582-FA55-4E05-9E08-036385B32255}v4.1.8426\OasisSetup.msi 3: -2147287037

Note 2203 is Database: [2]. Cannot open database file. System error [3].

REF: https://errorco.de/msi/2203/ [errorco.de]<https://urldefense.com/v3/__https:/errorco.de/msi/2203/__;!!GenOTVeOfQ!QfH8T7Olb5RYYloGxpPJum2Ey8eU3_422Y5QF8cG2MguyZgvdPOc7eAq3p2pr3mKcFneJhlNxkiPwsC_Pw$>

System error -2147287037 is STG_E_PATHNOTFOUND

REF: https://errorco.de/win32/winerror-h/stg_e_pathnotfound/-2147287037/ [errorco.de]<https://urldefense.com/v3/__https:/errorco.de/win32/winerror-h/stg_e_pathnotfound/-2147287037/__;!!GenOTVeOfQ!QfH8T7Olb5RYYloGxpPJum2Ey8eU3_422Y5QF8cG2MguyZgvdPOc7eAq3p2pr3mKcFneJhlNxkimM_LcFw$>

This seems to indicate C:\ProgramData\Package Cache\{EE1C9582-FA55-4E05-9E08-036385B32255}v4.1.8426\OasisSetup.msi does not exist.

Your best bet is probably to use ProcMon to determine why OasisSetup.msi is disappearing.

REF: https://learn.microsoft.com/en-us/sysinternals/downloads/procmon [learn.microsoft.com]<https://urldefense.com/v3/__https:/learn.microsoft.com/en-us/sysinternals/downloads/procmon__;!!GenOTVeOfQ!QfH8T7Olb5RYYloGxpPJum2Ey8eU3_422Y5QF8cG2MguyZgvdPOc7eAq3p2pr3mKcFneJhlNxkg9jBJSHA$>

--
Edwin G. Castro


On Tue, Nov 29, 2022 at 6:05 PM Jackie Xu <jackie.xu at teradyne.com<mailto:jackie.xu at teradyne.com>> wrote:
Hi Edwin,

Thanks for your reply, below is the log from msi when bundle upgrade failed. (Please ignore the version number mismatch ):
=== Verbose logging started: 10/20/2022  8:37:24  Build type: SHIP UNICODE 5.00.10011.00  Calling process: C:\WINDOWS\Temp\{4BBC1BC9-2704-494C-BC6A-6AA36DD1957B}\.be\OasisSetup_4.1.8426_BETA.exe ===
MSI (c) (48:E4) [08:37:24:373]: Resetting cached policy values
MSI (c) (48:E4) [08:37:24:373]: Machine policy value 'Debug' is 0
MSI (c) (48:E4) [08:37:24:373]: ******* RunEngine:
           ******* Product: C:\ProgramData\Package Cache\{EE1C9582-FA55-4E05-9E08-036385B32255}v4.1.8426\OasisSetup.msi
           ******* Action:
           ******* CommandLine: **********
MSI (c) (48:E4) [08:37:24:375]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (48:E4) [08:37:24:375]: Grabbed execution mutex.
MSI (c) (48:E4) [08:37:24:394]: Cloaking enabled.
MSI (c) (48:E4) [08:37:24:394]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (48:E4) [08:37:24:394]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (5C:34) [08:37:24:414]: Running installation inside multi-package transaction C:\ProgramData\Package Cache\{EE1C9582-FA55-4E05-9E08-036385B32255}v4.1.8426\OasisSetup.msi
MSI (s) (5C:34) [08:37:24:414]: Grabbed execution mutex.
MSI (s) (5C:9C) [08:37:24:416]: Resetting cached policy values
MSI (s) (5C:9C) [08:37:24:416]: Machine policy value 'Debug' is 0
MSI (s) (5C:9C) [08:37:24:416]: ******* RunEngine:
           ******* Product: C:\ProgramData\Package Cache\{EE1C9582-FA55-4E05-9E08-036385B32255}v4.1.8426\OasisSetup.msi
           ******* Action:
           ******* CommandLine: **********
MSI (s) (5C:9C) [08:37:24:416]: Note: 1: 2203 2: C:\ProgramData\Package Cache\{EE1C9582-FA55-4E05-9E08-036385B32255}v4.1.8426\OasisSetup.msi 3: -2147287037
MSI (s) (5C:9C) [08:37:24:416]: MainEngineThread is returning 3
MSI (s) (5C:34) [08:37:24:418]: User policy value 'DisableRollback' is 0
MSI (s) (5C:34) [08:37:24:418]: Machine policy value 'DisableRollback' is 0
MSI (s) (5C:34) [08:37:24:418]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (5C:34) [08:37:24:418]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (5C:34) [08:37:24:419]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (5C:34) [08:37:24:420]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (48:E4) [08:37:24:421]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (48:E4) [08:37:24:421]: MainEngineThread is returning 3
=== Verbose logging stopped: 10/20/2022  8:37:24 ===


Best Regards,

Jackie Xu
Teradyne HeFei | ADC
Office: +86-551-63803346

From: Edwin Castro <egcastr at gmail.com<mailto:egcastr at gmail.com>>
Sent: Wednesday, November 30, 2022 9:54 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Cc: wix-users <wix-users-bounces at lists.wixtoolset.org<mailto:wix-users-bounces at lists.wixtoolset.org>>; Jackie Xu <jackie.xu at teradyne.com<mailto:jackie.xu at teradyne.com>>
Subject: Re: [wix-users] Wix bundle failed to upgrade

CAUTION - EXTERNAL EMAIL: Do not open attachments or links unless you recognize the sender and the content is safe.
What does the log for the upgrade of OasisSetup.msi say?

--
Edwin G. Castro

On Tue, Nov 29, 2022 at 5:31 PM Jackie Xu via wix-users <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>> wrote:
Hi Experts,

I am facing an issue that I failed to upgrade my bundle installer on some machines (On most machines, it worked fine).
My bundle contains 3 installers, 2 msi installers and one EXE installer.
When install a newer version I got an error pop-up said, "The Specified Account already exists".
After clicking OK, and a few moments later, it shows "0x80070003 - The system cannot find the path specified."

Here is the log:
[1408:0F00][2022-09-29T10:51:37]i301: Applying execute package: OasisSetup.msi, action: Install, path: C:\ProgramData\Package Cache\{3FDC0824-4867-40DE-A1F0-390AA8575AC4}v4.1.8352\OasisSetup.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7"'
[1408:0F00][2022-09-29T10:51:48]e000: Error 0x80070643: Failed to install MSI package.
[1408:0F00][2022-09-29T10:51:48]e000: Error 0x80070643: Failed to execute MSI package.
[2D58:5174][2022-09-29T10:51:48]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[2D58:5174][2022-09-29T10:51:48]i319: Applied execute package: OasisSetup.msi, result: 0x80070643, restart: None
[2D58:5174][2022-09-29T10:51:48]e000: Error 0x80070643: Failed to execute MSI package.

I tried to remove the OasisSetup.msi from the bundle, then the bundle can upgrade correctly, but when I install the OasisSetup.msi separately and upgrade it with a new MSI, it also worked fine. So I just suspect somehow the msi failed to upgrade in a bundle, but can upgrade alone.

Any suggestions would be appreciated, this really bugs me for a long time.

________________________________

Please note that this message may contain confidential information. If you have received this message by mistake, please inform the sender of the mistake, then delete the message from your system without making, distributing or retaining any copies of it. Although we believe that the message and any attachments are free from viruses and other errors that might affect the computer or IT system where it is received and read, the recipient opens the message at his or her own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this message. When we process personal data relating to physical persons, such processing will meet the requirements of applicable data protection legislation and will be in accordance with our Privacy Policy.<https://www.teradyne.com/privacy-statement>

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/ [firegiant.com]<https://urldefense.com/v3/__http:/www.firegiant.com/__;!!GenOTVeOfQ!WneStD5AgygaFBs5F4b17p2sBNOmfG48c19GXqiWt6U0eZhMbkBxJqB56VFUyW1l2qItNEXbibs_yowiFQ$>
________________________________

Please note that this message may contain confidential information. If you have received this message by mistake, please inform the sender of the mistake, then delete the message from your system without making, distributing or retaining any copies of it. Although we believe that the message and any attachments are free from viruses and other errors that might affect the computer or IT system where it is received and read, the recipient opens the message at his or her own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this message. When we process personal data relating to physical persons, such processing will meet the requirements of applicable data protection legislation and will be in accordance with our Privacy Policy.<https://www.teradyne.com/privacy-statement>

________________________________

Please note that this message may contain confidential information. If you have received this message by mistake, please inform the sender of the mistake, then delete the message from your system without making, distributing or retaining any copies of it. Although we believe that the message and any attachments are free from viruses and other errors that might affect the computer or IT system where it is received and read, the recipient opens the message at his or her own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this message. When we process personal data relating to physical persons, such processing will meet the requirements of applicable data protection legislation and will be in accordance with our Privacy Policy.<https://www.teradyne.com/privacy-statement>

________________________________

Please note that this message may contain confidential information. If you have received this message by mistake, please inform the sender of the mistake, then delete the message from your system without making, distributing or retaining any copies of it. Although we believe that the message and any attachments are free from viruses and other errors that might affect the computer or IT system where it is received and read, the recipient opens the message at his or her own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this message. When we process personal data relating to physical persons, such processing will meet the requirements of applicable data protection legislation and will be in accordance with our Privacy Policy.<https://www.teradyne.com/privacy-statement>


More information about the wix-users mailing list