Solved

Need silent install for .exe installer

Posted on 2011-09-29
10
588 Views
Last Modified: 2013-11-14
I'm building a task sequence in SCCM to create a baseline image for our client workstations.  I have three different programs who just have.exe installers, with no command line option to run them siliently.  I know one option is an MSI wrapper.  I've seen several discussions on this with a wide variety of answers.

Is an MSI wrapper the best road for me to follow?  Are there other options?

Thanks!!

KH
0
Comment
Question by:RhoSysAdmin
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 36817237
MSI wrapper is never good option, there's much easier zap files for that; but in any case the installation is supposed to be able to run without user interaction. If it can't, then you have to interact.
0
 
LVL 7

Expert Comment

by:CSI-Windows
ID: 36817309
RhoSysAdmin,

An "MSI Wrapper" is not an option as they rely on being able to make the contained setup.exe silent via the setup.exe's switches.

ZAP files do not work with SCCM and even in Group Policy they have key limitations that make them unworkable, namely the user must select the software from a new tab in Add / Remove Programs and the install does not receive elevated privileges from any background source (user must be an admin to install).

Your options are:
a) to repackage the EXEs to be silent (doesn't have to be repackaged into MSIs when you are using SCCM to distribute).
b) attempt to automate the install UI using something like AutoIt.  This can be challenging to accomplish - but I'm not sure any more challenging than learning a repackaging tool.


0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 36817428
> ZAP files.. <follows the list of drawbacks>

With sms it's not necessary anyways, sms can run setup.exe. Then there's startup/logon script. But in most scenarios I saw where the suggestion to wrap setup.exe into an MSI  comes up, the same is achievable by zap files. So it was kinda general comment related mostly to the "wide variety of answers".
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 36817432
> to repackage the EXEs to be silent (doesn't have to be repackaged into MSIs

could you tell, if not MSI, what else could it be repackaged into?

0
 

Author Comment

by:RhoSysAdmin
ID: 36817448
The problem is my setup.exe launches a wizard that has to be manually clicked through, which is frustrating b/c the default install is just fine for all three of the apps I'm working with.  SCCM can start these installers, but cannot complete them for me b/c they all require user interaction.

I'm not sure the zap files are an option b/c I don't want to push these with GPO's.  I want to build a baseline image to use the .wim I create to do OSD with SCCM.

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 7

Expert Comment

by:CSI-Windows
ID: 36817467
vadimrapp1,

Wise Package Studio allows repackaging into either MSI or into their traditional Wise Script (WSE) language which can generate a new setup.exe. Repackaging into a new, silent setup.exe was the standard procedure before MSI came along and for someone unfamiliar with MSI it could be more productive in the short term than learning a bulk of MSI knowledge for a one-time need.

I'm really not interested in personal competitions on these threads - you and I both have items to contribute and help visitors find solutions to their problems.

0
 
LVL 11

Accepted Solution

by:
TheGorby earned 500 total points
ID: 36817994
It sounds to me like AutoIT is perfect for this. You can compile the script as an EXE that calls the original setup.exe from a network or other available location.

To have the script click certain buttons on certain windows for you, you'll really only need to learn how to use 4 different AutoIT functions: Run() [or possibly RunAs()], WinWait(), WinActivate() and ControlClick(). AutoIT includes an in-depth help file that explains how to use those functions, but of course if you had any more questions I'll help you out.

The problem you're having is the exact reason I started using/learning AutoIT.
0
 

Author Comment

by:RhoSysAdmin
ID: 36818288
Considering Wise is not free and AutoIT is, I'll give AutoIT a shot.  I may be back w/ AutoIT questions tomorrow.

Thanks to everyone for all the quick responses!

0
 

Author Closing Comment

by:RhoSysAdmin
ID: 36818294
Expert provided reference to a product that may help me.
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 36818315
In fact, AutoIT was first suggested in comment http:#36817309
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

One of the frequent problems with the installations is when some file or registry entry is not removed from the system upon un-installation of the product. Clean removal is always highly desirable. One major reason for that is badly authored inst…
I have been scripting applications way too long and can never remember how to create an ISS file.  So I decided to write this article to act as my own knowledge base for future reference, and hope you will also benefit. An ISS file is a response …
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

937 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

5 Experts available now in Live!

Get 1:1 Help Now