Solved

silent install of security banner via msiexec command

Posted on 2016-11-11
4
117 Views
Last Modified: 2016-11-16
BACKGROUND: I am able to SUCESSFULLY install a security banner program via it's GUI which allows me to manually choose configuration settings (background color, leading text, trailing text, etc). HOWEVER, I am in the process of building a custom windows 10 image that includes the security banner program. The intent is to deploy the security banner program as a SILENT install with the custom Windows 10 image in my automated environment.

THE PROBLEM: By default, the silent install of the security banner program automatically selects the configuration settings (background color, leading text, trailing text, etc.). Instead, I would like to specify the configuration settings I want displayed in the silent install command. In my automated environment, I'm using the following silent install command:

msiexec.exe /i "C:\Example.msi" /qn

THE QUESTION: How do I add specific configuration settings in my silent install command for msiexec? In my research of the msiexec command, it mentions specifying public properties and provides one example. My testing of that example has not worked for me. Any ideas what I'm doing wrong????
0
Comment
Question by:jslaught
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 35

Expert Comment

by:Kimputer
ID: 41883974
The developer of that MSI file should provide you with the info and the options available. Experts here can't just guess how to configure an unknown MSI file.

The developer should give you some of these options:

-use MSI flags: ex msiexec.exe /I "C:\Install.msi" /QN OPTION1=A PREF2="abcd"
-use MSI tranform files (need third part software to do this, ex Orca): msiexec.exe /i C:\installer.msi TRANSFORMS="mytransformfile.mst" /qn
-use config files after install: ex. copy preferences to c:\users\abc\appdata\roaming\program\
-use registry: ex adjust HKCU\Software\Program\preference1="abc"

As you see, my examples included OPTION1, and PREF2, but in all 4 cases, these options/value pairs ARE ONLY KNOWN to the developer. That's why your example didn't work, you probably  took it from another application.
0
 

Author Comment

by:jslaught
ID: 41884293
Thanks for the comment. If I go the registry route and I have the banner.msi executable and a registry file with the appropriate registry entries I want in the file, how would I tie them both together on a command line?
0
 
LVL 35

Accepted Solution

by:
Kimputer earned 500 total points
ID: 41884907
No, you have to deploy the registry SEPERATELY (with your own preferred method), AFTE.R the MSI is successfully installed.
0
 

Author Closing Comment

by:jslaught
ID: 41890667
was able to find the right answer I wanted from the experts. It's always good to get answers that work.
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A hard and fast method for reducing Active Directory Administrators members.
Ready for our next Course of the Month? Here's what's on tap for June.
Six Sigma Control Plans
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question