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 FAQ (the 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, for example:
    <$Component "NeverRepairedOrRemoved" Directory_="<$INSTALLDIR>" ComponentId="">
        ...
    <$/Component>

  3. The resources are members of a component, the "permanent" attribute can be set. It will not be uninstalled however it can be repaired, for example:
    <$Component "NeverRemoved" Directory_="<$INSTALLDIR>" Attributes=^Permanent^>
        ...
    <$/Component>

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


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.Please 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).
Saturday May 28 2022 at 3:11pm
Visit MAKEMSI's Home Page
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.