Change file version on "Modify" mode. - Advanced Installer Community
Ekki
Posts: 8
Joined: Thu Jun 27, 2013 11:26 am

Change file version on "Modify" mode.

Hello

I have a problem with using "Modify" mode.

I have a project where different versions of the file must be installed. Which version of the file will be installed depends on value selected by user in ComboBox.
For example, if user select "Version1" we install file "version.txt" with content "Version 1". If user select "Version2" we install file "version.txt" with content "Version 2".
On first time installation and on update my solution works fine. But when I try to modify "Version 1" application and try select "Version2" I still have file with "Version 1" content instead "Version 2".

Is it any way to change file version using "Modify" mode?
Project with sample is in attached archive.
Attachments
TestApp.zip
(115.84 KiB) Downloaded 226 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Change file version on "Modify" mode.

Hello,

This is happening because you hadn't organized your installation project into features. Please keep in mind that when a component is installed, all the resources of that component are installed (and only then).
Please take a look on the Organize your application into features article and on the Organization article with related information for hints and guidance.

Also, I've attached a .zip archive which contains your fixed .AIP(project file).

Please let me know if this is working as expected.

Best regards,
Dan
Attachments
TestApp.zip
(7.25 KiB) Downloaded 230 times
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”