Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

silent install of security banner via msiexec command

Posted on 2016-11-11
4
Medium Priority
?
141 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 36

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 36

Accepted Solution

by:
Kimputer earned 2000 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

New Tabletop Appliances Blow Competitors Away!

WatchGuard’s new T15, T35 and T55 tabletop UTMs provide the highest-performing security inspection in their class, allowing users at small offices, home offices and distributed enterprises to experience blazing-fast Internet speeds without sacrificing enterprise-grade security.

Question has a verified solution.

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

This article is about my experience upgrading my consulting machine to Windows 10 Version 1709 (The Fall 2017 Creator Update)
It is a real story and is one of my scariest tech experiences. Most users think that IT experts like us know how to fix all computer problems. However, if there is a time constraint and you MUST not fail the task or you will lose your job, a simple …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Screencast - Getting to Know the Pipeline

963 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