Hello,
I'm trying to get an EXE to fire off after un-installation occurs.
Following several forum posts regarding similar attempts, I have come up
with this:
<CustomAction Id="RunNoShell" Property="NOSHELLPROP" ExeCommand=""
Return="ignore" />
<Property Id="NOSHELLPROP">
<DirectorySearch Id="MYREDISTDIR" Path="[WindowsFolder]"
Depth="0">
<FileSearch Id="MYEXEFILESEARCH" Name="NoShell.exe" />
</DirectorySearch>
</Property>
<InstallExecuteSequence>
<Custom Action="RunNoShell"
After="InstallFinalize">REMOVE="ALL"</Custom>
</InstallExecuteSequence>
This appears to be correct, as I get the following in my log during
uninstall:
MSI (s) (D0:74) [16:07:32:055]: PROPERTY CHANGE: Adding NOSHELLPROP
property. Its value is 'C:\WINDOWS\NoShell.exe'.
Blah blah blah....
MSI (s) (D0:74) [16:07:32:258]: Doing action: RunNoShell
However, I get no indication that the EXE has actually ran (it should
alter some REG values and throw a Message Box up). Am I missing
something here?
Also, I'm noticing none of the REG values set by my installer are
removed on un-installation. Is this normal? I would like them to be
deleted, but the WIXWIKI states that there is no way to remove a
registry value during uninstall
(http://www.wixwiki.com/index.php?title=RemoveRegistryValue_Element).
Thanks,
Alan
Alan S. Lanteigne | Channel Ready Solutions
phone & fax +1.317.715.8293| [EMAIL PROTECTED]
Interactive Intelligence Inc.
Deliberately Innovative
www.inin.com <http://www.inin.com/>
-------------------------------------------------------------------------
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