Installing an EXE is not possible if created by AI 13.3. - Advanced Installer Community
Zsolt Kollarits
Posts: 409
Joined: Fri May 29, 2015 10:36 am

Installing an EXE is not possible if created by AI 13.3.

Dear Advanced Installer Support Team,

Yesterday we upgraded or Advanced Installer from version 13.2.2 to 13.3 and our first installation displayed us a dialog right in the beginning with a message of:

"An existing installation of <productname> was found on this system. The setup does not support a direct upgrade with this version. Please uninstall all existing packages before installing <productname>."

Apart from AI upgrade, we did not change anything else with our .aip project file. Obviously our machine does not contain our product at the time of the installation, it´s a virtual machine that we always set back to its base snapshot.

Standing back to the same base snapshot and installing an EXE file created by AI 13.2.2 works without any errors (the installation is just starting), while installint an EXE file created by AI 13.3 shows us the given message.

Could you please advise us something?

I attach a logfile too.

Best regards,
Zsolt Kollarits
Attachments
AI13.3_problem.txt
(340.82 KiB) Downloaded 267 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installing an EXE is not possible if created by AI 13.3.

Hi Zsolt,

I'm not sure why you encounter this error, but from the log file that you attached it seems that a launch condition fails in your package. Can you please send us your project to support at advancedinstaller dot com, so I can investigate it and try to find the problem?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installing an EXE is not possible if created by AI 13.3.

Hi Zsolt,

I looked over your project and I noticed that you use the result of some extended searches as launch conditions.

There was a change in Advanced Installer 13.3 where the extended searches that are not true are set to "0" instead of being left empty as it was in the previous versions. Because of this, the conditions that you use based on those searches are not evaluated as they were in the previous versions of Advanced Installer.

This modification was made in order to fix another problem, but it is under investigation now, so we can go back to the old behavior (set the search properties to empty in case of a false search).

Meanwhile you can use a condition like follows when you want to check if a search is false: MY_PROP = "0"

Sorry for the inconvenience.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Zsolt Kollarits
Posts: 409
Joined: Fri May 29, 2015 10:36 am

Re: Installing an EXE is not possible if created by AI 13.3.

Hi Eusebiu,

Please let me know if you revert the searches back from 0 return value to empty, because this is causing a big problem to us. As you can see in our current project, we heavily use searches in many diff. places and we wouldn´t like to rework all of the occurrences. Some mistakes could easily slip in while we refactor that.

That´s why we decided to wait for you as you mentioned there is a chance you´re going to revert it. Getting back empty values again would be highly appreciated!

Best regards,
Zsolt
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installing an EXE is not possible if created by AI 13.3.

Hi Zsolt,

Yes, we will get back to empty values in the next version of Advanced Installer, so you can, meanwhile, use an older version of Advanced Installer, then upgrade directly to the next version which should behave as expected.

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

Return to “Common Problems”