Jump to content


  • 0
Strikers

MDT Wizard Editor - Creating custom pane & variable

Question

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:

<H1>Specify the location you want to install the device for.</H1>

<table>

  <tr><td colspan=2>
    <H4></H4>
    </td></tr>

  <tr valign=top>

    <td width="80px">
      <img src="DeployWiz_Language.png">
    </td>

    <td width="100%">
      <p>Select country:</br>
    <SELECT NAME="CS_Country">
      <option value="DE">Germany</option>
      <option value="UK">United Kingdom</option>
      <option value="...">...</option>
    </SELECT>
  </p>

<p>Select site:</br>
<SELECT NAME="CS_Site">
  <option value="FR">Frankfurt</option>
  <option value="LO">London</option>
  <option value="...">...</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.

Thanks!

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

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.