Support for modify when original MSI deleted - 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!

ElectronShepherd
Posts: 29
Joined: Thu Jun 30, 2011 11:51 am

Support for modify when original MSI deleted

Our installations (MSI files) are downloaded from the web site. We're finding that people download the MSI (typically to their desktop), run the install, and then delete the MSI, to keep their desktop tidy. They then modify the installation (via the Modify button for the installation in Add/Remove programs). Removing an installed component works fine, but adding in one that wasn't selected at the time of the install fails, since it prompts for the (now deleted) original MSI file.

If I look in C:\Windows\Installer before and after the installation, the number of files goes up by 2, and drops by 2 if I do a full remove, so the MSI is being cached (I think).

How can I get the installation to read from the cached copy, and not prompt for a deleted original MSI file?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Support for modify when original MSI deleted

Hello,

All Windows prior to Windows 7 extract the .CABs from the .MSIs and cache the .MSIs without the .CABs. This is the reason for this behavior.

The solution in your case is to create an .EXE package( Media page -> Bootstrapper tab ) and activate the "Include files in .EXE" option. In this case you would have two "MSI Location" options to choose from:
  • one is enable "Included in EXE bootstrapper" and then "Do not delete extracted MSI and CAB files"
  • the other is to create a web based installation by enabling "Retrieve from on-line location"
All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”