MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: Never Overwrite Existing Resources[Next]: Restore Original Values on Uninstall
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Windows Installer Basics->Resource Life Cycle->Never Uninstall Resources

Never Uninstall Resources

The main choices are:

  1. 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.

  2. 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.

  3. The resources are members of a component, the "permanent" attribute can be set. It will not be uninstalled however it can be repaired.

  4. One or more custom actions to perform all the update and removal logic.

EXAMPLE - Permanent Attribute

<$Component "NeverOverwrites" Directory_="<$INSTALLDIR>" Attributes=^Permanent^>
    ...
<$/Component>


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 7 Aug 2008Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: Never Overwrite Existing Resources[Next]: Restore Original Values on Uninstall


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Tuesday August 19 2008 at 7:04pm
Visit MAKEMSI's Home PageThis external link was OK when tested at 13 Aug 2008

HTML page dated Mon, 29 Jan 2007 00:11:11 GMT
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 7 Aug 2008