Jump to content

Recommended Posts

Posted

Howdy

Is there any way to get a global variable such as %systemdrive% to work in the registry? I found that i couldnt install the catalysts or the nForce drivers with the normal method, however found that they still ran from the commandline once in windows. So i came to the conclusion that if i put keys in the RunOnce section of the registry, everything should install fine. However, i found that variables such as %systemdrive% dont work. I could just hard code the location of the installers in, but would rather have a variable there so i can install on different drives without hassles

Is this possible??


Posted

I know runonceex doesn't support reg_expand_sz registry keys. I doubt runonce would also. You can give it a try, but the best thing to do is run a batch file and input the variables with the REG.EXE program.

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
  • Recently Browsing   0 members

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