More recent version is already installed - 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!

kissack
Posts: 57
Joined: Fri Feb 04, 2011 11:45 am

More recent version is already installed

Hello,

I have two setup programs. They have similar structure and create IIS 7.0 websites, pools etc.
I created the second one by modifying the first one and saving it under different name and making sure that the product key is different. Looking into the AIP files the product key is different.

When I install the second one (later one) and then intent to install the first one, I get an error that more recent version of this is already installed and the setup program finishes.
I enabled logging during setup and this is one line that I think is related to the issue:
MSI (c) (94:64) [05:28:36:947]: Doing action: FindRelatedProducts
Action start 5:28:36: FindRelatedProducts.
MSI (c) (94:64) [05:28:36:963]: PROPERTY CHANGE: Adding AI_NEWERPRODUCTFOUND property. Its value is '{7884629E-3CCD-4D12-A36F-8153AA0FA58F}'.
Action ended 5:28:36: FindRelatedProducts. Return value 1.
MSI (c) (94:64) [05:28:36:963]: Doing action: AI_DOWNGRADE
Action start 5:28:36: AI_DOWNGRADE.
MSI (c) (94:64) [05:28:40:150]: Product: *** -- A more recent version of *** is already installed on this computer.

The found product code 7884629E-3CCD-4D12-A36F-8153AA0FA58F is different from the one I am trying to install.

Based on what does the installer decide that there is more recent version ? The two applications are being installed into different folders (inside common directory) and all other components (I hope) are separate. Any tips on where to look or any other information that might help to resolve this will be greatly appreciated.

Note: if I install the applications in reverse order, I don’t get the error.
Kissack
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: More recent version is already installed

Hi Kissack,

Please note that the recommended approach is to use custom templates:
- in the original project use the "File" -> "Save as Template..." menu to save a template project
- create a new project by selecting that template in Custom Templates tab from New Project dialog

This way all GUIDs and identification information are reset so they don't conflict with the original project.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kissack
Posts: 57
Joined: Fri Feb 04, 2011 11:45 am

Re: More recent version is already installed

Well, cannot afford to do that now, so apart from that you have some tips for what to look and compare ?? Thank you.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: More recent version is already installed

Hi,

You can try it again now and make a diff between the two projects to see what changed. Basically, all the GUIDs must be different. If you have a large project with a lot of components it's easier to use the custom template than manually generate new GUIDs.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kissack
Posts: 57
Joined: Fri Feb 04, 2011 11:45 am

Re: More recent version is already installed

OK thank you, will see which approach will use. Thanks again.

Return to “Common Problems”