Hi guys,
First thanks for all the help in the past.
A little background I have an image that I deploy out to a company that they are wanting to switch to end user installs. Becasue of that I need to hide the cd key and the admin password. What I thought is to dynamically build a script that the boot.wim would create a VBS file that would set the CD key and password parameters\variables. What I want to do is then pass them to my script that builds the sysprep.inf file dynamically.
So my question is how do I set values in a vbs and then call that vbs to pass parameters?
The first part is easy I believe:
ProdID = "1234-5678-abcd-efgh-ijkl"
AdminPassWord = "Password"
Except when I call this from my other script the values don't get set.
objWShell.Run "x:\settingVariables.vbs",0, True
'MsgBox ProdID' is blank
So what am I doing wrong?
Thanks for your help,
Randy
