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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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