nadeemajl
Posts: 5
Joined: Fri Jun 17, 2005 8:00 am

how to associate a version with a file

Hi

Just wanted to know how to associate a version with a file. I am trying to copy a buch of file using a msi. While trying to create a MSI , I add a folder to the MSI , AI automatically assigns versions to a buch of dls but not to all file. Is the a way to assocaite a file version to all the files that I added in the MSI.

Any help will be appreciated.

tnr
-nadeem
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

The only way to change the version of the files would be by editing the MSI file.

However, if you want to force the installation of older files you must change the REINSTALLMODE property to the "amus" value. The reason is explained at:

http://msdn.microsoft.com/library/defau ... llmode.asp

To do this add a new custom action on the "Begin" section. To show this section use the [ Show Standard Action ] toolbar button in the "Custom Actions" pane. Add a new "Property Set With Formatted" type of custom action. Type in the "Property Name" field "REINSTALLMODE" and in the "Formatted Text" field the value "amus".

Regards,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”