Discussion:
[WiX-users] Burn - Determine if bundle is already installed
jhennessey
2011-08-02 17:40:11 UTC
Permalink
I am using a managed bootstrapper application and I am trying to figure out
how to detect if the bundle is already installed.

I am able to detect the packages by handling the *DetectPackageComplete*
event but I can't just assume that the bundle is installed by detecting one
of the packages in it (it might have been installed outside of the bundle).

I also tried handling the *DetectRelatedBundle* event but it never fires
(and judging by the name I wouldn't expect it to in this case).

To be honest I was expecting there to be something like a DetectBundle event
but I don't see one.

*All that being said, anybody have any clue on how to detect if the current
bundle is already installed?*

--
View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Determine-if-bundle-is-already-installed-tp6645777p6645777.html
Sent from the wix-users mailing list archive at Nabble.com.
Rob Mensching
2011-08-03 00:37:04 UTC
Permalink
You know if you were installed *much* earlier than detection. <smile/> The
Application.Command struct has a ResumeType in it that tells you whether
your bundle is registered or not. The ResumeType.Arp is a little misleading
and could probably better be named "Registered".
Post by jhennessey
I am using a managed bootstrapper application and I am trying to figure out
how to detect if the bundle is already installed.
I am able to detect the packages by handling the *DetectPackageComplete*
event but I can't just assume that the bundle is installed by detecting one
of the packages in it (it might have been installed outside of the bundle).
I also tried handling the *DetectRelatedBundle* event but it never fires
(and judging by the name I wouldn't expect it to in this case).
To be honest I was expecting there to be something like a DetectBundle event
but I don't see one.
*All that being said, anybody have any clue on how to detect if the current
bundle is already installed?*
--
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Determine-if-bundle-is-already-installed-tp6645777p6645777.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
virtually, Rob Mensching - http://RobMensching.com LLC
Continue reading on narkive:
Loading...