Solved

silent install of security banner via msiexec command

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Optimized for private cloud infrastructures and datacenters, Nano Server is minimalistic, yet super-efficient, OS for services such as Hyper-V and Hyper-V cluster. Learn how you can easily deploy Nano Server and unlock its power!

679 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