DiegoCP
Posts: 139
Joined: Fri Jan 23, 2015 1:02 pm

overwrite installation without uninstalling the existing one

Hello,

My installer needs to be able to install even if it its already installed.
Basically right is i install once its great works fine.
When i try to install again with the previous install still there, i get an error saying i need to remove the previous installation first.

I need to remove this error and make my installer overwrite previous installation or at least ask if the user wants to overwrite previous install something like that.
Or maybe run silent uninstaller and then run the install?

Is this possible using adv. installer?


Thank you very much for your reply.


Sincerely,
Diego.
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: overwrite installation without uninstalling the existing

Hi Diego,

Please keep in mind that this is the Windows Installer normal behavior. In order to be able to overwrite an already installed application, you need to modify its Product Code and Product Version as described in the Why do I receive the "Another version of this product is already installed" message FAQ article.

If you do no want to modify the values mentioned above, you can go in the "Media" page and check the "Uninstall version with the same version (if found)" option, however this option requires an EXE setup package.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
DiegoCP
Posts: 139
Joined: Fri Jan 23, 2015 1:02 pm

Re: overwrite installation without uninstalling the existing

Hello Eusebiu,

Thank You Very Much for your reply!
That is exactly what i need.


Have a Good Day.


Sincerely,
Diego.
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: overwrite installation without uninstalling the existing

You're welcome Diego. Glad to help.

You have a good day, too,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”