I need to pass parameters to the .msi file for the install via Group
Policy. For example the server name. But I am not sure how it is done.
Could someone please point me in the correct direction.
Regards,
Craig
Craig Bumpstead schrieb:
> I need to pass parameters to the .msi file for the install via Group
> Policy. For example the server name. But I am not sure how it is done.
> Could someone please point me in the correct direction.
How would you pass those parameters if you install the MSI file by hand?
Easiest thing would be creating a MST file (Transform file) which
"alters" the installation-MSI file on given parameters.
Have a look at the Windows Installer SDK-Tool "Orca" - it lets you open
MSI files and create MST files where you can set the properties you wish.
cheers,
Florian
--
Microsoft MVP - Windows Server - Group Policy.
eMail: prename [at] frickelsoft [dot] net.
blog: http://www.frickelsoft.net/blog.
msiexec /i "<path>\ Extensions.msi" /qn
INSTALLDIR="<installationfolder>"
SERVERLOCATION="<URL or IP address of the Authentication Server>"
SERVERPORT="<Port of the Authentication Server>"
Regards,
Craig
Craig schrieb:
> msiexec /i "<path>\ Extensions.msi" /qn
> INSTALLDIR="<installationfolder>"
> SERVERLOCATION="<URL or IP address of the Authentication Server>"
> SERVERPORT="<Port of the Authentication Server>"
Go download Orca from Windows Installer SDK and open the MSI file with
it. First step you click "Transform" > "New Transform". From there, you
click the "Properties" table in the left pane. You should see the three
properties (INSTALLDIR, SERVERLOCATION, SERVERPORT) and be able to
change the values in there. After changing, save the transform file - it
should be saved as an MST. That MST kan be used for Group Policy
Software Installation deployment with the MSI.