Here is the install stuff from a program called 'wrapper.exe'. If it will do what you want, post your email address and I'll send it to you.
The author is Richard Lewis.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
WRAPPER.EXE
Starts Citrix ICA client application called "Vdesktop"; waits for Program Neighbourhood to exit, then shuts down Windows 95/98/Me/Win2K.
Requirements:
- VB runtime files in path
- Define an application in your Program Neighbourhood called "vDesktop" (without the quotes)
- Place the attached file (or a shortcut to it) in your "Start Menu/Programs/Startup" folder
- Reboot
Note: to save the vDesktop app to everyone's Program Neighbourhood, I simply copied my APPSRV.INI to all users machines, (C:\program files\citrix\ica client) or even better, rename it to APPSRV.SRC and include with the diskette image you use to install the client from in the first place. This becomes the clients APPSRV.INI when the installation has finished. Note: you should see a vDesktop= line in your APPSRV.INI after you have configured a session manually. This is the entry to use in all machines APPSRV.INI.
One effect I have found when running this "wrapper" application is that, if the user is quick, they can escape from the Citrix login screen (full screen mode) and return to Windows 9x.
The "wrapper" program will only shut the machine down when another application starts...any application!. This is due to the fact that I can't check to see if ICA is running when no app is running! When an app starts, wrapper detects that it is not ICA and reboots the machine. Rebooting the machine manually while in this "limbo" state will cause the machine to stop and wait for the wrapper to exit...but it never does!
A workaround is in the works, but for now please try this and let me know...it works well for me.
To bypass the wrapper app, simply hold the SHIFT key down when the Windows desktop first appears (you have to be quick!). Keep it held down until all disk activity subsides. Then you can use the machine (for admin purposes) as long as you want without it rebooting you all the time! Don't tell your users though!
You may find that you need VB6 runtime files like...
msvbvm60.dll and
oleaut32.dll
...so if you get a message regarding missing DLLs please copy these files to the %WINDIR%\system of the Win9x machine you are running it on.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<