Updated version install problem - 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!

sydexmike
Posts: 7
Joined: Thu Nov 09, 2006 3:36 pm

Updated version install problem

I have a small application built into an msi file.

12/19 The install is done on a new computer and runs fine.

12/22 I fix the main .exe file and a couple other included files (maybe 2 out of 50), update the product version in the .aip, and rebuild the MSI. When running the this version of the msi on the same computer, it seems to uninstall all files, but fails to reinstall some of the files that did not change. For example, cblrtss.dll was uninstalled but not reinstalled. This keeps the updated version from functioning.

As a note, cblrtss.dll is included in several of my products, and may already be present installed into a different folder as well.

If I do a remove program from the control panel before the new version install, it works fine.

I have the 2 msi's if you need to verify the problem.

Mike
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
When running the this version of the msi on the same computer, it seems to uninstall all files, but fails to reinstall some of the files that did not change. For example, cblrtss.dll was uninstalled but not reinstalled. This keeps the updated version from functioning.
This is related to a bug of Windows Installer. The workaround is to change (increase) the version of the file with each upgrade. Or you can specify the version (greater that the one from the older package) of the file in the "Edit File" dialog, "Version" tab, "Overwrite with this" option.

Best Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
sydexmike
Posts: 7
Joined: Thu Nov 09, 2006 3:36 pm

Gasp!

You're telling me that I have to individually change the version of all 50 files every time I fix one of them?

Isn't there an "always overwrite" or something?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

I'm afraid that you need to do this for all files. But we investigate this problem and try to find a better solution to avoid this Windows Installer bug.

Best Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
sydexmike
Posts: 7
Joined: Thu Nov 09, 2006 3:36 pm

permanent attribute

Would the permanent attribute prevent these files from being removed during the uninstall process before an upgrade, but still allow them to be replaced if a newer version is present in the msi?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

A component marked as permanent will not be removed during uninstall or upgrade and will be replaced if a newer version is present. To prevent a component from beeping replaced use "Never Overwrite" flag.

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
spi_ap
Posts: 1
Joined: Wed Aug 01, 2007 10:08 am

Any news on this topic?

I have the same problems and found no additional info in the forums.

Is this "Microsoft Installer Bug" documented somewhere for reference?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

In the next version of Advanced Installer the "Overwrite with this" option will be available on multiple files edit. The "Version" tab will appear on the "Edit Multiple Files" dialog.
Is this "Microsoft Installer Bug" documented somewhere for reference?
This is a known bug but I don't see any reference to it in the Microsoft documentation.

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”