Copying .aip's - Advanced Installer Community
stevericketts
Posts: 10
Joined: Sun Feb 12, 2006 2:50 pm

Copying .aip's

I don't understand exactly what's happening in two install packages. I had an install package that I was using for a while and then wanted to create a different installation. Most of the files were different but the registry settings were the same. Since there are a ton of registry settings I didn't want to rebuild them so I copied the old .aip to a new one, deleted all the files I didn't want, and added the new files. All the product details were changed in the new .aip (product name, version, etc.)

However, when I run the new install package on a PC that also has the old install on it, most of the files are deleted!... files that aren't in the new package. There seems to be some sort of connection between the old and new .aip's but I don't know what it is. Can someone give me a little insight into what's going on when you copy aip's?

Many Thanks,

Steve
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Copying .aip's

Hi Steve,

Please note that if you copy an AIP and then use it for another installation package, the GUIDs inside the two packages will be the same. This means that the two packages will contain identical components (from the Windows Installer point of view) and conflicts will appear.

The correct approach for what you need to do is this:
- open the old project
- use the "File" -> "Save As Template" menu to create a template from the old project
- create a new Advanced Installer project by using the template
- modify it according to your needs

This way, the two packages will have unique components and there will be no more conflicts. Note that by "components" I mean the components in the Organization page.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
stevericketts
Posts: 10
Joined: Sun Feb 12, 2006 2:50 pm

Re: Copying .aip's

Excellent!! I knew you'd have the answer for that!

Many thanks,

Steve

Return to “Common Problems”