Link to home
Start Free TrialLog in
Avatar of bsharath
bsharathFlag for India

asked on

Change i386 location in registry

Hi,

I need to Change i386 location in registry.When ever a windows component is installed it has to search to the location i have mentioned rather than media device.Need a bat file to do this.

Regards
Sharath
ASKER CERTIFIED SOLUTION
Avatar of busuka
busuka

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bsharath

ASKER

Great this worked.Any way to put the path in the script itself
Avatar of busuka
busuka

If you need only to change to fixed location, you don't need that script. You can make REG file like this:

scrpath.reg
-------------------------------------------------------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]
"SourcePath"="D:\"
--------------------------------------------------------

Where you can put a new path instead of D:\

and load it with command:

regedit /S srcpath.reg

Avatar of SheharyaarSaahil
it's possible by just editing 2 keys in the registry :)

Change the default Installation Path
http://www.tweakxp.com/article37514.aspx
Actually my XP doen't have \Windows NT\Setup\SourcePath key at all and works perfectly without.
Oops, please disregard my previous post, I DO have that key.