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

Best praxis for removing a corrupted installation (no MSI)

Hello,
I am writting a new installer for our software.
Until now it was not an MSI package, and the uninstaller is corrupted because of a missing INSTALL.LOG
I also want to write an "installer" which just deinstaller the old version if it is present.

Is it a good praxis to write an MSI package which just deinstall that old version?
I would also have to ability to choose between a full deinstallation and a standard deinstallation (where the .ini files are maintained)

I would like to have a separate MSI sothat I could deliver it separatly, if a customer just want to uninstall the application without installing the new one.

regards, Éric
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Best praxis for removing a corrupted installation (no MSI)

Hello Éric,

The only way to uninstall the old version of your product installation (non MSI-based) is by developing your own custom action to do this. Please take a look on our "Upgrade an older version of the package" article which debates a similar topic.

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

Re: Best praxis for removing a corrupted installation (no MSI)

Hello Daniel,

thanks for your reply. I have already saw the article, but it do not really answer my question how to create an MSI which just unisntall the previously installed version or if it would be a bad praxis.

Regards, Éric
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Best praxis for removing a corrupted installation (no MSI)

Hello Éric,

If your old version setup is nnot MSI-based, then there is no out of the box support for this. As I said the only way would be to develop your own custom action which will delete any trace of your old installation (files, registries and any other resources installed by your old installation).

And this wouldn't be a bad practice. It is even recommended to uninstall the old version when installing a new one. In this way you will avoid situations when your application old and new version share common resources which could generate conflicts.

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”