How do I delete existing registry keys during the installation of an .msi?

Article:HOWTO5154  |  Created: 2006-09-22  |  Updated: 2008-01-18  |  Article URL
Article Type
How To


How do I delete or remove registry keys during the installation of my .msi?


  1. In Installation Expert on the Feature Details page, add the Registry entry. 
  2. Right-click and choose Remove all subkeys and values during install

This updates the RemoveRegistry table and places a hyphen (-) in the Name column. This means the key is to be deleted, if present, with all of its values and subkeys, when the component is installed.

Legacy ID


Article URL

Terms of use for this information are found in Legal Notices