Can't install different apps - 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!

danboc
Posts: 4
Joined: Sun Oct 07, 2007 3:02 pm

Can't install different apps

I am using AI for 3 different projects. Each has it's own product name and in each I have disabled modify and repair (leaving only the remove option).

I run the first installer which installs without a problem. When I run the second or third apps they do not allow install but only remove- even though they have not been installed!

Any ideas?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
When I run the second or third apps they do not allow install but only remove- even though they have not been installed!
I cannot reproduce this behavior on my test computer. How exactly you create those projects? Please give me more details.

Additionally send the AIP files (if does not contain any confidential information) or a small similar test case reproducing this behavior to support at advancedinstaller dot com so we can take a look.

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/
danboc
Posts: 4
Joined: Sun Oct 07, 2007 3:02 pm

Hi Gigi,

Here's what I did:

1. I created the first project and saved it
2. I duplicated the AI project file and renamed it
3. I opened the duplicate and changed the necessary parameters
4. Did the same for the third project

I am guessing the duplication of the AI project file has something to do with it...

The reason I duplicated is that most of the parameters (launch conditions/prerequisites/splash&banner/screen flow) are the same for all 3 projects.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Please give more details about how you duplicated the project. Did you use the "Duplicate" option in the "File" menu?

If used this option and the problem persists please send us the .aip files (if they do not contain confidential information) or a small test case reproducing this behavior to support at advancedinstaller dot com so we can investigate the problem.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
danboc
Posts: 4
Joined: Sun Oct 07, 2007 3:02 pm

I duplicated by choosing the file in Explorer then copying and pasting.

I didn't use the duplicate command. I didn't know one existed...

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

Hi,

Your problem occurs because the three MSI have the same Product Code.
The ProductCode property is a unique identifier for a particular product release, therefore you cannot install two (or more) MSI packages with the same product code on the same machine. You can read more about this here:
http://msdn2.microsoft.com/en-us/library/aa370854.aspx

A solution for your problem is to use the "Duplicate" option in the "File" menu because this option will automatically assign new GUIDs (including the Product Code) to the new MSI.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
danboc
Posts: 4
Joined: Sun Oct 07, 2007 3:02 pm

Thanks Cosmin! I'll give it a try.

Is there maybe a way to change this using Orca?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

You could use Orca to chage the Product Code, but I do not recommend it. It would be better if you used the "Duplicate" option in the "File" menu.

If you have any other questions don't hesitate to ask.

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

Return to “Common Problems”