We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

elou
Posts: 96
Joined: Tue Apr 14, 2015 9:12 am

How to create an uninstallable update

Hello guys,
I am searching for a way in Advanced Installer to create an uninstallable update.
After the update (.msi, .exe, or something else) the update should appears in the "Installed Updates" list from the "control panel".
Sothat the user is able to uninstall the update without uninstalling the previous version.
Thanks for your help,
regards,
Éric.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: How to create an uninstallable update

Hi Éric,

Unfortunately we don't have support for handling Windows Updates. However, you could implement something through custom actions if you have the time. Here's a good place to start learning: Windows Update Agent API.

In case you're referring to patch updates then you can use the "Allow Patch Removal" option from a Path Project.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
elou
Posts: 96
Joined: Tue Apr 14, 2015 9:12 am

Re: How to create an uninstallable update

Hi Mihai,
thanks for your reply, yes the uninstallable patches was exactly was I am looking for.
I have found in that time a post from your team which refer to problems with this feature http://www.advancedinstaller.com/forums ... =2&t=26641.
Is there any issue list for that? My Installer is not komplex and I would like to use this uninstallable patches feature, did you discourage that?
regards, Éric.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: How to create an uninstallable update

Hello Éric,

I'm afraid we don't have any issue list for this option, but as my colleague Teodor mentioned sometimes Uninstallable Patches cannot be correctly uninstalled and, thus leading to corrupted product installations. So, we strongly recommend you to thoroughly test your installation packages when using this option.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
codesynergy
Posts: 100
Joined: Fri Nov 14, 2014 10:29 pm

Re: How to create an uninstallable update

... but as my colleague Teodor mentioned sometimes Uninstallable Patches cannot be correctly uninstalled and, thus leading to corrupted product installations. So, we strongly recommend you to thoroughly test your installation packages when using this option.
I want to re-emphasize this. I've done some preliminary testing on patches (that are uninstallable), as we will be using them for our product. Patches are very ... flaky. You need to be very careful how you author them, and there are certain rules you need to follow. Your installation may not be complex enough for these rules to be an issue, but I would test very thoroughly. Some things to think about:
  • If you have multiple files in a single component, you need to be careful when adding/removing files in this component, especially if you use the folder synchronization option. I believe you can add files to the component, but I don't think you can remove files, or it causes issues. You also don't want the key file to change across a patch.
  • You also want to test major upgrades with patches installed (assuming you will release a new Major version of your product in the future).
  • If you have have non-exe/dll files in your install, you want to enable the "Hash Files" feature in the Files And Folders view.
That's all I can think of right now.

Return to “Building Installers”