John Robbins
19 years ago
Hello,
Is there anyway to have a custom uninstall action if a particular
feature is installed. I've got the custom action working if the
application is installed, but need to narrow it down to only if a
feature is installed.
---- My feature ---
<Feature Id='WhoAmI'
Title='$(loc.VsWhoAmITitle)'
Description='$(loc.VsWhoAmIDescription)'
Display='expand'
Level='1'>
<ComponentGroupRef Id ='groupWhoAmIAddIn'/>
</Feature>
--- My current uninstall CAs. ---
<InstallExecuteSequence>
<!-- If installed, generate the uninstall command and execute it
(before removing any files) -->
<Custom Action="AddIns.Uninstall.Command"
Before="AddIns.Uninstall">
Installed
</Custom>
<Custom Action="AddIns.Uninstall"
Before="RemoveFiles">
Installed
</Custom>
</InstallExecuteSequence>
Thanks in advance!
John
Wintellect - Know How
http://www.wintellect.com
877-968-5528
Is there anyway to have a custom uninstall action if a particular
feature is installed. I've got the custom action working if the
application is installed, but need to narrow it down to only if a
feature is installed.
---- My feature ---
<Feature Id='WhoAmI'
Title='$(loc.VsWhoAmITitle)'
Description='$(loc.VsWhoAmIDescription)'
Display='expand'
Level='1'>
<ComponentGroupRef Id ='groupWhoAmIAddIn'/>
</Feature>
--- My current uninstall CAs. ---
<InstallExecuteSequence>
<!-- If installed, generate the uninstall command and execute it
(before removing any files) -->
<Custom Action="AddIns.Uninstall.Command"
Before="AddIns.Uninstall">
Installed
</Custom>
<Custom Action="AddIns.Uninstall"
Before="RemoveFiles">
Installed
</Custom>
</InstallExecuteSequence>
Thanks in advance!
John
Wintellect - Know How
http://www.wintellect.com
877-968-5528