Before you add any uninstall actions, it's important to understand what the Setup Factory uninstaller automatically does for you.
By default, the uninstaller:
Removes all of the files that were installed by the setup executable. In other words, any files that were listed on the project window at design time are automatically removed by default.
There are, however, two exceptions to this rule:
If you select the Never remove option for a file, that file will not be uninstalled automatically.
If you select the Shared/System file option for a file, that file will only be uninstalled automatically if its usage count reaches zero during the uninstall. The usage count is the number of installed programs that require access to a specific registered file. This information is stored in the Registry for all shared files so they aren't removed if they're still required by another program.
(Both of these options are configured on the Advanced tab of the File Properties dialog.)
Removes any shortcuts and shortcut folders that were automatically created by the setup executable. This includes all of the shortcuts created using the Shortcut tab of the File Properties dialog. It does not include any shortcuts created using Create Shortcut actions.
Removes any folders automatically created by the setup executable, assuming they are empty after the automatically uninstalled files are uninstalled.
By default, the uninstaller does not:
Remove any Registry entries created during the installation. You will need to remove your Registry entries manually by adding Modify Registry actions to the Before Uninstalling or After Uninstalling tab.
Remove any shortcuts or shortcut folders created as the result of Create Shortcut actions. Only shortcuts and shortcut folders created using the Shortcut tab of the File Properties dialog are removed automatically.
Undo any INI file changes that were made during the installation. Since INI file changes are done with actions, you will need to use actions to undo them.
Undo any text file changes that were made during the installation. Like INI files, text file modifications are done with actions and undone with actions.
Remove files that were created by your software after installation.
Remove files that were manually copied to your software's application directory by the user after installation.
Remove files or directories that were copied, renamed, or moved during the installation. Of course, you can use the file and folder actions to make any changes you want with your uninstaller as well.
Undo any changes made by external programs that were called from your installer using Execute File actions.
Undo any changes that were made to the user's system using actions. Anything you do with actions in the installer can only be undone with actions in the uninstaller.
See Also: Uninstall dialog