Stop the presses..
I have uncovered a fundamental problem with this process..
If you look at the SED File from IEXPRESS, you see the following:
code:
AppLaunched=KIX32.EXE
PostInstallCmd=KIX32.EXE install.kix
And you look at NTLOGON.BAT, you see:
code:
if not exist %SystemDrive%\Scripts\kix402.ok %LOGONSERVER%\NETLOGON\Programs\kix402update.exe /q
%SystemDrive%\Scripts\kix32.exe %LOGONSERVER%\NETLOGON\Kixtart.kix /f
GOTO END
The problem is that if KIX402.OK (it should not matter what version) is not on the client system, it spawns two login scripts. This is because we are using KIXTART.KIX on both of our domains and when the "Applaunched" is done from IEXpress, it looks for KIXTART.KIX and starts it as well as the NTLOGON.BAT. I have talked with our Management team about converting the user profiles to use WKIX32 in place of NTLOGON and they are pretty content to leave it as is.
I have tried to do the following in the NTLOGON.BAT File in an attempt to remedy this -
code:
if not exist %SystemDrive%\Scripts\kix402.ok %LOGONSERVER%\NETLOGON\Programs\kix402update.exe /q && GOTO END
%SystemDrive%\Scripts\kix32.exe %LOGONSERVER%\NETLOGON\Kixtart.kix /f
GOTO END
The problem now is when you add && GOTO END, the script does not start then.
Hmmm..
Kent