PDA

View Full Version : Force update of uninstaller exe?



oeb
08-29-2018, 01:50 AM
I have made an improved uninstaller for a project with a custom uninstaller script, but I notice that the uninstaller exe is not replaced during an update of existing installations. This means that the old sub-optimal uninstaller routine will still be used for those. Is there any way to force updating of the uninstaller? If I manually remove the exe before running the update the file is replaced, but I have so far been unsuccessful doing this as part of the script (I end up with the old exe or no uninstaller exe at all).

Unregistered
08-29-2018, 09:55 AM
I have made an improved uninstaller for a project with a custom uninstaller script, but I notice that the uninstaller exe is not replaced during an update of existing installations. This means that the old sub-optimal uninstaller routine will still be used for those. Is there any way to force updating of the uninstaller? If I manually remove the exe before running the update the file is replaced, but I have so far been unsuccessful doing this as part of the script (I end up with the old exe or no uninstaller exe at all).

It seems to work if I rename/ delete the old uninstaller exe right before the [ Features ] part of the script. But would be still be interesting to know if there are other ways to do it.

linder
08-29-2018, 12:01 PM
Hello,

see attached screenshot. Did you mark this checkbox?

Friedrich

oeb
08-30-2018, 02:08 AM
Hello,

see attached screenshot. Did you mark this checkbox?

Friedrich

Thanks :) Did not notice the "& App" part :o