Solved

silent install of security banner via msiexec command

Posted on 2016-11-11
4
52 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
  • 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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

This story has been written with permission from the scammed victim, a valued client of mine – identity protected by request.
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now