renton2000 Posted May 16, 2004 Posted May 16, 2004 For some strange reason, I hate the way in which everything gets installed to the "Program Files" directory. I much prefer to install to say Utilities directory, a Games directory etc..Are there any switches to do this for unattended installs on the standard setup programs like InstallShield, Wise etc..I haven't found much info on this - any ideas?
big_gie Posted May 17, 2004 Posted May 17, 2004 A "per application" solution won't be easy. The easiest is to change the special folder called "programfiles"2 ways:-In your winnt.sif file, put this:[unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS ProgramFilesDir="D:" CommonProgramFilesDir="D:\FichiersCommuns"Change the 2 red color text to whatever you want. I do have better results using "D:" instead of "D:\". The only (minor) problem comes from avast. Since it uses Internet Explorer rendering engine, I dunno why it will look at D:\\Avast\... for files and can't find them... So avast will look ugly... -Second method is to change the key in the registry under:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersionLook for the "ProgramFilesDir" REG_SZ value. Change it accordingly.good luck
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now