Launch Executable Before Previous Version Test - 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!

benjy
Posts: 37
Joined: Mon Nov 02, 2009 12:25 pm

Launch Executable Before Previous Version Test

Hi,

I have a rather unusual problem that I hope we will be able to solve using AI...

We have just released a new version of our product that uses an AI-authored installation package. It turns out that we have a bug in the installer for the previous version, whereby when it is uninstalled, the registry is left in such a state that Windows Installer thinks that it is still installed (and hence our new installer won't run, reporting that the product is already installed). We therefore need to find a way to get around this with our new AI installer...

The most obvious solution would be us to write a little utility that can look for this problem (i.e. application uninstalled but registry key present) and rectify it before the installer checks if a previous version is installed. I therefore need to figure out how to execute this utility and (preferably) check its return value. Please could you give me guidance on this?

Alternatively (and I know this is unlikely but worth asking), is there any way we could overcome this by customising the installer that would remove the need to run a separate executable?

Many thanks,

Ben
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Launch Executable Before Previous Version Test

Hello Ben,

I'm afraid I don't fully understand your scenario. Can you give us more details about this (maybe exemplify)?

Also, if you are getting the "Another version of this product is already installed" message then please take a look on our "Change in different builts" thread.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
benjy
Posts: 37
Joined: Mon Nov 02, 2009 12:25 pm

Re: Launch Executable Before Previous Version Test

Hi Daniel,

I think we may have found a resolution ourselves; I will keep you posted.

Regards,

Ben

Return to “Common Problems”