Upgrade requires previous MSI - Advanced Installer Community
Erez
Posts: 1
Joined: Thu Dec 19, 2013 2:52 pm

Upgrade requires previous MSI

Hello,

I have Advanced install 7.2.1 and I use it to distribute client side MSI with my application.
My problem is that when I come to upgrade my application the update requires previous installation's MSI in order to uninstall it (as shown in the attached file).
I know that usually the install process saves the msi at someplace for future uninstall, why doesn't it happen in this case?

Thank you,
Erez
Attachments
image.jpg
image.jpg (37.64 KiB) Viewed 2472 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Upgrade requires previous MSI

Hello Erez and welcome to Advanced Installer forums,

Indeed, Windows Installer installs an MSI file it caches it in the hidden Windows Installer Cache directory . Also, the cached MSI is stripped of any files it may contains for saving a significant amount of space required by large packages. This is part of the reason for prompting for source when the original media files aren't available. When uninstalling if the required MSI and media files are not available Windows Installer will search for it in the original location the MSI was originally installed from. If they aren't located then will prompt for it.

In order to avoid this behavior you can build your target installation package as an EXE package type and enable (in the target installation project) the "Do not delete extracted MSI and CAB files" option from "Media -> Configuration tab -> Bootstrapper Options" group.

Also, you can take a look on our "Why does the .msp installation requirs original .msi" thread which debates a similar issue.

Please let us know if that helped.

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

Return to “Common Problems”