Install MSI file withc switches by startup script in gpo
Posted on 2010-11-13
I have an msi file that I want to install. It`s a software from clue (dictionary) and to deploy this, I need to add switches for product code, what to install and so on.
The switch that I use now that works fine from command line is :
msiexec /qn /l* c:\temp\clue.log /i "\\pathtonetworkshare\library\software\Clue\Clue 8.3 for Windows.msi" CUSTOMER="CompanyName" PROGRAMCODE="xxx-xxx-xxx-xxx" DICTKEYS="xxx-xxx-xxx-xxx" INSTALLDIR="c:\clue" LANGUAGE="UK" CLUEINSTALLATIONTYPE="c:\clue" ADDIN=1 SHOWNONO=1 SHOWUKUK=1 SHONNNN=1 SHOWSVSV=1 NOUKMX=1 DENOMX=1 FRUKMX=1 ESUKMX=1 ESNOMX=1 SVUKMX=1 POUKMX=1 DAUKMX=1
How would I distribute this by GPO? I tried adding this code into notepad, save it as clue.bat and add it to startup scripts for computers, but it didn`t work. (The share I have given domain computers access).
Could I add this to a vbs script? How to write this, with rune once command and so on.
Or, is there a way to create a new msi file, just with these switches?