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

Fix BOOTSTRAPPER_REQUEST_STATE_CACHE #4393

Closed
wixbot opened this issue Apr 28, 2014 · 7 comments
Closed

Fix BOOTSTRAPPER_REQUEST_STATE_CACHE #4393

wixbot opened this issue Apr 28, 2014 · 7 comments
Assignees
Milestone

Comments

@wixbot
Copy link

wixbot commented Apr 28, 2014

Currently, when a BA requests BOOTSTRAPPER_REQUEST_STATE_CACHE the behavior depends on the package type. ExePackages and MsuPackages always convert it to BOOTSTRAPPER_ACTION_STATE_NONE. MsiPackages and MspPackages convert it to BOOTSTRAPPER_ACTION_STATE_UNINSTALL if they're present and uninstallable, otherwise they convert it to BOOTSTRAPPER_ACTION_STATE_NONE.

Install log:

[1250:0C18][2014-04-27T19:19:50]i001: Burn v3.9.421.0, Windows v6.3 (Build 9600: Service Pack 0), path: C:\Users\First\Documents\Visual Studio 2013\Projects\Bootstrapper1\Bootstrapper1\bin\Debug\Bootstrapper1.exe, cmdline: '-burn.unelevated BurnPipe.{A041C1D9-7A65-4227-AC4C-10528C8ECF7A} {CFB14E28-412E-47DB-9CAB-5CDF21B94ECC} 4040'
[1250:0C18][2014-04-27T19:19:51]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\First\AppData\Local\Temp\Bootstrapper1_20140427191951.log'
[1250:0C18][2014-04-27T19:19:51]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\First\Documents\Visual Studio 2013\Projects\Bootstrapper1\Bootstrapper1\bin\Debug\Bootstrapper1.exe'
[1250:0C18][2014-04-27T19:19:51]i000: Setting string variable 'WixBundleName' to value 'Bootstrapper1'
[1250:0C18][2014-04-27T19:19:51]i000: Loading managed bootstrapper application.
[1250:0C18][2014-04-27T19:19:51]i000: Creating BA thread to run asynchronously.
[1250:0C18][2014-04-27T19:19:51]i100: Detect begin, 1 packages
[1250:0C18][2014-04-27T19:19:51]i101: Detected package: SetupProject1.msi, state: Absent, cached: None
[1250:0C18][2014-04-27T19:19:51]i199: Detect complete, result: 0x0
[1250:0C18][2014-04-27T19:19:51]i200: Plan begin, 1 packages, action: Install
[1250:0C18][2014-04-27T19:19:51]i201: Planned package: SetupProject1.msi, state: Absent, default requested: Present, ba requested: Cache, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1250:0C18][2014-04-27T19:19:51]i299: Plan complete, result: 0x0
[1250:0C18][2014-04-27T19:19:51]i300: Apply begin
[0FC8:1298][2014-04-27T19:19:51]i360: Creating a system restore point.
[0FC8:1298][2014-04-27T19:19:51]i361: Created a system restore point.
[0FC8:1298][2014-04-27T19:19:51]i000: Caching bundle from: 'C:\Users\First\AppData\Local\Temp\{eb003183-450c-4dc0-9e38-d3d61827a362}\.be\Bootstrapper1.exe' to: 'C:\ProgramData\Package Cache\{eb003183-450c-4dc0-9e38-d3d61827a362}\Bootstrapper1.exe'
[0FC8:1298][2014-04-27T19:19:51]i320: Registering bundle dependency provider: {eb003183-450c-4dc0-9e38-d3d61827a362}, version: 1.0.0.0
[1250:0C18][2014-04-27T19:19:51]i399: Apply complete, result: 0x0, restart: None, ba requested restart:  No

Modify log:

[0EB8:0B24][2014-04-27T19:55:55]i100: Detect begin, 1 packages
[0EB8:0B24][2014-04-27T19:55:55]i101: Detected package: SetupProject1.msi, state: Present, cached: Complete
[0EB8:0B24][2014-04-27T19:55:55]i199: Detect complete, result: 0x0
[0EB8:0B24][2014-04-27T19:55:55]i200: Plan begin, 1 packages, action: Modify
[0EB8:0B24][2014-04-27T19:55:55]i000: Setting string variable 'WixBundleLog_SetupProject1.msi' to value 'C:\Users\First\AppData\Local\Temp\Bootstrapper1_20140427195555_1_SetupProject1.msi.log'
[0EB8:0B24][2014-04-27T19:55:55]i201: Planned package: SetupProject1.msi, state: Present, default requested: Present, ba requested: Cache, execute: Uninstall, rollback: None, cache: No, uncache: No, dependency: Unregister
[0EB8:0B24][2014-04-27T19:55:55]i299: Plan complete, result: 0x0
[0EB8:0B24][2014-04-27T19:55:55]i300: Apply begin
[06D0:1530][2014-04-27T19:55:55]i360: Creating a system restore point.
[06D0:1530][2014-04-27T19:55:56]i361: Created a system restore point.
[06D0:1530][2014-04-27T19:55:56]i320: Registering bundle dependency provider: {66f9ec86-de0a-4517-b0c8-53d99bf4369d}, version: 1.0.0.0
[06D0:1530][2014-04-27T19:55:56]i326: Removed dependency: {66f9ec86-de0a-4517-b0c8-53d99bf4369d} on package provider: {03A002A6-0452-4D90-AA76-9238F67DF11B}, package SetupProject1.msi
[06D0:1530][2014-04-27T19:55:56]i329: Removed package dependency provider: {03A002A6-0452-4D90-AA76-9238F67DF11B}, package: SetupProject1.msi
[06D0:1530][2014-04-27T19:55:56]i301: Applying execute package: SetupProject1.msi, action: Uninstall, path: C:\ProgramData\Package Cache\{03A002A6-0452-4D90-AA76-9238F67DF11B}v1.0.0.0\SetupProject1.msi, arguments: ' ALLUSERS="1" ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7"'
[0EB8:0B24][2014-04-27T19:55:56]i319: Applied execute package: SetupProject1.msi, result: 0x0, restart: None
[0EB8:0B24][2014-04-27T19:55:56]i399: Apply complete, result: 0x0, restart: None, ba requested restart:  No

Originally opened by rseanhall

@wixbot
Copy link
Author

wixbot commented May 1, 2014

Release changed from v4.0 to v4.x
Type changed from Feature to Bug

@wixbot
Copy link
Author

wixbot commented May 4, 2014

Apparently, the cache state was supposed to be between ABSENT and PRESENT. So if the package is not installed, CACHE should make the default execute=none and cache=Yes. If it is installed, all packages should behave like the MSI/MSP packages right now.

Originally posted by rseanhall

@wixbot
Copy link
Author

wixbot commented Jun 15, 2014

This should be fixed with the changes for issue 4432.

Originally posted by heaths
Status changed from Open to Untriaged

@wixbot
Copy link
Author

wixbot commented Jun 19, 2014

Still a problem for a BA.

Release changed from v4.x to v3.x

@wixbot
Copy link
Author

wixbot commented Mar 1, 2015

Originally changed by rseanhall
AssignedTo set to shall

@wixbot
Copy link
Author

wixbot commented Mar 1, 2015

v4.0 pull request: 99

I will wait until the v4 pull request is merged before porting back to v3.

Originally posted by rseanhall

@wixbot
Copy link
Author

wixbot commented Mar 13, 2015

v3.10 pull request: 221

Originally posted by rseanhall
Release changed from v3.x to v3.10
Resolution set to fixed
Status changed from Open to Resolved

@wixbot wixbot added this to the v3.10 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