Silent Install Prerequisite - Advanced Installer Community
AylinFrzn
Posts: 2
Joined: Mon Jun 01, 2026 10:11 am

Silent Install Prerequisite

Hello, I'm trying to install .NET Framework and VS Code as prerequisite before the main package silently but, no parameter in the suggested on internet works.
User sees UI and needs to click buttons to accept terms and go to next page which is not something I'm looking for.

I use built-in .NET Framework 4.8.1 from disk (it has default /q /norestart but doesn't work)
I use VS Code setup.exe as a custom package since there's no built-in option for that.
I also tried filling all three command lines with the same parameters.

Any ideas on how can I make their UI silent?
Catalin
Posts: 7847
Joined: Wed Jun 13, 2018 7:49 am

Re: Silent Install Prerequisite

Hello and welcome to our forums,
I use built-in .NET Framework 4.8.1 from disk (it has default /q /norestart but doesn't work)
Do you install your main setup package (the one that contains .NET Framework) silently or with full UI?

If it is the latter one, you will need to add the silent installation parameter for all fields.
Screenshot_130.png
Screenshot_130.png (7.01 KiB) Viewed 21946 times

This way, .NET Framework will be installed silently when your main setup is installed with full UI as well.
I use VS Code setup.exe as a custom package since there's no built-in option for that.
Although old,this StackOverflow thread should give you enough information on how to install VSCode silently:

How to install Visual Studio Code silently (without auto open when installation ends)?

Basically the silent installation should looke something like this:

Code: Select all

VSCodeSetup-x64-1.71.2.exe /VERYSILENT /NORESTART /MERGETASKS=!runcode
This means that in Advanced Installer, you only need to pass the command line, like this:

Code: Select all

/VERYSILENT /NORESTART /MERGETASKS=!runcode
Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
AylinFrzn
Posts: 2
Joined: Mon Jun 01, 2026 10:11 am

Re: Silent Install Prerequisite

Hello Catalin, thank you so much for your reply. My main installer is Full UI and I have tried all parameters you said for both .NET and VS Codes before, but unfortunately none worked. I will check OverStackFlow Link you've sent me to see if I can find some other solution and I'll be reallt thankul if you reply back when you found out some other way or at least the reason of my problem.

I tried silent installing the applications with parameters you said via CMD manually and it worked, meaning Advanced Installer is not passing them to the prerequisite package properly. I asked ai and it told me it can also be Advanced Installer version bug. I'm using 23.2 could that be it?

Regards,
Aylin.
Catalin
Posts: 7847
Joined: Wed Jun 13, 2018 7:49 am

Re: Silent Install Prerequisite

Hello Aylin,

First of all, you are always welcome!

Secondly, I'm sorry to hear that still did not work.

If possible, could you please forward me a copy of your Advanced Installer Project file (.AIP file) by email at support at advancedinstaller dot com so I can have a look over its' settings and see if I can find the culprit?
I asked ai and it told me it can also be Advanced Installer version bug. I'm using 23.2 could that be it?
This is not out of the question, for sure, considering you are using a version that is ~5 months old.

If you have the possibility, you can install Advanced Installer 23.7 (the latest version) on a VM and try to build your Advanced Installer project over there and retest this to make sure there wasn't a bug in the older version.

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

Return to “Common Problems”