gagelarsen
Posts: 3
Joined: Thu Apr 14, 2022 10:32 pm

Items Left in "Add/Remove Progams" after using "Override Windows Installer programs list entry"

Thu Apr 14, 2022 10:34 pm

We ran in to a problem where the "Override windows installer programs list entry" was turned on and released several versions of our software with it. That means that there are now several versions of our software in the the "Add and remove programs" section of windows. We turned off the setting but installing newer versions still doesn't get rid of the older versions. What can i do to get rid of the older versions on users machines other than having them uninstall them manually...

Liviu
Posts: 1026
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Items Left in "Add/Remove Progams" after using "Override Windows Installer programs list entry"

Fri Apr 15, 2022 12:11 pm

Hello and welcome to our forums,

This is quite strange and I'm not sure why that happens. It should work as expected.

Here are some common mistakes causing that problem:
    1. Updating only the fourth field of the Product Version. The fourth field of the Product Version is ignored by Windows Installer when comparing product versions. This is why you should make sure the first three fields of your upgraded Product Version have an increased version than those of your old Product Version.
      When the first three fields of the old and upgraded Product Version are identical, then the upgrade installation will either fail with "Another version of this product is already installed" message or will be installed side by side with the old version (when using different Product Codes).
      • Changing the Upgrade Code. If the old and upgraded version of your product have different Upgrade Codes they will be treated as different product families. Therefore the upgrade installation won't remove the old version, but it will be installed side by side with the old one.
        • Changing the installation type between the old and upgraded version. This is because a per-user installation cannot upgrade a per-machine installation and vice versa. So, you should always make sure that your old and upgraded version have the same installation type.
        You can have a look on our Upgrades Page article. If you run the upgraded package on a machine which has the old package installed, the old package will be removed automatically (and silently) and the upgraded package will be installed.

        In order for us to further investigate this, can you please forward by email to support at advancedinstaller dot com the following resources:

        1. the old .AIP project files.
        2. the new .AIP (setup project) file.
        3. an installation log of the upgrade process (when installing the latest version).

        You can create an installation log by launching your setup package with a command line like this:

        Code: Select all

        msiexec /i setup.msi /L*V installLog.txt
        
        
        when using an MSI package type, or a command like this

        Code: Select all

        setup.exe /L*V installLog.txt
        
        when using an EXE package type.

        Best regards,
        Liviu
        ________________________________________
        Liviu Sandu - Advanced Installer Team
        Follow us: Twitter - Facebook - YouTube

        Return to “Common Problems”