Balaji
Posts: 53
Joined: Wed May 06, 2020 9:15 am

silent execution of a bootstrapper executable

Tue Aug 25, 2020 11:22 am

Hi,
I have prepared one bootstrapper using advanced installer.
I have selected "Run as administrator" option from the install parameters page.

Use case : Install bootstrapper silently using command line

Steps followed :

1. We have built aip project.
2. Open command prompt with normal user.
3. Run the following command
start "E:\Bootstrapper_Dir\SamplePrj.exe" /qn

Problem :

When I am trying to run this command, system asks for administrative privileges prompt.
I want total silent execution, it should not ask for admin privileges.

So, how to run this command with administrative rights in case of bootstrapper executable. (I don't want to run command prompt with administrative rights)

I found such command for msi on AI community but it is not working in case of executable.

Will you help me on this front?

Thanks,
Balaji

Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: silent execution of a bootstrapper executable

Thu Aug 27, 2020 6:16 am

Hi Balaji,

Since your package will be installed per-machine, you need to grand admin rights in order to install it. Either run the Command Prompt as administrator or grant permissions when the UAC prompts at the beginning of the installation. It is impossible otherwise.

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

Return to “Feature Requests”