Jump to content


Strikers

New Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Strikers

  1. Hi, I need some help on probably a configuration issue that I have between my UDI & customsettings. My UDI has a customized Location pane for the user to select the country, site and OU the computer should be installed for. The default values for those 3 I have preset in the customsettings (see below pictures & ini) depending on the users gateway which shows fine in the UDI when it starts. But now the problem is if I change any of the 3 values in the UDI it just won't take the new value, it will still use the preset one from customsettings. I guess that I'm missing some vbs for my Location pane that removes the old value and sets somehow the new selected value?! Can someone help me here? XML content: <p>Select country:</br> <SELECT NAME="CS_Country" class=WideEdit language="vbscript"> <option value="ES">Spain</option> <option value="PT">Portugal</option> </SELECT> </p> <p>Select site:</br> <SELECT NAME="CS_Site" class=WideEdit language="vbscript"> <option value="BAR">Barcelona</option> <option value="LIS">Lisbon</option> </SELECT> </p> <p>Select OU country:</br> <SELECT NAME="CS_OUCountry" class=WideEdit language="vbscript"> <option value="Spain">Spain</option> <option value="Portugal">Portugal</option> </SELECT> If e.g. preset Spain and I change it to Portugal, the installation will proceed with Spain as value. USDComputerName shows ESBAR..... instead of PTLIS..... CustomSettings.ini [Settings] Priority=CS_Country,CS_Site,CS_OUCountry,Make,Model,DefaultGateway,Default Properties=MyCustomProperty,CS_Country,CS_Site,CS_OUCountry OSDComputerName=%CS_Country%%CS_Site%%SerialNumber% [ESBAR] CS_Country=ES CS_Site=BAR CS_OUCountry=Spain Thanks already now for any input!!
  2. 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!
×
×
  • 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.