Verifying that another installer is not installed - Advanced Installer Community
kondriks
Posts: 36
Joined: Mon Nov 17, 2014 3:49 pm

Verifying that another installer is not installed

I have created a project in Advanced Installer. I've got an old project created in the Wies Installer.
How do I check in the installer that another installer (Wise) was installed now on PC?
If there is an old installer, you must display the appropriate message "Another version of the product is already installed!".
Thanks in advance
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Verifying that another installer is not installed

Hello,

I assume you want to upgrade an older version of the application, right? If Yes, please follow the steps from the How do I upgrade an older version of the package? article.

If this is not your case, please give us more details about your specific scenario.
If there is an old installer, you must display the appropriate message "Another version of the product is already installed!".
You may get this error if the same two products have the same ProductCode. For details, please take a look on the Product Identification (ProductCode and UpgradeCode) article.

Best regards
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kondriks
Posts: 36
Joined: Mon Nov 17, 2014 3:49 pm

Re: Verifying that another installer is not installed

I need to display a message that another version of the installer is installed and the installer must stop the installation.
The old installer and new installer have a different ProductCode.
It is necessary to define that other installer is installed and display a message.

Sorry for my english.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Verifying that another installer is not installed

Hello,

In order to achieve this, here is what you need to do:
  • 1) Create a search operation in the Search page in order to see if the old version is installed.
    For this, you can use the Product Version (identify by Product Code) Extended Search. The search will be successful if the specified registry key exists.

    2) Create a Custom Launch Condition in the Launch Condition page in order to stop the installation if the old version was found on the target machine.
    Please keep in mind that the installation will run only if the custom launch condition is true. Otherwise, the launch condition description will be showed to the user.
Please take a look on the File search - custom launch condition video which exemplify a similar scenario.

If you need any help, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”