JohnDoemakt Posted July 10, 2004 Posted July 10, 2004 Hello, can I use the same procedure with w2k as XP ? (unattended install, if thats not clear)If not, what are the differences ?And is there a way I can query the :"HKLM/System/ControlSet001/Control/Session Manager/Enviroment/NUMBER_OF_PROCESSORS"register key and have to *.reg files. One if the number of processors is 1, and another if the number is 2 ?And I got one more question:If I change the "Program Files" path in my *.reg file (batch'ed from cmdlines.txt, if that works with 2000), will the programs installed from the same batch file use the new path, or does it need a restart first?
Wraith Posted July 10, 2004 Posted July 10, 2004 Hello, can I use the same procedure with w2k as XP ? (unattended install, if thats not clear)If not, what are the differences ?And is there a way I can query the :"HKLM/System/ControlSet001/Control/Session Manager/Enviroment/NUMBER_OF_PROCESSORS"register key and have to *.reg files. One if the number of processors is 1, and another if the number is 2 ?And I got one more question:If I change the "Program Files" path in my *.reg file (batch'ed from cmdlines.txt, if that works with 2000), will the programs installed from the same batch file use the new path, or does it need a restart first?The process is pretty much the same.If it's any help, the %NUMBER_OF_PROCESSORS% environment variable contains the number of processors.At least, it does on my machine.As for the program files thing, kinda need more info. If it's just a seperate partition, you could try mounting the drive under "C:\Program Files", otherwise it's time for a think
JohnDoemakt Posted July 10, 2004 Author Posted July 10, 2004 Thanks. I forgot the % thing. I can use :if %number_of_processors% == 2 (command1) else (command2)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now