\
Windows Installer Basics
Resource Life Cycle
Never Uninstall Resources
| Never Uninstall Resources |
The main choices are:
- If you don't wish to undo anything done during the
"install" of an MSI you should have a look at the
"No Installation Registration" section.
- The resources are members of a component, the "ComponentId" can be set to "" so that Windows Installer never registers it. No uninstallation (or "repair") will take place.
- The resources are members of a component, the
"permanent" attribute can be set.
It will not be uninstalled however it can be repaired.
- One or more custom actions to perform all the update and removal logic.
| EXAMPLE - Permanent Attribute |
<$Component "NeverOverwrites" Directory_="<$INSTALLDIR>" Attributes=^Permanent^>
...
<$/Component>