"Same version found" error message - why? - Advanced Installer Community
schwarzsurfer
Posts: 49
Joined: Wed Feb 10, 2016 11:06 am

"Same version found" error message - why?

Hello,

if I install a package and open the msi file again the maintenance dialoge is opened and I can choose between modify, repair and uninstall. But if I rebuild the msi package without changing anything and without changing the product code or the product version I get the error message, that the same version is already installed and the maintenance dialoge will not open. Why is this? It should be exactly the same package and open the dialoge, shouldn't it?

Greetings

Marian
Ich weiß, dass ich nichts weiß!
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: "Same version found" error message - why?

Hi Marian,

Please keep in mind that this is the normal behavior when a package with the same Product Code and the same Product Version is rebuild. Each package has also a Package Code assigned to it which is changed after each rebuild and since that Package Code is different, the "another version is already installed" message will be displayed.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
schwarzsurfer
Posts: 49
Joined: Wed Feb 10, 2016 11:06 am

Re: "Same version found" error message - why?

Hm ok... thank you for your response :)

Marian
Ich weiß, dass ich nichts weiß!
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: "Same version found" error message - why?

You're welcome Marian.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
schwarzsurfer
Posts: 49
Joined: Wed Feb 10, 2016 11:06 am

Re: "Same version found" error message - why?

Sorry, but I have to ask you again, because I don't get this version stuff working right.

I have a package with version 0.02.0807 which is installed. Now I upgraded some files and changed it to 0.02.0808. When I want to install the new package it still says "Another version of this product is installed", but doesn't uninstall the old and reinstall the new package as it should. It shows the same behaviour, whatever I change the version to... for example 0.5.0808 or 1.0.2.0808 or...

This worked for me some time ago, but now it doesn't. Is my project broken or am I doing anything wrong?

I have another package with a version 9.00.0078 that should be upgraded to a 9.00.0080 and it shows the same behaviour.

Thank you very much!

Marian
Attachments
error.JPG
error.JPG (36.19 KiB) Viewed 9318 times
updates.JPG
updates.JPG (23.43 KiB) Viewed 9318 times
uninstall.JPG
uninstall.JPG (26.58 KiB) Viewed 9318 times
Ich weiß, dass ich nichts weiß!
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: "Same version found" error message - why?

Hi Marian,

I'm not sure why you encounter this problem. Can you please send me two consecutive versions of your projects to support at advancedinstaller dot com, so I can investigate them and try to find the problem?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
schwarzsurfer
Posts: 49
Joined: Wed Feb 10, 2016 11:06 am

Re: "Same version found" error message - why?

Do I have to change or to keep the product code?

Until now I always kept the product code...

Thank you!
Ich weiß, dass ich nichts weiß!
schwarzsurfer
Posts: 49
Joined: Wed Feb 10, 2016 11:06 am

Re: "Same version found" error message - why?

When I change the product code it works.... but shouldn't it work also with the same code?
Ich weiß, dass ich nichts weiß!
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: "Same version found" error message - why?

Hi,

The Product Code should be kept only when a patch is created for an application, otherwise it should be changed. However, if the "Uninstall a package with the same version (if found)" option is selected, the version installed on the machine should be removed by the bootstrapper even if the Product Code was not changed.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
schwarzsurfer
Posts: 49
Joined: Wed Feb 10, 2016 11:06 am

Re: "Same version found" error message - why?

hm ok, that doesn't work. I will send the aip to you.

Marian
Ich weiß, dass ich nichts weiß!
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: "Same version found" error message - why?

Hi Marian,

I looked over your project, tested it and it seems to be configured correctly. Are you sure that you launch the EXE file, not the MSI after you rebuild it?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
schwarzsurfer
Posts: 49
Joined: Wed Feb 10, 2016 11:06 am

Re: "Same version found" error message - why?

Yes, I start the setup from the exe, not from the msi...
Marian
Ich weiß, dass ich nichts weiß!
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: "Same version found" error message - why?

Hi Marian,

Can you reproduce this problem on multiple clean machines or in a new project? If so, can you please send me two consecutive packages that have this problem to support at advancedinstaller dot com, so I can test them and investigate the problem?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”