Uninstall pre-existing versions of software - Advanced Installer Community

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!

liquidops
Posts: 2
Joined: Fri Oct 16, 2009 4:10 pm

Uninstall pre-existing versions of software

Hello everybody,

Please be patient with me, as I am new on this forum and if this thread has already been addressed elsewhere, please point me there.

My problem is I need to create an MSI package to deploy VNC to all of our servers. I've got the package built, but I need to hammer out some pre-installation logic to check for existing software of ANY version. I'm aware that I might just have to build an MSI for each condition (VNC version 1.2.9, 3.3.7, 4., etc), but I need answers.

I was about to set off and create my own klujy solution by creating a batch file that unregisters and then uninstalls VNC if it exists, but I figured the software probably has this figured out already. I checked out the custom action RemoveExistingProduct action, but it looks a tad arcane to me. Please help!


Thanks.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Uninstall pre-existing versions of software

Hello and welcome to Advanced Installer Forums,

It seems VNC is not msi based, which means you will have to create your own mechanism to detect and uninstall it.
You can use the Search Page in Advanced Installer to search for the VNC executable, either the viewer or the server depending on what you are installing. In the same folder with its main executables, VNC also has the uninstaller, usually called unins000.exe. You can launch that to initiate the vnc uninstall.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
liquidops
Posts: 2
Joined: Fri Oct 16, 2009 4:10 pm

Re: Uninstall pre-existing versions of software

Thanks Gabriel. After much poking around, I determined that MSI is not the best deployment tool for VNC because VNC uses specific licensing algorithms that key off of some unique feature of the target machine; if you try installing an MSI with everything configured correctly and licensing info intact, it won't matter because the license key hash captured in the MSI is from a foreign machine with a different unique identifier (used to construct the hash).

Return to “Common Problems”