Deploying MSI via Group Policy with Switches

We need to deploy our new Document Management System and the company have given us the MSI and some script to do this, how do I use this script to apply it to the MSI being deployed with Group Policy. The installation also needs to be silent so the user does not have to input anything for the installation.

Supplied Script:
msiexec /i "Hyland Unity Client.msi" ADDLOCAL=Unity_Client,UpopAutomation CREATE_DESKTOP_SHORTCUTS="1" CREATE_MENU_SHORTCUTS="1" SERVICE_LOCATION_DATA_SOURCE="OnBase" SERVICE_LOCATION_DISPLAY_NAME="OnBase Production" SERVICE_LOCATION_NT_AUTH="true" SERVICE_LOCATION_SERVICE_PATH="https://dms.TheCompany.com/AppServer/Service.asmx"
tony_youngAsked:
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.

Radhakrishnan RSenior Technical LeadCommented:
Hi,

I am not sure about the script as it wasn't mentioned any location about the MSI or didn't mentioned any location about the registry.

The normal procedure to deploy a msi via gpo is very easy which can be achieved by following this steps  http://www.advancedinstaller.com/user-guide/tutorial-gpo.html

Hope this helps
0
Benjamin VoglarIT ProCommented:
Hi tony_young.


Radhakrishnan give you a good link but maybe it will be easier for you to watch  video demo. :)

Deploying MSI with GPO is Quite easy. Just folow the video:

https://www.youtube.com/watch?v=4ql6swJrn_E
0
tony_youngAuthor Commented:
Hi,

I guess the question is how do I add switches to an MSI install.

This is the code to install locally using the command line

MySoftware.msi ADDLOCAL="Unity_Client,UpopAutomation" CREATE_DESKTOP_SHORTCUTS="1" CREATE_MENU_SHORTCUTS="1" SERVICE_LOCATION_DATA_SOURCE="OnBase" SERVICE_LOCATION_DISPLAY_NAME="OnBase Production" SERVICE_LOCATION_NT_AUTH="true" SERVICE_LOCATION_SERVICE_PATH="https://dms.TheCompany.com/AppServer/Service.asmx"

Open in new window

0
msifoxCommented:
It might be possible without a script: Edit the MSI file with a tool like Orca, and add these options to the Property table.
Alternatively you can use Orca to create an MST file which effectively does the same (can be deployed as modification).

If you really need the script, this is not well supported in GPO deployment. You can declare a script as startup script. But that runs always when a computer boots up, so you must add logic to that script to terminate if the software is already installed.
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
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.