Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

passing parameters to MSI for a Group Policy install

4,907 views
Skip to first unread message

Craig Bumpstead

unread,
Feb 1, 2008, 12:28:22 AM2/1/08
to
Hi,

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

Florian Frommherz [MVP]

unread,
Feb 1, 2008, 1:40:15 AM2/1/08
to
Howdie!

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.

Craig

unread,
Feb 1, 2008, 3:55:46 PM2/1/08
to
Hi,
The install would be done below.

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

Florian Frommherz [MVP]

unread,
Feb 2, 2008, 7:13:12 AM2/2/08
to
Howdie!

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.

0 new messages