Jump to content

RunOnce


mist3r
 Share

Recommended Posts

Hi, ive been doing alot of reading about the runonce idea. Its a cool way of automating the installation of files but my question hasnt been raised. I might just be mega stupid but...

I use a roaming network manager account to install applications. Ive created an script to do the first half of an installation that requires a reboot half way through. It sets the registry to automatically login so it can continue the uninstallation.

The script reads files on a mapped drive. Im not sure which type of runonce I need. If i use HKLM then apparently it loads before the desktop appears and doesnt continue untill the installation is finished. This might be a problem as im not sure if the drives will be mapped before the runone.

I also wonder if setting a runonce will run if i logged in else where? More so if I use UKCU runone as thats userbased. I dont want to risk it as 4 other people use the same account.

The runonce, i keep reading about it running once for every user. I dunt want that, i just want it to run once and only once for the 1 user. No others.

Thanks for any advice. Trying to finish off, it all works i'd just love to figure this out. Cheers

Link to comment
Share on other sites

  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...