PeterM
Posts: 19
Joined: Fri Mar 29, 2013 9:28 pm

Component GUID's getting updated on version changes

For one particular installer I have, whenever I update the version number in Advanced Installer and select "Major Upgrade", it generates new component guid's for every file. This is not what I want to happen; doesn't seem to hurt much, but doesn't seem like best practice.

I was able to workaround by opening the .AIP file in a text editor and manually updating the version and then the product code with a new GUID.

Other installers I build do not have this behavior.

Two "odd" things about this installer. 1) It was using synchronized folders, which I turned off for this upgrade. 2) As an experiment, I branched the source files it is using from source control as opposed to just making a copy like in previous install upgrades.

Is there an attribute in the .AIP file I can look for that would toggle this behavior?

Final bit of information. When it regenerates the component GUID's, it also places AI_ExePath as part of every one of my feature nodes.

I'm on AI 10.1 build 51253.
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Component GUID's getting updated on version changes

Hi,

The component GUID is automatically changed when the product version is modified, if the "Allow side by side installs of different product versions" option is selected in the Upgrades page and this is the normal behavior. Can you check that in your project?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
PeterM
Posts: 19
Joined: Fri Mar 29, 2013 9:28 pm

Re: Component GUID's getting updated on version changes

OK. That's it; makes some sense... different versions need to have different component GUIDs to allow for the side by side installs? Presumably to keep the registry happy?
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Component GUID's getting updated on version changes

Hi,

Yes, indeed. That's why the components GUID must be changed for side by side installs.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”