mkoe
Posts: 12
Joined: Tue Sep 11, 2012 10:29 am

Wrong prerequisite file on update

Hey,

We've an EXE package which includes several MSI modules via feature-based prerequisites.
The main package MSI is by default extracted to
"...\AppData\Roaming\[|Manufacturer]\[|ProductName] [|ProductVersion]\"
The prerequisite MSIs are by default extracted to
"...\AppData\Roaming\[|Manufacturer]\[|ProductName]\"
If we update the EXE package and a MSI prerequisite, the MSI prerequisite isn't extracted during installation because a file with the same name exists in the folder and the installation fails.

Is this intended? The field for setting a custom extraction folder of prerequisite doesn't allow properties so we can't set the ProductVersion for this path automatically.
Any ideas?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Wrong prerequisite file on update

Hi,

This is not intended, you can however have the product version in the extraction path. Select "Packages" in the Prerequisites page and set this as the extraction folder:

Code: Select all

[AppDataFolder][|Manufacturer]\[|ProductName][|ProductVersion]\prerequisites
Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mkoe
Posts: 12
Joined: Tue Sep 11, 2012 10:29 am

Re: Wrong prerequisite file on update

Hi Bogdan,

I've missed this option. Thank you for this information!

Best regards,
Martin

Return to “Common Problems”