Jump to content

Sillently install Applications in different drive


yadzil

Recommended Posts

Hi there,

I'm new here. I really intrested about silently install applications with xp setup. I like to ask a questions. In most guide seem that only mention install the program or applications in the same drive where the windows xp installed. How can I sillently install the applications in different drive? Example, I install windows in C:\Windows and I like to install my applications like office, winamp and others in D:\ (I make different partiton for operating system and installed application). I hope there is someone can help me . I like to make unattended xp cd with sillent applications intall in different drive where the windows xp installed. Thanks for your time.

Link to comment
Share on other sites


Thanks MCT, but how do I change the target directory while silent install? There must be some script to change the directory.

Where can I get the InstallRite? I click the link below your message but it direct me to unattended homepage.

Thanks again.

Link to comment
Share on other sites

I think your best guest would be to change the default Program Files location

I do not mean to relocate it because this is kind of messy but you can change the value

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ProgramFilesDir from C:\Program files to D:\Program files

applications that you install look at this key to know where to go by default...

I'm not totally sure this will work in 100% of the cases but i do use this and it works for me !

anyway Hope this helps!

Marc

Link to comment
Share on other sites

If you know the name of the Program Files folder and it's partition beforehand the easiest way is to add this to the winnt.sif:

[Unattended]
ProgramFilesDir="D:\My Program Files"
CommonProgramFilesDir="D:\My Program Files\My Common Files"

If you want to change it after setup has begun you can modify the registry as mapoupier mentioned but this will f*ck up IE/OE because they use the variable %ProgramFiles% in their paths.

Look at this thread for a solution.

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