b.eggers
Posts: 4
Joined: Thu Jul 15, 2021 1:25 pm

Missing old version while updating to new product version

Thu Jul 15, 2021 1:30 pm

Hey!

We are building our product-setup using advanced-installer 17.8. On several clients, we get the following error-message,
while updating our product to a newer version:

If we click on ok, the setup abords with an error message, that uninstalling the product failed.
install_bug.png
install_bug.png (61.44 KiB) Viewed 5505 times
If we want to install an update, we need to remove all registry keys manually first.

Catalin
Posts: 4355
Joined: Wed Jun 13, 2018 7:49 am

Re: Missing old version while updating to new product version

Thu Jul 15, 2021 2:38 pm

Hello Benedikt and welcome to our forums,

By the looks of it, I am assuming you are trying to apply a patch.

This may happen if when the patch is applied it needs to access a resource from the CAB. Please keep in mind that at install time Windows Installer caches the MSI installation database in the "Windows\installer" folder, but it stripes down the CAB within the MSI (for size reasons). Then, during the repair operation if a resource from the CAB it's required Windows Installer will prompt for original setup installation.

If your target installation setup is an EXE setup, in order to avoid this problem, you can select the "Do not delete extracted MSI and CAB files" option from "Builds" page -> "Bootstrapper Options" section.

Please let me know if this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

b.eggers
Posts: 4
Joined: Thu Jul 15, 2021 1:25 pm

Re: Missing old version while updating to new product version

Fri Jul 16, 2021 8:13 am

Thanks for the fast answer!

We are building two targets:

1. MSI for Active Directory deployment
2. Exe with embedded MSI

The error message also occurred, if I uninstall our product first and make a new installation. So not only in the "patch" case.

EDIT:

I think most of the time this problem occurred when using the msi/AD setup.

Thanks a lot!

Catalin
Posts: 4355
Joined: Wed Jun 13, 2018 7:49 am

Re: Missing old version while updating to new product version

Tue Jul 20, 2021 4:32 pm

Hello Benedikt,

I do not really see how you can get this error in an upgrade scenario (remove the older version & install the newer version).

In order for me to further investigate this, please forward me the following resources:

- a copy of the .AIP file used to build the older MSI

- a download link for the older MSI

- a copy of the .AIP file used to build the newer MSI

- a download link for the newer MSI

- a copy of your patch project

- a download link for the patch (.MSP file)

- a step-by-step test case which I can follow in order to reproduce this on my end

by e-mail at support at advancedinstaller dot com.

So far, I can see that you are trying to install the MSI on a Windows Server machine, from a network location.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

b.eggers
Posts: 4
Joined: Thu Jul 15, 2021 1:25 pm

Re: Missing old version while updating to new product version

Sun Jul 25, 2021 1:59 pm

Hey Catalin,

I will try to prepare all information for you. A few facts:

1. No, I did not try to install it from a network location. The setup is just search at that location. Maybe an older version was installed
from that location.

2. When I uninstall the product and take a look at the registry, a lot of keys are still existing. After I remove them manually, everything works as expected.

3. Computers which are only using the .exe setup, are working fine.

Thanks a lot.

Catalin
Posts: 4355
Joined: Wed Jun 13, 2018 7:49 am

Re: Missing old version while updating to new product version

Wed Jul 28, 2021 12:47 pm

Hello Benedikt,

Thank you for your followup on this!

I will be waiting for the resources and I will start investigating this.

If possible, could you please also add the uninstall log (verbose) to the resources, as I want to check something in it regarding the failure to remove the registry keys? More information about how to create a log file in our "How do I create an installation log?" article.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”