adzee Posted May 9, 2005 Posted May 9, 2005 (edited) hello msfn crew I'm relatively new to silent installs etc. I have had a bit of experience with nlite now, and am comfortable intergrating drivers and such.I am now ready to tackle silently installing my apps with my XP OS B) I have read the unattended guides and such, including all references to application switches.However, there is one thing I do not understand that is not included in any of the guides.When I install my XP OS, I like to install my applications on a seperate partition to that of my programs, just to keep things tidy. Now I have spoken to a friend of mine whom is also a member here, and he says that I can use this line in my runonceex.cdm file...egREG ADD %KEY%\000 /VE /D "Maxthon" /fREG ADD %KEY%\000 /V 1 /D "%CDROM%\install\Maxthon\maxthon.exe /S /D="D:\Applications"" /fHowever, we are unsure whether the command /D="D:\Applications" will work for each application. Also the placement of "quotations".Basically, I want to know the best method for installing apps on a seperate partition to that of my XP OS... am I going about it the right way?Thanks in advance for your response just looking around, I hope I havent posted this in the wrong forum. If so, could a mod please move it to the appropriate section. Apologies for my mistake Edited May 9, 2005 by adzee
MHz Posted May 9, 2005 Posted May 9, 2005 egREG ADD %KEY%\000 /VE /D "Maxthon" /fREG ADD %KEY%\000 /V 1 /D "%CDROM%\install\Maxthon\maxthon.exe /S /D="D:\Applications" /fHowever, we are unsure whether the command /D="D:\Applications" will work for each application.Basically, I want to know the best method for installing apps on a seperate partition to that of my XP OS... am I going about it the right way?Thanks in advance for your response just looking around, I hope I havent posted this in the wrong forum. If so, could a mod please move it to the appropriate section. Apologies for my mistake Maxthon is installed with a inno setup installer. The /D= switch is Inno setup only. If you have only these Inno setup installers on your CD, then fine, but the other installer types will not give you these options. So using anything other then %ProgramFiles%, would be almost impossible to succeed with.You could try in the winnt.sif, to add this entry [source reference]ProgramFilesDir="D:\Applications"You can change the default location of Program Files using this entry. Replace the drive letter and folder name as appropriate.Your installers would point to this entry, when installed.Good luck.
adzee Posted May 9, 2005 Author Posted May 9, 2005 You could try in the winnt.sif, to add this entry [source reference]ProgramFilesDir="D:\Applications"You can change the default location of Program Files using this entry. Replace the drive letter and folder name as appropriate.Your installers would point to this entry, when installed.Ah I think I understand. My winnt.sif file has the following commands in it:[Unattended]...ProgramFilesDir = "D:\Applications"CommonProgramFilesDir = "D:\Applications\Common Files".....so therefore all silently installed applications using the runonceex.cmd method should automatically install into the specified directory. That certainly makes sense!I shall give it a go and see what happens. Thanks for your assistance.
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