Tatyana Mykhnevych
Posts: 40
Joined: Thu Feb 13, 2020 4:47 pm

Update ONLY minimum prerequisite version via cmd

Hello,

I build installer using cmd commands for AdvancedInstaller project.
I have Advanced Installer version 17.2.
Is there any way to update ONLY minimum feature-based prerequisite version via cmd?

Also when I use Update Prerequisite Option https://www.advancedinstaller.com/user- ... isite.html it creates new PreReqSearchComponent record in .aip file, not updates old one.

Looking forward to hearing from you.

Best regards,
Tanya
Attachments
Untitled.png
Untitled.png (57.37 KiB) Viewed 2493 times
Catalin
Posts: 6586
Joined: Wed Jun 13, 2018 7:49 am

Re: Update ONLY minimum prerequisite version via cmd

Hello Tanya,

I have run a few tests on our end and you are indeed right.

When using the /UpdatePrerequisite option, a new search will be added instead of the already existing one being updated.

I have added this improvement on our TODO list and hopefully this will be added in a future version of Advanced Installer.

Until then, I'm afraid the only workaround would be deleting the prerequisite (/DeletePrerequisite) and adding it once again with the configured version for your search (/NewPrerequisite).

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 6586
Joined: Wed Jun 13, 2018 7:49 am

Re: Update ONLY minimum prerequisite version via cmd

Hello Tanya,

This has been fixed in version 18.1 of Advanced Installer, released on March 23rd, 2021.

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

Return to “Building Installers”