Help - Search - Members - Calendar
Full Version: how to change install dir during unattended instal
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   
Google Internet Forums Unattended CD/DVD Guide
wacko1
hi everyone
this is my first post after using the search

what i want to know !!

is it possible to change the install path during unattended installs for my progs

im using the runonceEX cmd to install the progs
but they install in to c drive and i want to have all my progs in F

is that possible or does that mean i have to change all the installs or something

im really new to this full unattended installs

slipstreaming i can do and unattended win installs is no problem but this unattended prog installs has really got me puzzled no.gif

thx
edbro
You can change your default install directory (C:\program files) in your winnt.sif. Check the help file, I don't have it here with me at the moment.
wacko1
thx for the reply

but thats not what i want cause that way all my program files gets replaced

i just want my external progs like acdsee, adobe reader etc......

to get installed on F
edbro
QUOTE (wacko1 @ Nov 4 2004, 09:49 AM)
thx for the reply

but thats not what i want cause that way all my program files gets replaced

i just want my external progs like acdsee, adobe reader etc......

to get installed on F

Okay try this then:
make a reg key with this;
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]
"ProgramFilesDir"="f:\\Programs"

run your install, then apply this regkey afterwards:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]
"ProgramFilesDir"="C:\\Program Files"

That will change your default install directory to F:\install until you run your program install. Then it changes it back again to the default.
Incroyable HULK
Lois, I'm not totally sure but doing this reg tweak may cause problems the FIRST time you launch an application installed to your F: Drive.
You'll have to point manually to the .exe file if your shortcut are not working...
edbro
Your shortcuts do not use environment variables like %programs%. Therefore, the paths will get written as "F:\programs\application.exe". Should be no problem.

Who is Lois???
Jito463
I'm assuming from the pic under his name that he's quoting that "Family Guy" cartoon.
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.