Installation deleting all products - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Celeborn.Thingol
Posts: 8
Joined: Mon Mar 15, 2010 10:53 am

Installation deleting all products

Hello,

A quick summary of my trial setup:

I have 4 products, roughly setup as the following:

Product Name: Test Product 1
Company Name : Test Company
Product Version : 1.0.0
------------
Product Name: Test Product 2
Company Name : Test Company
Product Version : 1.0.0
------------
Product Name: Test Product 3
Company Name : Test Company
Product Version : 1.0.0
------------
Product Name: Test Product 4
Company Name : Test Company
Product Version : 1.0.0
------------

All 4 products above install as default to [ProgramFilesFolder][Manufacturer]\[ProductName].


I had updated files to Product 1 and so I increased the version number in Advanced installer to 1.0.1 and it asked me to generate a new product code - to which I replied Yes.

I already have all 4 products,version 1.0.0, installed on my test machine (Windows XP SP3). When I run the new version 1.0.1 Product 1 installer, I can see that it is removing ALL 4 products and then installing the new Product 1 version. Shortcuts still remain on desktop for all 4 products, but source files have been deleted from program files for Products 2,3 and 4.



Is there a simple solution to this problem? i.e. When I change the version one product, it cannot interfere with the other 3?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Installation deleting all products

Hi,

I'm not sure why this happens. Did you use copies of the same project for all products? If so, please note that the correct approach is to use a custom project template. If you created each project from scratch, can you please send us the .AIP (project) files you are using to support at advancedinstaller dot com so we can investigate them?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Celeborn.Thingol
Posts: 8
Joined: Mon Mar 15, 2010 10:53 am

Re: Installation deleting all products

Yes they were copies i.e. When I create the first aip file and it was ok, I copied it and changed the Product name, files it linked to and upped the version number to 1.0.1 and then back down to 1.0.0. to reset the product code to allow the 4 products to install side by side (Without changing the version number, the product would come up with the message 'Already installed')

I will try the template method and see if that changes anything.
Celeborn.Thingol
Posts: 8
Joined: Mon Mar 15, 2010 10:53 am

Re: Installation deleting all products

I see in the source of the AIP file, that following line is the same in all builds:

<ROW Property="UpgradeCode" Value="{6FA68817-A991-47C3-AC74-6E869A8CF6CF}"/>

and all of the .exe ComponentId's are the same also.

Would this affect it?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Installation deleting all products

Hi,

Yes, the duplicate GUIDs are the cause. Try using the custom template feature to create your projects.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”