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

Burn overwrites logs when retrying an MSI file #4828

Closed
wixbot opened this issue Jul 21, 2015 · 1 comment · Fixed by wixtoolset/wix#26
Closed

Burn overwrites logs when retrying an MSI file #4828

wixbot opened this issue Jul 21, 2015 · 1 comment · Fixed by wixtoolset/wix#26
Assignees
Milestone

Comments

@wixbot
Copy link

wixbot commented Jul 21, 2015

Burn overwrites the existing log files when retrying to install an MSI file.

Example burn log

1: [1100:123C][2015-07-18T01:17:19]i301: Applying execute package: COMPANY.PRODUCT.Setup, action: Install, path:   C:\ProgramData\Package Cache\{6330960D-AEE9-44F0-97CA-4416A86EE987}v3.0.5.1\COMPANY PRODUCT Setup.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" INSTALLFOLDER="C:\Program Files (x86)\COMPANY\COMPANY PRODUCT\" REMOVESERVICESETTINGS="0" REMOVEUSERSETTINGS="0" REMOVEPRIVATEKEY="1"'
2: [1100:123C][2015-07-18T01:17:34]e000: Error 0x80070643: Failed to install MSI package.
3: [1100:123C][2015-07-18T01:17:34]e000: Error 0x80070643: Failed to execute MSI package.
4: [0F30:0844][2015-07-18T01:17:34]e000: Error 0x80070643: Failed to configure per-machine MSI package.
5: [0F30:0844][2015-07-18T01:17:34]w348: Application requested retry of package: COMPANY.PRODUCT.Setup, encountered error: 0x80070643. Retrying...
6: [1100:123C][2015-07-18T01:17:37]i301: Applying execute package: COMPANY.PRODUCT.Setup, action: Install, path: C:\ProgramData\Package Cache\{6330960D-AEE9-44F0-97CA-4416A86EE987}v3.0.5.1\COMPANY PRODUCT Setup.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" INSTALLFOLDER="C:\Program Files (x86)\COMPANY\COMPANY PRODUCT\" REMOVESERVICESETTINGS="0" REMOVEUSERSETTINGS="0"'
7: [1100:123C][2015-07-18T01:17:37]e000: Error 0x80070641: Failed to install MSI package.

In the above log, when the first retry occurs (line 6) it will overwrite the MSI log from the first attempt (line 1), thus potentially losing any important information from the first attempt.

Two potential solutions are:

  1. Burn should append to the existing MSI log files when retrying, rather than truncating them.
  2. Burn should append an identifier, e.g. _retry_# to the log filename for each retry attempt.

Originally opened by shannonc

@wixbot
Copy link
Author

wixbot commented Aug 4, 2015

Burn should append

Release set to v3.x
Type changed from Bug to Feature

@wixbot wixbot added this to the v3.x milestone Dec 20, 2015
@rseanhall rseanhall self-assigned this Jul 6, 2021
@rseanhall rseanhall modified the milestones: v3.x, v4.0 Jul 6, 2021
@rseanhall rseanhall added this to To do in wix.4.0-preview.1 via automation Jul 6, 2021
wix.4.0-preview.1 automation moved this from To do to Done Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants