2
edits
JimSuplizio (talk | contribs) |
|||
Line 66: | Line 66: | ||
For deployment in corporate environments, the full path is not always going to be known. Most installers do not require a full path if the configuration file is in the same directory as the installer file. The Firefox Setup 3.0.1.exe setup does not work this way. I would recommend fixing the next installer so that if no path is given, the path that Firefox Setup 3.0.1.exe was launched from is added to the front before passing to the setup.exe that runs from the temp directory. | For deployment in corporate environments, the full path is not always going to be known. Most installers do not require a full path if the configuration file is in the same directory as the installer file. The Firefox Setup 3.0.1.exe setup does not work this way. I would recommend fixing the next installer so that if no path is given, the path that Firefox Setup 3.0.1.exe was launched from is added to the front before passing to the setup.exe that runs from the temp directory. | ||
---- | |||
=== Solution === | |||
You can get around this problem with a simple batch file, here's mine as an example:<br> | |||
echo [Install] > ffsetup.ini<br> | |||
echo InstallDirectoryPath=%ProgramFiles(x86)%\Net Progs\Firefox\ >> ffsetup.ini<br> | |||
echo DesktopShortcut=false >> ffsetup.ini<br> | |||
echo StartMenuDirectoryName=Net Progs\Mozilla Firefox >> ffsetup.ini<br> | |||
setup /INI="%CD%\ffsetup.ini" | |||
For those having difficulty getting command line switches to work, please bear in mind that the .exe you downloaded from Mozilla is a self extracting archive that calls another file, setup.exe, which is stored inside. I'm not sure what, if any, switches work with the original self extracting archive, but to use the /INI= switch requires that you uncompress the archive [e.g. with 7-zip, ALZip, etc], & use the switch on the setup.exe file that was inside the Firefox Setup <version>.exe. | |||
[[User:Alien|Alien]] 07:13, 25 September 2008 (UTC) | |||
== What options are available in the ini file when installing using the /INI option? == | == What options are available in the ini file when installing using the /INI option? == |
edits