Hallo! I have a little question about ModelAlias. I deploy Windows XP with the driverpath1 variable in the cs.ini. Now we have the HP nc6320 which has more model names between (). Here is my cs.ini [Settings] Priority=SetModel, MMApplications, CSettings, Model, Default Properties=ModelAlias [SetModel] ModelAlias=#SetModelAlias()# UserExit=Userexit.vbs [Default] ResourceRoot=\\%SMSDP%\SMSPKGD$\LIZ002D5 OSInstall=Y UserDataLocation=NONE Home_Page=http://intranet/browser_start [SMS] SQLServer=SMSServerName Database=SMS_SMS Table=v_Program Parameters=PackageID,ProgramName SQLShare=SMSClient [HP Compaq nc6320] -- We need the ModelAlias here! DriverPaths1=\\server\Distribution$\Drivers\HP Compaq nc6320 [HP xw8600 Workstation] DriverPaths1=\\server\Distribution$\Drivers\HP xw8600 Workstation [HP Compaq dc7800 Convertible Minitower] DriverPaths1=\\server\Distribution$\Drivers\HP Compaq dc7800 [HP Compaq dc7800 Ultra-slim Desktop] DriverPaths1=\\server\Distribution$\Drivers\HP Compaq dc7800 [HP Compaq 8510p] DriverPaths1=\\server\Distribution$\Drivers\HP Compaq 8510p [CSettings] SQLServer=server Instance=SQLEXPRESS Database=ADMINDB_XP Netlib=DBNMPNTW SQLShare=ZTI_XP_OSD$ Table=ComputerSettings Parameters=UUID, AssetTag, SerialNumber, MacAddress ParameterCondition=OR [MMApplications] -- We don´t need this section SQLServer=server Instance=SQLEXPRESS Database=ADMINDB_XP Netlib=DBNMPNTW SQLShare=ZTI_XP_OSD$ Table=MakeModelSettings Parameters=Make, ModelAlias ModelAlias=Model
But I don´t want to use the ModelAlias to query the database. I want to use ModelAlias to set the
[HP Compaq nc6320] DriverPaths1=\\server\Distribution$\Drivers\HP Compaq nc6320
for all HP nc6320 Models. Is it possible to set the Model to ModelAlias to read the right section for HP nc6320 in the CS.ini? Or is it possible to set the DriverPaths1=\\server\Distribution$\Drivers\HP Compaq nc6320 in the database?
|