ofb
Posts: 9
Joined: Tue Feb 06, 2007 10:43 am

Prevent side by side installation

I have an installer supporting two languages (English and danish).

I hvad checked the option

"Automatically upgrade older versions of the product"

and unchecked the option

"Allow side by side installs of different versions of the product".

When I then first install the english version on a clean machine and next trys to "upgrade" to the danish version, then I get a side by side install instead. I cannot have side by side installation of my product. Why is this happening? How do I prevent that?

Regards
ofb
lubosh
Posts: 11
Joined: Mon Feb 05, 2007 6:22 am

this is not really a feature request.

anyway, my unofficial suggestion is to manually open AIP file and make sure that GUID in <ROW Property="ProductCode"> tag is the same in both installation files.

that should solve the problem I guess.
ofb
Posts: 9
Joined: Tue Feb 06, 2007 10:43 am

Sorry that I posted my message as a feature request. Mistake! But it might be after all.

I only have one AIP file supporting two languages.

After som research I think the error might be that you cannot control the Upgrade Table from AI in details. If I open the API file and change the attributes for when to detect and upgrade. The two following lines:

<ROW UpgradeCode="UpgradeCode" VersionMax="ProductVersion" Attributes="5"/> /*original 1025*/
<ROW UpgradeCode="UpgradeCode" VersionMin="ProductVersion" Attributes="258"/> /*original 2*/

then I dont get side by side install.

The problem is just that when I save the AIP project from AI it changes the attributes back to original.

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

Hi,

I cannot reproduce this behavior on my computer. Are you sure you manage the upgrade correctly? When you increase the "Product Version" you must choose yes when Advanced Installer ask you to generate a new "ProductCode".

On when a change of the "Product Version" is required please see:
http://www.advancedinstaller.com/user-g ... rsion.html

Let me know if the problem persist.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
ofb
Posts: 9
Joined: Tue Feb 06, 2007 10:43 am

Hi,

I build from command line and I use SetVersion to produce a new productcode.

Its ok for me now. I can change the attributes manually. But I would very much like AI to give me a chance for setting the attributes for the upgrade table. Because it has something to do with the problem. Could you implement this feature in a future version?

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

Hi,

This is on our TODO and will be available in the 4.9 version of Advanced Installer scheduled for release next week.

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

Return to “Feature Requests”