My reference to the API MsiConfigureFeature() was intended to have it called
by the main application whenever it detects that the add-on isn't installed
but the framework is. End users don't have to do a thing (except run the
main application).

-----Original Message-----
From: Jan Bilek [mailto:bil...@gmail.com] 
Sent: Wednesday, January 20, 2010 12:34 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to uninstall other products during
uninstallation

Good idea, but what if user decides to install the add-on later (after 
he updates his OS)? Wouldn't he have to reinstall main application? This 
solution is my last resort. It will work, but it seems to be too 
complicated (for me and users aswell).
Isn't there any other easier way?

Thanks.

Jan


Blair wrote:
> Put both into the same MSI, but under different features.
>
> >From your main application, add the "add-on" feature when .net 3.5 is
> discovered. MsiConfigureFeature() would possibly be a good candidate.
>
> -----Original Message-----
> From: Jan Bilek [mailto:bil...@gmail.com] 
> Sent: Wednesday, January 20, 2010 7:12 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] How to uninstall other products during uninstallation
>
> Hello,
> I've got following problem...
>
> I have got a main application and an add-on tool. The add-on can be 
> installed only if .net framework 3.5 is installed and main application 
> must be able to install the add-on when user updates his system to .net
3.5.
>
> My current solution consists of two independent wix/msi packages which 
> are executed from custom bootstrapper application. This setup works fine 
> during installation process, but it has major flaw when it comes to 
> uninstallation. I need to uninstall add-on during the uninstallation of 
> main application, but since these two parts are independent, they have 
> to be uninstalled independently.
>
> Is there any way how start or schedule one uninstallation (add-on) 
> during the other (main app)?
>
> Thank for any help.
>
> Best regards,
> Jan
>
>
----------------------------------------------------------------------------
> --
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for
> Conference
> attendees to learn about information security's most important issues
> through
> interactions with peers, luminaries and emerging and established
companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
----------------------------------------------------------------------------
--
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for
Conference
> attendees to learn about information security's most important issues
through
> interactions with peers, luminaries and emerging and established
companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   


----------------------------------------------------------------------------
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for
Conference
attendees to learn about information security's most important issues
through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to