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 doesn't decrypt encrypted payloads after moving/copying to the package cache #4459

Closed
wixbot opened this issue Jun 28, 2014 · 3 comments
Assignees
Milestone

Comments

@wixbot
Copy link

wixbot commented Jun 28, 2014

Steps to reproduce:

  1. Create a folder, and enable encryption on it. (Properties -> Advanced -> Encrypt contents to secure data)
  2. Compile a bundle with an uncompressed per-machine MSI.
  3. Copy them into the folder. They should have automatically been encrypted (green in Explorer).
  4. Install the bundle.

Expected:

The bundle installs successfully.

Actual:

The installation of the MSI fails with 0x8007006e.
Burn log:

[0FE0:0820][2014-06-27T19:27:44]i300: Apply begin
[00C0:07E4][2014-06-27T19:27:46]i000: Caching bundle from: 'C:\Users\first\AppData\Local\Temp\{485fa73a-daf1-4a7b-8ec8-b8bde71dd041}\.be\StdBABundle.exe' to: 'C:\ProgramData\Package Cache\{485fa73a-daf1-4a7b-8ec8-b8bde71dd041}\StdBABundle.exe'
[00C0:07E4][2014-06-27T19:27:46]i320: Registering bundle dependency provider: {485fa73a-daf1-4a7b-8ec8-b8bde71dd041}, version: 1.0.0.0
[0FE0:0638][2014-06-27T19:27:46]i338: Acquiring package: StdBAMSI.msi, payload: StdBAMSI.msi, copy from: C:\Users\first\Desktop\efsfolder\StdBAMSI.msi
[0FE0:0638][2014-06-27T19:27:46]i000: Setting string variable 'WixBundleLastUsedSource' to value 'C:\Users\first\Desktop\efsfolder\'
[00C0:0568][2014-06-27T19:27:46]i305: Verified acquired payload: StdBAMSI.msi at path: C:\ProgramData\Package Cache\.unverified\StdBAMSI.msi, moving to: C:\ProgramData\Package Cache\{E5E400FD-A346-4917-9C26-21A8BBA30E9D}v1.0.0.0\StdBAMSI.msi.
[00C0:07E4][2014-06-27T19:27:46]i323: Registering package dependency provider: {E5E400FD-A346-4917-9C26-21A8BBA30E9D}, version: 1.0.0.0, package: StdBAMSI.msi
[00C0:07E4][2014-06-27T19:27:46]i301: Applying execute package: StdBAMSI.msi, action: Install, path: C:\ProgramData\Package Cache\{E5E400FD-A346-4917-9C26-21A8BBA30E9D}v1.0.0.0\StdBAMSI.msi, arguments: ' MSIFASTINSTALL="7"'
[00C0:07E4][2014-06-27T19:27:50]e000: Error 0x8007006e: Failed to install MSI package.
[00C0:07E4][2014-06-27T19:27:50]e000: Error 0x8007006e: Failed to execute MSI package.
[0FE0:0820][2014-06-27T19:27:50]e000: Error 0x8007006e: Failed to configure per-machine MSI package.
[0FE0:0820][2014-06-27T19:27:50]i319: Applied execute package: StdBAMSI.msi, result: 0x8007006e, restart: None
[0FE0:0820][2014-06-27T19:27:50]e000: Error 0x8007006e: Failed to execute MSI package.
[00C0:07E4][2014-06-27T19:27:50]i318: Skipped rollback of package: StdBAMSI.msi, action: Uninstall, already: Absent
[0FE0:0820][2014-06-27T19:27:50]i319: Applied rollback package: StdBAMSI.msi, result: 0x0, restart: None
[00C0:07E4][2014-06-27T19:27:50]i329: Removed package dependency provider: {E5E400FD-A346-4917-9C26-21A8BBA30E9D}, package: StdBAMSI.msi
[00C0:07E4][2014-06-27T19:27:50]i351: Removing cached package: StdBAMSI.msi, from path: C:\ProgramData\Package Cache\{E5E400FD-A346-4917-9C26-21A8BBA30E9D}v1.0.0.0\
[00C0:07E4][2014-06-27T19:27:50]i330: Removed bundle dependency provider: {485fa73a-daf1-4a7b-8ec8-b8bde71dd041}
[00C0:07E4][2014-06-27T19:27:50]i352: Removing cached bundle: {485fa73a-daf1-4a7b-8ec8-b8bde71dd041}, from path: C:\ProgramData\Package Cache\{485fa73a-daf1-4a7b-8ec8-b8bde71dd041}\
[0FE0:0820][2014-06-27T19:27:50]i399: Apply complete, result: 0x8007006e, restart: None, ba requested restart:  No

MSI log:

    === Verbose logging started: 6/27/2014  19:27:46  Build type: SHIP UNICODE 5.00.7600.00  Calling process: C:\Users\first\AppData\Local\Temp\{485fa73a-daf1-4a7b-8ec8-b8bde71dd041}\.be\StdBABundle.exe ===
MSI (c) (C0:0C) [19:27:46:660]: Resetting cached policy values
MSI (c) (C0:0C) [19:27:46:660]: Machine policy value 'Debug' is 0
MSI (c) (C0:0C) [19:27:46:660]: ******* RunEngine:
           ******* Product: C:\ProgramData\Package Cache\{E5E400FD-A346-4917-9C26-21A8BBA30E9D}v1.0.0.0\StdBAMSI.msi
           ******* Action: 
           ******* CommandLine: **********
MSI (c) (C0:0C) [19:27:46:660]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (C0:0C) [19:27:46:660]: Grabbed execution mutex.
MSI (c) (C0:0C) [19:27:46:665]: Cloaking enabled.
MSI (c) (C0:0C) [19:27:46:665]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (C0:0C) [19:27:46:674]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (A4:1C) [19:27:46:679]: Running installation inside multi-package transaction C:\ProgramData\Package Cache\{E5E400FD-A346-4917-9C26-21A8BBA30E9D}v1.0.0.0\StdBAMSI.msi
MSI (s) (A4:1C) [19:27:46:679]: Grabbed execution mutex.
MSI (s) (A4:C4) [19:27:46:681]: Resetting cached policy values
MSI (s) (A4:C4) [19:27:46:681]: Machine policy value 'Debug' is 0
MSI (s) (A4:C4) [19:27:46:681]: ******* RunEngine:
           ******* Product: C:\ProgramData\Package Cache\{E5E400FD-A346-4917-9C26-21A8BBA30E9D}v1.0.0.0\StdBAMSI.msi
           ******* Action: 
           ******* CommandLine: **********
MSI (s) (A4:C4) [19:27:46:682]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (A4:C4) [19:27:46:685]: SRSetRestorePoint skipped for this transaction.
MSI (s) (A4:C4) [19:27:46:685]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3: 2 
MSI (s) (A4:C4) [19:27:46:688]: Note: 1: 1309 2: 5 3: C:\ProgramData\Package Cache\{E5E400FD-A346-4917-9C26-21A8BBA30E9D}v1.0.0.0\StdBAMSI.msi 
MSI (s) (A4:C4) [19:27:49:704]: Note: 1: 1309 2: 5 3: C:\ProgramData\Package Cache\{E5E400FD-A346-4917-9C26-21A8BBA30E9D}v1.0.0.0\StdBAMSI.msi 
The system cannot open the device or file specified.
MSI (s) (A4:C4) [19:27:50:591]: MainEngineThread is returning 110
MSI (s) (A4:1C) [19:27:50:591]: No System Restore sequence number for this installation.
The system cannot open the device or file specified.
MSI (s) (A4:1C) [19:27:50:592]: User policy value 'DisableRollback' is 0
MSI (s) (A4:1C) [19:27:50:592]: Machine policy value 'DisableRollback' is 0
MSI (s) (A4:1C) [19:27:50:592]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (A4:1C) [19:27:50:592]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
MSI (s) (A4:1C) [19:27:50:594]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
MSI (s) (A4:1C) [19:27:50:594]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2 
MSI (s) (A4:1C) [19:27:50:595]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2 
MSI (s) (A4:1C) [19:27:50:595]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (s) (A4:1C) [19:27:50:595]: Restoring environment variables
MSI (c) (C0:0C) [19:27:50:596]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (C0:0C) [19:27:50:596]: MainEngineThread is returning 110
=== Verbose logging stopped: 6/27/2014  19:27:50 ===

Originally opened by rseanhall

@wixbot
Copy link
Author

wixbot commented Jun 28, 2014

Pull request at wixtoolset/wix3#93

Originally posted by rseanhall

@wixbot
Copy link
Author

wixbot commented Jun 28, 2014

Originally changed by barnson
Release changed from v3.x to v3.9
Resolution set to fixed

@wixbot
Copy link
Author

wixbot commented Jul 10, 2014

Status changed from Untriaged to Resolved

@wixbot wixbot added this to the v3.9 milestone Dec 20, 2015
@wixbot wixbot closed this as completed Dec 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants