Running an Application only once.

hi all,
I have a application (.exe) that i install with my driver. I need to run
that application only once after the installation on Next Reboot. I do not
want it to run everytime the system boots up. How Do i achieve this??

Any help is sighly appriciated.

thanks
ajitabh

Have the application remove itself from the registry.

Pete
Peter Scott
xxxxx@KernelDrivers.com
www.KernelDrivers.com
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Saxena, Ajitabh
Prakash
Sent: Tuesday, October 29, 2002 4:36 PM
To: NT Developers Interest List
Subject: [ntdev] Running an Application only once.

hi all,
I have a application (.exe) that i install with my driver. I need to
run that application only once after the installation on Next Reboot. I
do not want it to run everytime the system boots up. How Do i achieve
this??

Any help is sighly appriciated.

thanks
ajitabh

You are currently subscribed to ntdev as: xxxxx@KernelDrivers.com
To unsubscribe send a blank email to %%email.unsub%%

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/setupapi/se
tup/run_and_runonce_registry_keys.asp

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Saxena, Ajitabh Prakash
Sent: Tuesday, October 29, 2002 1:36 PM
To: NT Developers Interest List
Subject: [ntdev] Running an Application only once.

hi all,
I have a application (.exe) that i install with my driver. I need to run
that application only once after the installation on Next Reboot. I do not
want it to run everytime the system boots up. How Do i achieve this??

Any help is sighly appriciated.

thanks
ajitabh

You are currently subscribed to ntdev as: xxxxx@tenpennies.com
To unsubscribe send a blank email to %%email.unsub%%

Try searching for RunOnce in the MSDN.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Saxena, Ajitabh Prakash
Sent: Tuesday, October 29, 2002 1:36 PM
To: NT Developers Interest List
Subject: [ntdev] Running an Application only once.

hi all,
I have a application (.exe) that i install with my driver. I need to run
that application only once after the installation on Next Reboot. I do not
want it to run everytime the system boots up. How Do i achieve this??

Any help is sighly appriciated.

thanks
ajitabh

You are currently subscribed to ntdev as: xxxxx@tenpennies.com
To unsubscribe send a blank email to %%email.unsub%%

The key you are looking is called RunOnce.

http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q137367&

----- Original Message -----
From: Saxena, Ajitabh Prakash
To: NT Developers Interest List
Sent: Tuesday, October 29, 2002 3:36 PM
Subject: [ntdev] Running an Application only once.

hi all,
I have a application (.exe) that i install with my driver. I need to run that application only once after the installation on Next Reboot. I do not want it to run everytime the system boots up. How Do i achieve this??

Any help is sighly appriciated.

thanks
ajitabh

You are currently subscribed to ntdev as: xxxxx@muuf.com
To unsubscribe send a blank email to %%email.unsub%%

Use the RunOnce registry key in LocalMachine or CurrentUser. Do an MSDN
search on ‘RunOnce’.

  • Nicholas Ryan

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Saxena, Ajitabh
Prakash
Sent: Tuesday, October 29, 2002 1:36 PM
To: NT Developers Interest List
Subject: [ntdev] Running an Application only once.

hi all,
I have a application (.exe) that i install with my driver. I need to
run that application only once after the installation on Next Reboot. I
do not want it to run everytime the system boots up. How Do i achieve
this??

Any help is sighly appriciated.

thanks
ajitabh

You are currently subscribed to ntdev as: xxxxx@nryan.com
To unsubscribe send a blank email to %%email.unsub%%

Look for the RunOnce key in the registry.
There is MSDN documentation too.

-----Original Message-----
From: Saxena, Ajitabh Prakash [mailto:xxxxx@lsil.com]
Sent: Tuesday, October 29, 2002 1:36 PM
To: NT Developers Interest List
Subject: [ntdev] Running an Application only once.

hi all,
I have a application (.exe) that i install with my driver. I need to
run that application only once after the installation on Next Reboot. I do
not want it to run everytime the system boots up. How Do i achieve this??

Any help is sighly appriciated.

thanks
ajitabh

You are currently subscribed to ntdev as: xxxxx@nai.com
To unsubscribe send a blank email to %%email.unsub%%

i do not want to check the application source code. is there a way i can do
this only by the Installation package.
-----Original Message-----
From: Peter Scott [mailto:xxxxx@KernelDrivers.com]
Sent: Tuesday, October 29, 2002 4:47 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Running an Application only once.

Have the application remove itself from the registry.

Pete
Peter Scott
xxxxx@KernelDrivers.com
www.KernelDrivers.com
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Saxena, Ajitabh
Prakash
Sent: Tuesday, October 29, 2002 4:36 PM
To: NT Developers Interest List
Subject: [ntdev] Running an Application only once.

hi all,
I have a application (.exe) that i install with my driver. I need to run
that application only once after the installation on Next Reboot. I do not
want it to run everytime the system boots up. How Do i achieve this??

Any help is sighly appriciated.

thanks
ajitabh

You are currently subscribed to ntdev as: xxxxx@KernelDrivers.com
To unsubscribe send a blank email to %%email.unsub%%

You are currently subscribed to ntdev as: xxxxx@lsil.com
To unsubscribe send a blank email to %%email.unsub%%

Hmm, perhaps write an additional new app that removes both Apps from
Registry !

Norbert.

“As long as you enjoy your job, it’s not work. - Mark G. Havener”
---- snip ----

i do not want to check the application source code. is there a way i can do
this only by the Installation package.
---- snip ----