m4a.c4
Posts: 24
Joined: Mon Mar 30, 2020 9:25 pm

Silent install with prerequisites

Hi There,

We have an EXE installation file that is dependent on another EXE installation file. We are using the New Prerequisite command to generate this in our DevOps pipeline as the dependent installer is managed by us and changes regularly.

We have been trying to get silent installations working with our main and dependent installers. We haven't had much luck as the New Prerequisite option does not support No UI commands specifically. When we add the prerequisite into our AIP file, we cannot use a variable in the minimum version check as this seems to not be respected during our testing.

We were wondering if there is either
a) a mechanism to pass through any CLI commands from the main installer to the dependent installer without hardcoding CLI commands.
b) another way to achieve the above

Thanks,
Connor
Catalin
Posts: 7520
Joined: Wed Jun 13, 2018 7:49 am

Re: Silent install with prerequisites

Hello Connor,

If I understand this correctly, I believe what you are looking for here is the /UpdatePrerequisite option with its "-cmd_line" parameter.

This should allow you to specify what command to be passed to your prerequisite.

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
m4a.c4
Posts: 24
Joined: Mon Mar 30, 2020 9:25 pm

Re: Silent install with prerequisites

Hi Catalin,

We have tried that. The -cmd_line affects all types of installation (not just a slient install) from what we have found.

If we add in the silent commands to the -cmd_line then during the full UI install it pauses as it silently installs the Prerequisite.

We only want our Prerequisite to be silent if the main executable is ran under a silent install scenario.

Thanks,
Connor
Catalin
Posts: 7520
Joined: Wed Jun 13, 2018 7:49 am

Re: Silent install with prerequisites

Hello Connor,
We have tried that. The -cmd_line affects all types of installation (not just a slient install) from what we have found.
This is indeed true.

Unfortunately, I'm afraid we do not currently have any support to achieve your scenario.

I will, however, add this improvement on our TODO list and hopefully it will be implemented in a future version of Advanced Installer.

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

Return to “Common Problems”