I agree seems like the engine should be doing what you expect.

_______________________________________________________________
 FireGiant  |  Dedicated support for the WiX toolset  |  
http://www.firegiant.com/

-----Original Message-----
From: Tobias Weigt [mailto:t.we...@datam.de] 
Sent: Friday, February 14, 2014 9:56 AM
To: WiX Users
Subject: [WiX-users] Burn PlanPackageBegin RequestState

It seems I have no clue about what the RequestState.Cache value does.
I hoped to uninstall a package (but keep it cached) by setting its RequestState 
to Cache in the PlanPackageBegin event of my BA but it had no effect. See 
appended log.

What are the uses of RequestState.Cache (and RequestState.ForceAbsent) ?
When does it do what?

Greetings Tobias

> 
> [4738:473C][2014-02-14T18:03:44]i001: Burn v3.8.1128.0, Windows v5.2 (Build 
> 3790: Service Pack 2), path: E:\MultiInstanceTest\Bootstrapper1.exe, cmdline: 
> ''
> [4738:473C][2014-02-14T18:03:44]i000: Initializing string variable 
> 'SetupProject1InstallFolder' to value '[ProgramFilesFolder]SetupProject1'
> [4738:473C][2014-02-14T18:03:44]i000: Setting string variable 'WixBundleLog' 
> to value 'C:\DOCUME~1\tobias\LOCALS~1\Temp\Bootstrapper1_20140214180344.log'
> [4738:473C][2014-02-14T18:03:44]i000: Setting string variable 
> 'WixBundleOriginalSource' to value 'E:\MultiInstanceTest\Bootstrapper1.exe'
> [4738:473C][2014-02-14T18:03:44]i000: Loading managed bootstrapper 
> application.
> [4738:473C][2014-02-14T18:03:47]i000: Creating BA thread to run 
> asynchronously.
> [4738:4768][2014-02-14T18:03:47]i000: Launching DataMBootApp UX
> [4738:473C][2014-02-14T18:03:48]i100: Detect begin, 2 packages
> [4738:473C][2014-02-14T18:03:48]i052: Condition 'WixBundleInstalled' 
> evaluates to true.
> [4738:473C][2014-02-14T18:03:48]i101: Detected package: pkgSetupProject1, 
> state: Absent, cached: Complete
> [4738:473C][2014-02-14T18:03:48]i101: Detected package: pkgStartProcess, 
> state: Present, cached: Complete
> [4738:473C][2014-02-14T18:03:48]i199: Detect complete, result: 0x0
> [4738:4768][2014-02-14T18:03:55]i000: Setting string variable 
> 'StartProcessCommand' to value '{60ED93F0-A9C9-400F-8E42-E42393FC9C8B}'
> [4738:4768][2014-02-14T18:03:55]i000: Setting numeric variable 
> 'EnableStartProcess' to value 1
> [4738:473C][2014-02-14T18:03:55]i200: Plan begin, 2 packages, action: Modify
> [4738:473C][2014-02-14T18:03:55]i052: Condition '1' evaluates to true.
> [4738:473C][2014-02-14T18:03:55]w321: Skipping dependency registration on 
> package with no dependency providers: pkgStartProcess
> [4738:473C][2014-02-14T18:03:55]i201: Planned package: pkgSetupProject1, 
> state: Absent, default requested: Absent, ba requested: Cache, execute: None, 
> rollback: None, cache: No, uncache: No, dependency: None
> [4738:473C][2014-02-14T18:03:55]i201: Planned package: pkgStartProcess, 
> state: Present, default requested: Present, ba requested: Cache, execute: 
> None, rollback: None, cache: No, uncache: No, dependency: None
> [4738:473C][2014-02-14T18:03:55]i299: Plan complete, result: 0x0
> [4738:473C][2014-02-14T18:03:55]i300: Apply begin
> [4780:4784][2014-02-14T18:04:03]w308: Automatic updates could not be paused 
> due to error: 0x80070422. Continuing...
> [4738:473C][2014-02-14T18:04:03]i399: Apply complete, result: 0x0, restart: 
> None, ba requested restart:  No
> [4738:473C][2014-02-14T18:04:07]i500: Shutting down, exit code: 0x0
> [4738:473C][2014-02-14T18:04:07]i410: Variable: EnableStartProcess = 1
> [4738:473C][2014-02-14T18:04:07]i410: Variable: ProgramFilesFolder = 
> C:\Program Files (x86)\
> [4738:473C][2014-02-14T18:04:07]i410: Variable: SetupProject1InstallFolder = 
> C:\Program Files (x86)\SetupProject1
> [4738:473C][2014-02-14T18:04:07]i410: Variable: StartProcessCommand = 
> {60ED93F0-A9C9-400F-8E42-E42393FC9C8B}
> [4738:473C][2014-02-14T18:04:07]i410: Variable: WixBundleAction = 5
> [4738:473C][2014-02-14T18:04:07]i410: Variable: WixBundleElevated = 1
> [4738:473C][2014-02-14T18:04:07]i410: Variable: WixBundleInstalled = 1
> [4738:473C][2014-02-14T18:04:07]i410: Variable: WixBundleLog = 
> C:\DOCUME~1\tobias\LOCALS~1\Temp\Bootstrapper1_20140214180344.log
> [4738:473C][2014-02-14T18:04:07]i410: Variable: WixBundleManufacturer = data 
> M Sheet Metal Solutions GmbH
> [4738:473C][2014-02-14T18:04:07]i410: Variable: WixBundleName = Bootstrapper1
> [4738:473C][2014-02-14T18:04:07]i410: Variable: WixBundleOriginalSource = 
> E:\MultiInstanceTest\Bootstrapper1.exe
> [4738:473C][2014-02-14T18:04:07]i410: Variable: WixBundleProviderKey = 
> {c12eb0e9-61b3-438b-948a-7aa7600d4b4b}
> [4738:473C][2014-02-14T18:04:07]i410: Variable: WixBundleTag = 
> [4738:473C][2014-02-14T18:04:07]i410: Variable: WixBundleVersion = 1.2.0.0
> [4738:473C][2014-02-14T18:04:07]i007: Exit code: 0x0, restarting: No
>


------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to