Install software on 300 PC's using MSIEXEC

Hi All,

I've been asked to install some software on 300 PC's.  The company has supplied an MSI that needs switches.  I can install it silently using MSIEXEC, however it requires Admin rights.

Any suggestions on what is the best way to deploy the software?

The domain controllers are all Windows Server 2008 R2 and the end-user PC's are all Windows 7

Many thanks
D
LVL 2
detox1978Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MasonWexlerCommented:
You can either use a Computer Group Policy to either install a software package or run a startup script to install the software.

https://support.microsoft.com/en-us/kb/816102
0
Radhakrishnan RSenior Technical LeadCommented:
Hi,

The best method will be assigned via group policy. Create a shared location where the machine or user can access the path and place the msi in it.

Edit the appropriate policy (I.e- default domain policy)>>Computer Configuration>>Policies>>Software Settings>>Software Instalaltion>>Right Click and New>>Package. Follow the wizard to complete.

So when the machine reboots next time the msi will be installed on them.
0
detox1978Author Commented:
Thanks for the suggestions.  That will install the MSI without switches.  How do I add switches?  Here is my MSIEXEC syntax

msiexec /i "MySoftware.msi" OPTION1="Blah Blah" OPTION2="Blah Blah" /quiet

Open in new window

0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Jeremy WeisingerSenior Network Consultant / EngineerCommented:
Be sure to test before rolling it out.

Note that when the policy applies, users will experience a one time longer startup due to the package installing.
0
Jeremy WeisingerSenior Network Consultant / EngineerCommented:
You can use a startup script applied through Group Policy.
https://technet.microsoft.com/en-us/library/cc779329(v=ws.10).aspx
0
Will SzymkowskiSenior Solution ArchitectCommented:
Your best method for deploying software (without using 3rd party deployemtn software)  is using a Computer Policy Startup Script (GPO). This allows you to deploy the software and it will install with elevated privledges. Do not use Software Installation Deployemnt with Group Policy because then you need to control the applicaiton install from Group Policy specificly.

Doing this via start up script allows the flexibility to install and manage the applicaiton install from the machine directly. You can then add code to your batch file which can create a directory and if that directory is present then don't reinstall the applicaiton.

Steps..
- create a share (everyone read/execute permissions)
- create your batch file with all of the valid parameters
- create a new GPO (give it a meaningful name)
- edit the GPO, Computer Configuration, Windows Settings, Startup Script
- point to your batch file
- Link the GPO to any OU's where the computers exist in your active directory domain

perform a gpupdate /force on a computer, reboot the machine and it should install correctly.

When doing something like this the key here is to make sure that you can manually run your batch file on your computer and it installs the software the way you want it to. Once this complete, just use the GPO to deploy it.

Test your GPO with one machine first.

Will.
0
Radhakrishnan RSenior Technical LeadCommented:
Yes, no need to add switches as it will install the msi automatically. Also, once you added the msi into gpo and go to properties, you will be able to see some options.
0
detox1978Author Commented:
Radhakrishnan Rajayyan, the MSI requires switches.  Omitting the switches means the software does not work.

Will Szymkowski, I tried that but it didnt elevated privileges?  Any ideas?
0
Jeremy WeisingerSenior Network Consultant / EngineerCommented:
A startup script is run as the system account and requires no elevation. When running it manually, right-click the script and select Run As Administrator.
0
NVITCommented:
If you want to try third party, I like to use PDQ Deploy by AdminArsenal. They have a free version, too.
0
Will SzymkowskiSenior Solution ArchitectCommented:
Will Szymkowski, I tried that but it didnt elevated privileges?  Any ideas?

When you deploy a computer startup script it will install using the System Account. This account has privledges to install applicaitons. The installation takes place before the user can login.

Will.
0
detox1978Author Commented:
Thanks for all the suggestions.

I've created an MFT file using Microsoft Ocra.

I'll do some more testing tomorrow, but don't need any further assistance at the miment.

Many thanks
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
McKnifeCommented:
You should ask the manufacturer if the switches for (let me quote you)
OPTION1="Blah Blah" OPTION2="Blah Blah"
can be incorporated into an .mst file ("a transform") which orca can create.  Maybe you meant .mst when writing .mft?

Using startup scripts or GPOs for MSI deployment... what is better?
I see disadvantages in both since the startup script will be problematic on win8.x and win10. In short: the fast startup feature which MS has introduced renders the combination of "I shutdown my computer and start it the next morning" into something different from doing a restart, because kernel hibernation is used when you shut down. With kernel hibernation active, no MSIs nor startup scripts will run! Naughty work, MS, eh? Those will only run on reboots. All for the sake of speed.

That teaches us that at-boot-time deployments might be old fashioned. WSUS can be used together with addons (wsus package publisher, a freeware) so we can deploy MSIs (with paramters, yes) at any time we like.
But you have win7 ;) no fast startup/kernel hibernation. but nevertheless, I hope you see the point.
--
Startup scripts: more control and options. Native GPO software deployment: easier for the beginner, enough for many packages.
--
" I tried that but it didnt elevated privileges?  Any ideas?" - you might have confused startup and logon scripts.
0
detox1978Author Commented:
Thanks for all the suggestions.  Using Microsoft's Orca to create an MFT file worked very well.

Many thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.