Jump to content

Sillently install Applications in different drive


Recommended Posts

Posted

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.


Posted

some installers have an option 2 specify the directory

or u could use InstallRite & repackage the file

regards

Posted

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.

Posted

ya, from the unattended homepage, click installrite :)

search for the switch for your program with google or in this forum

regards

Posted

hi,

there's actually a topic regarding different install-folders for all common installers. Please do a search on the forums to reveal it.

cya

Killer Bee

Posted

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

Posted

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.

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