Jump to content

Recommended Posts

Posted (edited)

hello msfn crew :hello:

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

eg

REG ADD %KEY%\000 /VE /D "Maxthon" /f
REG ADD %KEY%\000 /V 1 /D "%CDROM%\install\Maxthon\maxthon.exe /S /D="D:\Applications"" /f

However, 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 :yes:

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 :blushing:

Edited by adzee

Posted
eg

REG ADD %KEY%\000 /VE /D "Maxthon" /f
REG ADD %KEY%\000 /V 1 /D "%CDROM%\install\Maxthon\maxthon.exe /S /D="D:\Applications" /f

However, 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  :yes:

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  :blushing:

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.

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

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