teknohippy
Posts: 7
Joined: Mon Jan 23, 2006 5:35 pm

Changing Upgrade Code

Is there any way to generate a new GUID for the upgrade code. I've got four installers that are similar so I've copied and pasted the aip file and am of course running into problems now.

Can this be done manually by generating a GUID in someway and pasting it into the aip/xml?

--
Iain Norman
http://www.gigajam.com
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi Iain,

The only way to change the upgrade code is by editing the AIP file directly. But if you have different products you should change also the component GUIDs and the product code.

To get a new GUID you could use a GUID generator utility (there are many free available on the Internet). Another approach would be to create some dummy projects in AI and copy / paste their GUIDs into your AIPs.

Regards,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com
glevner
Posts: 4
Joined: Sat Jun 24, 2006 8:32 am
Location: Paris, France
Contact: Website

changing upgrade code for major new release

We are issuing a major release of our software, with important changes with respect to previous releases, and so would like for our users to be able to install it side by side with a previous release. That is, we would like for a new upgrade code to be generated for this release, which has a new product name and a different installation directory.

From reading previous posts, my understanding is that the best way to change the upgrade code would be to start a new project from scratch. The thing is, this is a complex project and that would take us some time. Is there a simpler way? Can we edit the .aip file and just change the UpgradeCode to some new random value? Or is it more complicated than this? Does every ComponentID in the .aip file need to be changed?

Thanks in advance...
glevner
Posts: 4
Joined: Sat Jun 24, 2006 8:32 am
Location: Paris, France
Contact: Website

I just discovered the Duplicate function, which seems to be exactly what we need...
teknohippy
Posts: 7
Joined: Mon Jan 23, 2006 5:35 pm

Now why have a I never spotted that before.

Thanks for the heads up.

Saves me lots of time in the future. I always have to do all my installers four times. Once for each intrument in our product lineup.

Return to “Common Problems”