Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

silent install of security banner via msiexec command

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

Are You Ready for GDPR?

With the GDPR deadline set for May 25, 2018, many organizations are ill-prepared due to uncertainty about the criteria for compliance. According to a recent WatchGuard survey, a staggering 37% of respondents don't even know if their organization needs to comply with GDPR. Do you?

Question has a verified solution.

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

If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
How does someone stay on the right and legal side of the hacking world?
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

670 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