The WiX code there should probably be fixed. ResumeType.Arp is a reasonable
way to go. You can also tell if a Bundle is installed via the
WixBundleInstalled variable.

On Fri, Jun 8, 2012 at 6:04 AM, Neil Sleightholm <n...@x2systems.com> wrote:

> Thanks that is useful and confirms what I thought - seems a bit odd that
> the bootstrapper needs to know what it is installing. I'll give the
> ResumeType.Arp a try.
>
> Neil
>
> Neil Sleightholm
> n...@x2systems.com<mailto:n...@x2systems.com>
>
>
> On 8 Jun 2012, at 13:38, jhennessey wrote:
>
>
> Neil Sleightholm wrote
>
> I have looked at InstallationViewModel.cs some more and I think I am
> starting to understand it.
>
> One question how do you detect that the bundle is already installed and
> hence display uninstall/repair?
>
>
>
> In the WiX BA it looks like they handle this in DetectedPackage() to figure
> it out (which is called by the DetectPackageComplete callback). They
> consider the bundle to be installed if the "Wix" package  (core.msi) is
> installed.
>
> In my experimental BA I am checking the value of
> Bootstrapper.Command.Resume. If it is "ResumeType.Arp" then I know the
> bundle is installed.
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Managed-Bootrapper-next-step-tp7578701p7578736.html
> Sent from the wix-users mailing list archive at Nabble.com<
> http://Nabble.com>.
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net<mailto:WiX-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to