Jump to content

how to change install dir during unattended instal


wacko1

Recommended Posts

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

Link to comment
Share on other sites


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.

Link to comment
Share on other sites

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