[wix-users] Weird un-install behavior
phill.hogland at rimage.com
Tue Feb 16 05:02:28 PST 2016
When I read your original post I may have misunderstood your concern to be related to when MSI launches an 'on-demand' install of your MSI package without launching Burn. The Burn Variables/@Persisted feature is a really great feature if you are certain that the MSI will always be driven by Burn (and a 'on-demand' install of the MSI will not occur ). Generally I implement both, using Burn Variables/@persist and serializing any changes prior to the Apply phase as well as implementing the RememberProperty pattern for any public property passed into a MSI so that the MSI still functions in 'on-demand' scenarios.
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of jayd page
Sent: Tuesday, February 16, 2016 3:14 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Weird un-install behavior
Thank you Phill and Rob.
Adding the Persisted="yes" to my burn variable worked like a charm so I did
not have to implement the RememberProperty pattern.
On Mon, Feb 15, 2016 at 7:17 PM, Rob Mensching <rob at firegiant.com> wrote:
> Burn Variables can be marked Persisted-"yes"
> Short replies here. Complete answers over there:
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Phill Hogland
> Sent: Monday, February 15, 2016 5:53 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] Weird un-install behavior
> It sounds like you need to implement a 'RememberProperty' pattern so that
> any values you pass to a MSI using Burn (or on a command line to the MSI)
> are available when doing 'on-demand' MSI actions.
> WiX Toolset Users Mailing List provided by FireGiant
+27 (0) 31 813 5968
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users