views:

193

answers:

1

I wonder if I can automate WPI actions to setup a dev box in unattended mode, either with command line options or a configuration file. It looks like WPI takes a "URL" as a command line parameter but I have no idea what format the response should be in, and what it allows in general.

+1  A: 

I'm currently investigating this, thought I'd record what I've discovered so far.

webplatforminstaller.exe <configuration file> /id <wpi url>

configuration file: xml file defining the products that can be installed. See http://www.microsoft.com/web/webpi/2.0/webproductlist.xml for an example. If this parameter is not specified, the configuration file at that url will be used.

wpi url: wpi url that specifies a product to install. The format is wpi://productid/? where productid is the id of an entry in the xml file.

I'm still trying to figure out how to force the install to happen silently. I'll update if I find out how.

Rock Hymas
Great news! Godspeed! :)
ssg