Using the runonce option during install

I need to run an .exe stored on the local harddrive upon reboot of the
machine. How does the OS understand to run the .exe on the local harddrive
after sign on by the user.

I know about the
“HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce” and
“HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx”
registry key.

What’s the difference between the two?
What do you put in either registry key to run the .exe on the local
harddrive?

I looked in the DDK & SDK and found no real documentation on how to use.

Thanks In Advance,
Joe


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You may create a value of any name under these registry keys and specify the
exe name with complete path as the data for that value.

look at this site for a description of runXXXXXXX keys in registry.
http://support.microsoft.com/support/kb/articles/Q137/3/67.asp

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Joe Moriarty
Sent: Monday, January 08, 2001 5:29 AM
To: NT Developers Interest List
Subject: [ntdev] Using the runonce option during install

I need to run an .exe stored on the local harddrive upon reboot of the
machine. How does the OS understand to run the .exe on the local harddrive
after sign on by the user.

I know about the
“HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce” and
“HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx”
registry key.

What’s the difference between the two?
What do you put in either registry key to run the .exe on the local
harddrive?

I looked in the DDK & SDK and found no real documentation on how to use.

Thanks In Advance,
Joe


You are currently subscribed to ntdev as: xxxxx@sigmatel.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com