Easy way to automatically generate an uninstaller?

Answered

Comments

1 comment

  • Avatar
    Ionel

    I think I found the solution.

    I've created an uninstaller.xml project, which has pre and post-uninstallation actions to clean up files and registry.

    I've disabled ARP registry entries for it, so it will only generate the uninstaller, and not add stuff to the registry like a normal installer.

    So now I have these steps, which I can automate:

    1. Make a build of the uninstaller.xml project.
    2. Run the generated installer, which will generate the uninstaller.
    3. Copy the uninstaller to input of installer.
    4. Sign the uninstaller.
    5. Make a build of the installer with uninstaller-signed bundled.

Please sign in to leave a comment.