md8070
Posts: 24
Joined: Thu Nov 10, 2011 9:58 pm

silent prerequisite? is it possible?

curious if it is possible to create an install with prerequisites that can install everything silently

here is my very simple MSI, actually EXE created with Advanced installer 8.9
(only mentioning the things that I have changed even though they may not matter)

Product Information\Product Details
Uncheck "Register product with Windows Installer" (this is going to be a wrapper)

Product Information\Install Parameters
PackageType is "64bit package for x64 processors"
Check "Limit to basic user interface..."
Check "don't save system restore points for installation"

Requirements\Prerequisites
Add one prerequisite, "Visual C++ 2010 Redistributable x64", to Pre-install
On the Properties page: uncheck "Continue with main installation even..."
On the Setup Files page:
"use files from disk" and select the file vcredist_x64.exe which I downloaded from Microsoft
Full UI = /q /norestart
Basic UI = /q /norestart
Silent (no UI) = /q /norestart

Resources\Registry
New registry key under HKLM and one registry value under that

Deployment\Media
on the page Bootstrapper
Check "Create EXE setup file"
Select "Include install files in EXE
Select "included in EXE bootstrapper"
Extract location = c:\temp
MSI command line = /qn

Even after all this, when I run the EXE I get a window that's telling me "Welcome to the Prerequisites Wizard"
Itried to run the EXE with /qn and /qb but no changes

is this possible? what am i missing?

thanks much
michbar89
Posts: 4
Joined: Thu Feb 09, 2012 11:19 am

Re: silent prerequisite? is it possible?

I Have the same problem
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: silent prerequisite? is it possible?

Hello,
Even after all this, when I run the EXE I get a window that's telling me "Welcome to the Prerequisites Wizard"
A solution you ca try is to set the bootstrapper to basic UI so the user doesn't get confused( "Dialogs" page -> "Bootstrapper UI" -> "UI Level" combo box ).

Another solution you can try is to set the prerequisites as feature-based. Although with this solution you could never silently install the main package.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
md8070
Posts: 24
Joined: Thu Nov 10, 2011 9:58 pm

Re: silent prerequisite? is it possible?

your first suggestion worked for me, thank you
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: silent prerequisite? is it possible?

You're welcome

Return to “Common Problems”