custom oenvironment variables not carrying over (Full Version)

All Forums >> [Management Products] >> Operating System Deployment



Message


sounddoc -> custom oenvironment variables not carrying over (6/3/2008 12:52:44 PM)

Hi all,

I have a custom HTA that comes up during my pre-install phase, in fact just after the wizard.hta finishes, which queries the tech for a username that the machine is being built for. I believe I am declaring the custom made variable the right way:
<snip>
oenvironment.Item("CLIENTID") = strClientID
<snip>
The HTA closes without any errors, and I assume that the environment variable is set. I looked through ZTIUtility.vbs and found this part on line 720:

           If Item <> "" then
               SetOSDV4 sVariable, Item
           End if

From what I can decipher this says that if the item name doesn't exist in variables.xml, then create it using the setOSDV4 function.

However, once the drive format portion is done, bdd.log shows restoring environment variables, and my custom variable doesn't exist. Am I doing this correctly?






sounddoc -> RE: custom oenvironment variables not carrying over (6/5/2008 9:59:56 AM)

I think I figured it out on my own: I added the custom variable in customsettings.ini to the Properties section, and I'm seeing this in bdd.log:

Added new custom property CLIENTID




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.34375