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
____________________________________________________________________________________
Check out the hottest 2008 models today at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html
-------------------------------------------------------------------------
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