I'm working on consolidating all commonly requested software (as well as all software that we preinstall) into sms packages. I read the appdeploy package page for vmware server, but the commands given specify a serial number. Problem is, the serial number isn't a volume license number, we have ~200 licenses to distribute to any employee here who needs one.

So here are my questions:
-- If I remove the part that specifies a serial number, will it prompt for one?
-- Is there a way to have the msi installer pull the serial numbers from a database (they are currently in a mysql table)?

Perhaps VMware doesn't care if you use the same license key on all your computers as long as you have the needed licenses, but it just doesn't feel right.

thanks a ton! I think this is my first post on here :)

0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


Create an XML file such as this

<Computer Name="comp1" Serial="xxxx-xxxx-xxxx-xxxx1" />
<Computer Name="comp2" Serial="xxxx-xxxx-xxxx-xxxx2" />
<Computer Name="comp3" Serial="xxxx-xxxx-xxxx-xxxx3" />
<Computer Name="comp4" Serial="xxxx-xxxx-xxxx-xxxx4" />

Setup a vbs CA which reads this im gonna rattle this off my head so you may need to mess with the code a lil

strSource = session.property("SourceDir")

set objXML = CreateObject("MSXML.Document")
objXML.Load strSource & "serials.xml

set objDoc = objXML.DocumentElements
set objNet = CreateObject("Wscript.Network")

strComp = objNet.Computername

objNodeSerial = objDoc.SelectSingleNode("//Computer")

for each objNodeComputer in objNodeSerial.Childnodes
strComputerName = objNodeComputer.GetAttribute("Name")
strSerial = objNodeComputer.GetAttribute("Serial")
dicList.add strComputername, strSerial

strExists = dicList(strComputerName)

if strExists <> "" then session.property("SERIAL") = dicList(strComputername)

something like that should nail it.

im sure you get the idea
Answered 04/29/2007 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment