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><SELECTNAME="CS_Country"class=WideEditlanguage="vbscript"><optionvalue="ES">Spain</option><optionvalue="PT">Portugal</option></SELECT></p><p>Select site:</br><SELECTNAME="CS_Site"class=WideEditlanguage="vbscript"><optionvalue="BAR">Barcelona</option><optionvalue="LIS">Lisbon</option></SELECT></p><p>Select OU country:</br><SELECTNAME="CS_OUCountry"class=WideEditlanguage="vbscript"><optionvalue="Spain">Spain</option><optionvalue="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.....
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 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:
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!!
Share this post
Link to post
Share on other sites