I need some help to create a custom pane with custom variables. I'm trying since several days to figure out how it has to be done, but I keep on failing :-(
I have WDS & MDT (no SCCM)
What I need to accomplish:
Custom Pane with dropdown selection of Country & then depend of this a 2nd dropdown with cities belonging to this country.
Country and city should be already pre-selected by a variable which is set in cs.ini under GATEWAY. Default value can't be hardcoded as it does change sometimes and the user needs to be able to change the pre-selection.
I need both custom values (country & city) later on for correct computernaming and for the domain join OU path.
What I have so far:
I added a new
CustomPane (Location) with the MDT Wizard Editor and the following HTML code directly after the "Select Task Sequence" pane:
<H1>Specify the location you want to install the device for.</H1><table><tr><tdcolspan=2><H4></H4></td></tr><trvalign=top><tdwidth="80px"><imgsrc="DeployWiz_Language.png"></td><tdwidth="100%"><p>Select country:</br><SELECTNAME="CS_Country"><optionvalue="DE">Germany</option><optionvalue="UK">United Kingdom</option><optionvalue="...">...</option></SELECT></p><p>Select site:</br><SELECTNAME="CS_Site"><optionvalue="FR">Frankfurt</option><optionvalue="LO">London</option><optionvalue="...">...</option></SELECT></p></td></tr></table>
cs.ini
[Settings]
Priority=Make,Model,DefaultGateway,Default
Properties=MyCustomProperty,CS_Country,CS_Site
[Default]
;Serialnumber shorter then 8 digits should be filled with leading 0 and greater then 8 only used the last 8 digits
OSDComputerName=%CS_Country%-%CS_Site%-%SERIALNUMBER%
...
[DefaultGateway]
1.2.3.4=DEFR
5.6.7.8=UKLO
...
[DEFR]
DeployRoot=localserver
CS_Country=Germany
CS_City=Frankfurt
The custom variables don't work and I don't know how to make this dropdown dependency working. I assume I'm missing a VBS connected to this CustomPane to work correctly and to parse/retrieve the values from CS.ini ?
I would apreciate any help to get this somehow working correctly.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Hi,
I need some help to create a custom pane with custom variables. I'm trying since several days to figure out how it has to be done, but I keep on failing :-(
I have WDS & MDT (no SCCM)
What I need to accomplish:
Custom Pane with dropdown selection of Country & then depend of this a 2nd dropdown with cities belonging to this country.
Country and city should be already pre-selected by a variable which is set in cs.ini under GATEWAY. Default value can't be hardcoded as it does change sometimes and the user needs to be able to change the pre-selection.
I need both custom values (country & city) later on for correct computernaming and for the domain join OU path.
What I have so far:
I added a new
CustomPane (Location) with the MDT Wizard Editor and the following HTML code directly after the "Select Task Sequence" pane:
cs.ini [Settings] Priority=Make,Model,DefaultGateway,Default Properties=MyCustomProperty,CS_Country,CS_Site [Default] ;Serialnumber shorter then 8 digits should be filled with leading 0 and greater then 8 only used the last 8 digits OSDComputerName=%CS_Country%-%CS_Site%-%SERIALNUMBER% ... [DefaultGateway] 1.2.3.4=DEFR 5.6.7.8=UKLO ... [DEFR] DeployRoot=localserver CS_Country=Germany CS_City=Frankfurt
The custom variables don't work and I don't know how to make this dropdown dependency working. I assume I'm missing a VBS connected to this CustomPane to work correctly and to parse/retrieve the values from CS.ini ?
I would apreciate any help to get this somehow working correctly.
Thanks!
Share this post
Link to post
Share on other sites