Zsolt Kollarits
Posts: 366
Joined: Fri May 29, 2015 10:36 am

Prerequisite installation problem since upgrading from AI 19.7 to AI 22.7

Hi,

We just upgraded our .aip project from AI 19.7 to AI 22.7 (opened with AI 22.7, and re-saved, we did not do anthing else apart from that). Now we are getting an error (screenshot) when we are trying to install our TheServer.exe with ALL of the features we have. Our Office feature has a prerequisite, and it seems that prerequisite has some problems.

Could you please tell us why this happens now? I attached the config of that prereq as well.

Best regards,
Zsolt
Attachments
AI_prereq_config.png
AI_prereq_config.png (38.88 KiB) Viewed 1731 times
office_prereq_error.png
office_prereq_error.png (249.51 KiB) Viewed 1731 times
Catalin
Posts: 7504
Joined: Wed Jun 13, 2018 7:49 am

Re: Prerequisite installation problem since upgrading from AI 19.7 to AI 22.7

Hello Zsolt,

Apologies for the quite delayed reply on this.

If possible, could you please resend the AIP file by email as I wasn't able to grab it in time?

I've checked right now and it looked like the link expired, unfortunately.

Quick Note: at a first glance, we can see that the package is launched with wrong parameters - that's what the error suggests to us.

If you remove the "/passive /norestart" and leave only the property there, are you still encountering this issue?

You can then place "/passive /norestart" using the "Configure" button into the "Silent" field.

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

Re: Prerequisite installation problem since upgrading from AI 19.7 to AI 22.7

Hi,

I've just sent you the file again, with WeTransfer.

Best regards,
Zsolt
Catalin
Posts: 7504
Joined: Wed Jun 13, 2018 7:49 am

Re: Prerequisite installation problem since upgrading from AI 19.7 to AI 22.7

Hello Zsolt,

Thank you for sending the files.

I think the issue here comes from the following:
Screenshot_37.png
Screenshot_37.png (29.36 KiB) Viewed 1699 times

The AI_PREPREQ_UILEVEL_SWITCH property basically contains the field from the "Silent UI" field, as you have set the UI Level to "Silent install (no UI)".

This was a bit confusing to our customers and therefore we removed that in version 22.8 (our latest) and rolled back to a similar approach we had before.

So, the entire command line is:

Code: Select all

/passive /norestart /q
and that's what gives this error, I think.

The solution would be to leave the "Command Line" field with only the property and then input in the "Silent UI" field the command line, e.g.: /passive /norestart

Could you please try that and let me know if that helps?

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

Re: Prerequisite installation problem since upgrading from AI 19.7 to AI 22.7

Hi Catalin,

Is it also an option that we upgrade to AI 22.8, and that is all? Or AI 22.7 is already modified our .aip file in this strange manner, so we need to "revert it" manually?

Best regards,
Zsolt
Catalin
Posts: 7504
Joined: Wed Jun 13, 2018 7:49 am

Re: Prerequisite installation problem since upgrading from AI 19.7 to AI 22.7

Hello Zsolt,

For now, I would advise waiting for 22.9 version as it will be released quite soon.

Regarding the fix, all you need to do is follow the steps I presented above and then the prerequisite should be working just fine.

If you want, you can download the older version of Advanced Installer and use the backup copy that is automatically created when you go with a newer version (it is saved in the same location of the project and has the "back" string in the name) - to completely revert this.

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

Re: Prerequisite installation problem since upgrading from AI 19.7 to AI 22.7

Hi Catalin,

We upgraded to AI 22.9, which partailly fixed this issue. However in a certain scenario some prerequisites still cannot be installed in silent mode:
- if we have a lower version of either the ASP NET or the .Net Desktop Runtime prerequisites pre-installed on the PC
- and then we install our TheServer.exe with /q or /qn flag
- then our installation fails with 1603 error.

Note: we try to install our product with this command:
" "C:\Test\Setup\TheServer.exe" /exenoui /exelog "C:\Test\Setup\ServerInstallPre.log" /qn /L* "C:\Test\Setup\ServerInstallTask.log" /norestart"

I will send you the logfile, our .aip via email.

Best regards,
Zsolt
Catalin
Posts: 7504
Joined: Wed Jun 13, 2018 7:49 am

Re: Prerequisite installation problem since upgrading from AI 19.7 to AI 22.7

Hello Zsolt,

Thank you very much for the provided resources.

I could see in the log file that it somehow fails stating that the preerquisite was not correctly installed.

However, on my end, I wasn't able to reproduce the same issue.

I have pre installed ASP .NET 8.0.1:
Screenshot_60.png
Screenshot_60.png (9.54 KiB) Viewed 991 times

I have then installed your setup and everything seemed to be working as expected:
Screenshot_61.png
Screenshot_61.png (18.04 KiB) Viewed 991 times

The above is taken from the installation log.

Are you able to reproduce this on multiple machines, or does it happen on one machine only?

If you are able to reproduce this on multiple machines, could you please let me know if I perhaps missed a step here when trying to repro the issue?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”