Hi John, How can i check certian feature is selected or not at unistall time. while installing &FeatureName=3 it works but not while uninstall. Please can u help me.
jmcfadyen wrote: > > using &FeatureName can determine the features installstate > > this link offers more detail > > http://community.acresso.com/archive/index.php?t-149887.html > http://msdn.microsoft.com/en-us/library/aa368561(VS.85).aspx > > John > > On Fri, Dec 5, 2008 at 12:38 PM, Joe Osman <joe.os...@tait.co.nz> wrote: >> I want to execute a certain custom action only if a certain feature is >> selected. For example I have the following feature: >> >> <Feature Id="SQLFeature" Level="1" ConfigurableDirectory="INSTALLDIR" >> Description="database" Title="Database" > >> <ComponentRef Id="CreateNewFolder"/> >> <ComponentGroupRef Id="ComponentGroup1"/> >> </Feature> >> >> What should I code in the InstallExecuteSequence so that a certain >> custom action will execute only if SQLFeature was selected? >> >> <InstallExecuteSequence> >> <Custom Action="sqlcmd.cmd" After="InstallFiles">NOT >> Installed AND - SQLFeature was selected > </Custom> >> </InstallExecuteSequence> >> >> >> Thanks for your help ! >> >> ======================================================================= >> This email, including any attachments, is only for the intended >> addressee. It is subject to copyright, is confidential and may be >> the subject of legal or other privilege, none of which is waived or >> lost by reason of this transmission. >> If the receiver is not the intended addressee, please accept our >> apologies, notify us by return, delete all copies and perform no >> other act on the email. >> Unfortunately, we cannot warrant that the email has not been >> altered or corrupted during transmission. >> ======================================================================= >> >> >> ------------------------------------------------------------------------------ >> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, >> Nevada. >> The future of the web can't happen without you. Join us at MIX09 to help >> pave the way to the Next Web now. Learn more and register at >> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, > Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://n2.nabble.com/How-to-execute-custom-action-only-if-certain-feature-is-selected-tp1616626p1666473.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users