Have you checked out https://sourceforge.net/tracker/? 
func=detail&atid=642714&aid=1656236&group_id=105970 yet?
One trick is to set a property with the folder first and than add a  
filesearch using that property.


Best regards,
Sebastian Brand

Instyler Software - http://www.instyler.com


On Oct 11, 2007, at 2:59 PM, fiordean dacian wrote:

> Hi,
>
> I'm trying to unsinstall an app other then the one I install (by  
> calling its uninstall.exe).
>
> Here is how I do this:
>
> <Property Id="APPUNINSTALL">
>       <DirectorySearch Id="SearchAppDir" Path="[INSTALLDIR]"  
> Depth="3">
>             <FileSearch Id="SearchAppFile" LongName="uninstall.exe"/>
>       </DirectorySearch>
> </Property>
> ...
>
> <CustomAction Id="UninstallApp"  Property="APPUNINSTALL"  
> ExeCommand='/S' Return="check" Execute="deferred"/>
> ...
>
> <InstallExecuteSequence>
>     ...
>     <Custom Action="UninstallApp" After="RemoveFiles">
>             <![CDATA[(&FullInstallation = 2)]]> AND (! 
> FullInstallation = 3) AND APPUNINSTALL
>     </Custom>
>     ...
> </InstallExecuteSequence>
>
> Well, I want the custom action executed only on desinstallation of  
> the 'FullInstallation' feature.
>
> The directory stucture is like below:
>
> C:\Program Files\<Company>\<ProductName>
>     file1
>     file2
>     ...
>     <AppFolderContainingUninstallExe>
>        file1
>        file2
>        ...
>        uninstall.exe
>
>
> The problem is my APPUNINSTALL isn't set at all (I'm pretty sure  
> the uninstall.exe is in there, the Depth attribute equals 3 is  
> arbitrary). I also tries something like:
>
> <Property Id="APPUNINSTALL">
>       <DirectorySearch Id="SearchAppDir" Path="[INSTALLDIR] 
> AppFolderContainingUninstallExe" Depth="0">
>             <FileSearch Id="SearchAppFile" LongName="uninstall.exe"/>
>       </DirectorySearch>
> </Property>
>
> which doesn't work either
>
> I'm using Wix 2.0
>
> Any suggestions?
>
> Thanks,
> Dacian
>
>
> Be a better Heartthrob. Get better relationship answers from  
> someone who knows.
> Yahoo! Answers - Check it out.
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a  
> browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/ 
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to