04-26-2006 04:46 AM
04-26-2006 05:35 AM
Hi,
You should beable to login as an administrator and set that option up in the Configure Station Options of the Testexec.
Regards
Ray Farmer
04-26-2006 05:45 AM
Thanks for your reply Ray.
We have no problem configuring our development machines to automatically login tothe windows system user, we are now trying to distribute our TS System to a standalone machine that has no sequence editor or way of configuring the station options and so we need to distribute the fact that we want it to automatically login to the windows system user rather than configuring our System once the software is installed.
It is the TestExec.ini file that gets updated when you configure TS to automatically login to the windows user so I thought it would be as simple as including TestExec.ini in the build.
Regards
Steve
04-26-2006 06:30 AM
Steve,
I take you have a customised IO.
If you dont initialy have the testexec.ini file once deployed on your target system, then the file is generated using the default setting when you first run the OI application.
What is this the strange error you are seeing.
Do you use a third party installer or are you using the TestStand installer created by the deployment tool?
You might be able to run a sequencefile which setups up the login by teststand API call StationOption.AutoLoginSystemUser.
Regards
Ray Farmer
04-26-2006 07:11 AM
Yeah that's all good. It will generate a TestExec.ini but the default is NOT Login to System User. We need to override this default.
How much of the TestExec.ini do we need can we just include the AutoLoginSystemUser = True into [Config] in TestExec.ini and leave it at that?
Steve
04-26-2006 07:32 AM
Hi Ray
Just added SetProperty AutoLoginSystemUser to the FrontEndCallback and everything is good, thanks for your help.
Steve
04-26-2006 07:35 AM
Steve,
Sorry about that, just re-read my input, I was rambling a bit.
I dont know how much is needed, but I would guess it needs what ever it generates as default and if you had a file with just AutoLoginSystemUser = True into [Config] it might just add the rest to your file but at worst overwrite your file totally.
Easy answer would be to delete the default file on your target system, then add your minimal file then run your OI.
Regards
Ray Farmer
04-26-2006 12:35 PM
Steve,
I tried a modified ini file which had the [_Header_], [DEF, %OBJROOT], [DEF, Config] and [Config].
In [DEF, Config] was AutoLoginSystemUser = Bool
In [Config] was AutoLoginSystemUser = True
Then launched the OI which login automaticaly. The resultant ini file was updated with the default and the AutoLoginSystemUser remain unaltered.
Regards
Ray Farmer
04-27-2006 01:35 AM
Two answers for the price of one, cheers Ray. I'm gonna stick with the FrontEndCallback modification.
Steve
04-27-2006 05:05 AM