I keep my all apps on the D drive. Now I'm wondering how to make silent insall to paticular directory that is different from system directory.
Page 1 of 1
Installing apps on different drive How to
#3
Posted 25 December 2003 - 08:02 PM
I think the easiest way would be to use the lines:
in your winnt.sif file. The first slash indicates that the directory is on the systemdrive and the rest is just the directory you want to be "program files". I detest the stupidly long "Program Files" directory so I shortened it. You could do something like
to set the default Program Files directory to be D:\Programs for example, and all programs should default to that directory (like they already default to the C:\Program Files\ directory). Any answer files you've created (such as for Installshield installers) will need to be edited to reflect the path you choose to install to instead of the what the default was when you first made the answer file. Oh yeah, this goes in the [Unattended] part of winnt.sif.
One last thing, I haven't tested it exactly in the manner you'd be using it, but I see no reason why it shouldn't work.
ProgramFilesDir=\Programs CommonProgramFilesDir=\Programs\Common
in your winnt.sif file. The first slash indicates that the directory is on the systemdrive and the rest is just the directory you want to be "program files". I detest the stupidly long "Program Files" directory so I shortened it. You could do something like
ProgramFilesDir=D:\Programs CommonProgramFilesDir=D:\Programs\Common
to set the default Program Files directory to be D:\Programs for example, and all programs should default to that directory (like they already default to the C:\Program Files\ directory). Any answer files you've created (such as for Installshield installers) will need to be edited to reflect the path you choose to install to instead of the what the default was when you first made the answer file. Oh yeah, this goes in the [Unattended] part of winnt.sif.
One last thing, I haven't tested it exactly in the manner you'd be using it, but I see no reason why it shouldn't work.
#4
Posted 25 December 2003 - 08:19 PM
That looks interesting. What about the *.bat files. I know that some paskages record installation process and all what have to be done is just use created setup.iss fileor as in case of Office can use Custom Installation Editor. That's simple. But for example:
I would like to install WinRar on the D drive using this file:
I think that there must be something in place of ?.........? . I have looked on forum but I didn't see if anyone got this right and quite few were asking for it.
I would like to install WinRar on the D drive using this file:
ECHO. ECHO Installing WinRAR 3.20 ECHO Please wait... start /wait F:\Installations\WinRar\WinRAR.3.20.exe /s ?.........?
I think that there must be something in place of ?.........? . I have looked on forum but I didn't see if anyone got this right and quite few were asking for it.
#5
Posted 30 December 2003 - 03:46 PM
Perhaps this can help:
http://www.MSFN.org/...showtopic=10760
but I don´t usw winrar... so I can´t check...
http://www.MSFN.org/...showtopic=10760
but I don´t usw winrar... so I can´t check...
#6
Posted 02 January 2004 - 07:29 PM
czaja> I also wanted to do this, so after 2 hours digging though my registry i found the 2 keys to change to make my default install drives/folders; D:\Program Files\ and D:\Program Files\Common Files\
I have attached the registry file. What i would do is set the registry file to run with you batch setup file for your programs just have it set before your batch file.
I have attached the registry file. What i would do is set the registry file to run with you batch setup file for your programs just have it set before your batch file.
Attached File(s)
-
PreBootTwks.reg (600bytes)
Number of downloads: 24
#7
Posted 04 January 2004 - 03:54 AM
Bachus, on Dec 25 2003, 08:02 PM, said:
I think the easiest way would be to use the lines:
in your winnt.sif file. The first slash indicates that the directory is on the systemdrive and the rest is just the directory you want to be "program files". I detest the stupidly long "Program Files" directory so I shortened it. You could do something like
to set the default Program Files directory to be D:\Programs for example, and all programs should default to that directory (like they already default to the C:\Program Files\ directory). Any answer files you've created (such as for Installshield installers) will need to be edited to reflect the path you choose to install to instead of the what the default was when you first made the answer file. Oh yeah, this goes in the [Unattended] part of winnt.sif.
ProgramFilesDir=\Programs CommonProgramFilesDir=\Programs\Common
in your winnt.sif file. The first slash indicates that the directory is on the systemdrive and the rest is just the directory you want to be "program files". I detest the stupidly long "Program Files" directory so I shortened it. You could do something like
ProgramFilesDir=D:\Programs CommonProgramFilesDir=D:\Programs\Common
to set the default Program Files directory to be D:\Programs for example, and all programs should default to that directory (like they already default to the C:\Program Files\ directory). Any answer files you've created (such as for Installshield installers) will need to be edited to reflect the path you choose to install to instead of the what the default was when you first made the answer file. Oh yeah, this goes in the [Unattended] part of winnt.sif.
Hello everybody!
Is that right?
These lines must be entered in [Unattended] part of winnt.sif
ProgramFilesDir=D:\Programs
CommonProgramFilesDir=D:\Programs\Common
or only one of these lines?
Many ThX!
Shawn26
P.S. Whats the different between "ProgrammFilesDir" and "CommonProgramFilesDir"?
#8
Posted 04 January 2004 - 04:38 AM
Another question!
Is this the right way to install AdAware in a different path as normal?
/d="C:\Anwender - Software\" this is the new path i want to install AdAware! Is that the right syntax for the switch "/d"?
Many ThX!
Shawn26
Is this the right way to install AdAware in a different path as normal?
Quote
ECHO Installing Lavasoft Ad-Aware 6 Plus
ECHO Please wait...
start /wait %systemdrive%\install\Applications\AdAware\aaw6plus.exe /s /d="C:\Anwender - Software\"
ECHO Please wait...
start /wait %systemdrive%\install\Applications\AdAware\aaw6plus.exe /s /d="C:\Anwender - Software\"
/d="C:\Anwender - Software\" this is the new path i want to install AdAware! Is that the right syntax for the switch "/d"?
Many ThX!
Shawn26
#9
Posted 04 January 2004 - 08:35 PM
shawn26, you can test it yourself by going to Command Prompt, then browse to the directory containing aaw6plus.exe, and type out:
aaw6plus.exe /s /d="C:\Anwender - Software\"
Once finished, check C:\Anwender - Software\
aaw6plus.exe /s /d="C:\Anwender - Software\"
Once finished, check C:\Anwender - Software\
#10
Posted 08 January 2004 - 03:00 AM
I doesn´t work with the syntax
D="C:\Anwender - Software" or
D=C:\Anwender - Software
AdAware 6.0 is a WISE Installation File and i found in the forum this little help...
WISE Installation
But when i tried
C:\XPCD\$OEM$\$1\install\Applications\AdAware\aaw6plus.exe /c C:\setup.wse
to create an executable file from wise script it failed.
C:\XPCD\$OEM$\$1\install\Applications\AdAware\=(Source-Path)
I cant find the setup.wse?
Can anybody help?
Many ThX!
Shawn26
D="C:\Anwender - Software" or
D=C:\Anwender - Software
AdAware 6.0 is a WISE Installation File and i found in the forum this little help...
WISE Installation
But when i tried
C:\XPCD\$OEM$\$1\install\Applications\AdAware\aaw6plus.exe /c C:\setup.wse
to create an executable file from wise script it failed.
C:\XPCD\$OEM$\$1\install\Applications\AdAware\=(Source-Path)
I cant find the setup.wse?
Can anybody help?
Many ThX!
Shawn26
Share this topic:
Page 1 of 1



Help

Back to top








