Jump to content

how to change install dir during unattended instal


Recommended Posts

Posted

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:

thx


Posted

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.

Posted

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

Posted
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.

Posted

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...

Posted

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???

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...