[wix-users] Weird un-install behavior

Rob Mensching rob at firegiant.com
Tue Feb 16 07:46:06 PST 2016


Windows Installer will remember Feature states. The problem was the Bundle was always overrides the Feature state (to change it, of course) so this should only happen when launched from the Bundle.

Regards,

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


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Phill Hogland
Sent: Tuesday, February 16, 2016 5:02 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Weird un-install behavior

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.

-----Original Message-----
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:
> http://www.firegiant.com/
>
>
> -----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.
>
> http://robmensching.com/blog/posts/2010/5/2/the-wix-toolsets-remember-
> property-pattern/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/
>



--
Regards

Jayd Page
Skype maxima.jayd
+27 (0) 31 813 5968

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list