tag:blogger.com,1999:blog-8544609315733972726.post-37706615568878103702008-01-12T10:54:00.000-07:002008-01-24T23:12:26.256-07:002008-01-24T23:12:26.256-07:00Secrets of alternative installation on Windows<p>The following are several reasons you may want this alternative method for installing OpenOffice.org on Windows:</p> <ul> <li>You need to install OpenOffice.org without local administrator rights.</li> <li>Your system administrator has set policies to prevent this installation.</li> <li>You need to install OpenOffice.org without the system integration (file associations and menu shortcuts).</li> <li>You need to install OpenOffice.org on portable media (such as a USB disk). Roll our own Portable OpenOffice.org!</li> <li>You need to install multiple versions of OpenOffice.org in parallel. For example, you can install and simultaneously run versions 2.0.2 and 2.3.1.</li> <li>The standard installation method fails.</li> <li>You need to perform a network installation on a server.</li> </ul> <p>If none of these apply to you, you may instead wish to use the standard installation.</p> <h3>Background</h3> <p>OpenOffice.org version 2 and later use a two-phased installation:</p> <ol> <li>The Nullsoft Installer .exe unpacks several files to a temporary folder on the desktop. Then, it automatically starts the next step. <li>The Microsoft Windows Installer performs the actual installation.</li> </ol> <p>A benefit of this system is that the Nullsoft Installer allows a much smaller download while the Windows Installer is Windows' native and preferred installation system.</p> <p>OpenOffice.org simply installs without significant registry changes or support files (such as .DLLs) installed in common places (such as C:\WINDOWS\SYSTEM32). That makes the OpenOffice.org application easy to relocate to different folders&mdash;even on different computers.</p> <h3>Procedure: Method 1</h3> <p>To perform the alternative installation using only one computer, follow these steps to perform what is called a "Network Installation." Don't worry about the "Network" name if you do not use a network.</p> <ol> <li><a href="http://www.openoffice.org/">Download OpenOffice.org</a>. Depending on the version, language, and JRE option, the file will have a name like <b>OOo_2.3.1_Win32Intel_install_en-US.exe</b>.</li> <li>Run the downloaded file.</li> <li>Click <b>Next</b> and then <b>Unpack</b>. <br/><a href="http://picasaweb.google.com/OOoNinja/OOoNinja/photo?authkey=xQfLAAYvdNk#5158915709792419442"><img src="http://lh5.google.com/OOoNinja/R5gmgURb_nI/AAAAAAAAAGk/TBMvT_c8yZw/s144/OOo231_install_nsis1.png" /></a> <a href="http://picasaweb.google.com/OOoNinja/OOoNinja/photo?authkey=xQfLAAYvdNk#5158915709792419458"><img src="http://lh5.google.com/OOoNinja/R5gmgURb_oI/AAAAAAAAAGs/QSKStg-uHU0/s144/OOo231_install_nsis2.PNG" /></a> </li> <li>Click <b>Cancel</b>, then <b>Yes</b>, then <b>Finish</b>. <br/><a href="http://picasaweb.google.com/OOoNinja/OOoNinja/photo?authkey=xQfLAAYvdNk#5158915705497452114"><img src="http://lh4.google.com/OOoNinja/R5gmgERb_lI/AAAAAAAAAGU/B05IOhnxst8/s144/OOo231_install_msi1.png" /></a> <a href="http://picasaweb.google.com/OOoNinja/OOoNinja/photo?authkey=xQfLAAYvdNk#5158915709792419426"><img src="http://lh5.google.com/OOoNinja/R5gmgURb_mI/AAAAAAAAAGc/WYRJPtiSvso/s144/OOo231_install_msi2.png" /></a> </li> <li>On your desktop, open the newly-created folder which has a name like <b>OpenOffice.org 2.3 Installation Files</b> (which varies depending on the OpenOffice.org version).</li> <li>In the menu, click the <b>File &gt; New &gt; Text Document</b>.</li> <li>Name the new file <b>install.bat</b>. Windows may warns you: "If you change a file name extension, the file may become unusable. Are you sure you want to change it?" Click <b>Yes</b> to accept the warning.</li> <li>Right click on <b>install.bat</b> and choose <b>Edit</b>.</li> <li>Type the following in the file:<code>msiexec.exe /A openofficeorg23.msi ALLUSERS=""</code> NOTE: The filename openofficeorg23.msi may change slightly depending on your OpenOffice.org version. Use the name of whichever filename you actually have. In case Windows is hiding filename extensions, look for the one file with type Windows Installer Package.</li> <li>Save the file and close Notepad.</li> <li>Run the batch file (by double clicking on it).</li> <li>Follow the instructions in the installation program. If necessary, adjust the installation path. Whichever installation path you choose, add something like <b>OpenOffice.org</b> to the end of it. For example, instead of just <b>C:\</b>, use <b>c:\OOo</b> to keep all the files organized.</li> </ol> <p>Now OpenOffice.org is installed. There are no file associations or menu shortcuts, so you must start the application directly. If you installed it in (for example) <b>C:\OOo</b>, then run <b>C:\OOo\Program\SOffice.exe</b>. Then, there are two ways to open existing documents.</p> <ul> <li>Click <b>File > Open</b>, or</li> <li>Drag the file and drop it on the blank OpenOffice.org window.</li> </ul> <h3>Procedure: Method 2</h3> <p>If you have local admin privileges on computer X but not computer Y, you can use this procedure. <ol> <li>Install OpenOffice.org normally on computer X. <li>Copy the OpenOffice.org installation folder (typically something like C:\Program Files\OpenOffice.org 2.0) from computer X to computer Y. </ol> <h3>Procedure: Uninstall</h3> <p>To uninstall methods 1 or 2, simply delete the folder with the application.</p> <h3>Procedure: Method 3</h3> <p>Download and use <a href="http://portableapps.com/apps/office/openoffice_portable">Portable OpenOffice.org</a>.</p> <h3>Procedure: Network Installation</h3> <p>Did you actually want to do a network installation (also called an administrative installation)?</p> <ol> <li>Follow Method 1 (above) to install OpenOffice.org centrally on a server.</li> <li>On each desktop, run the <b>openofficeorg23.msi</b> created in the installation target directory. This step sets up the system integration (file associations and menu shortcuts).</li> </ol> <h3>Applies to</h3> <ul> <li>OpenOffice.org versions 2 and 3 (not version 1) <li>Microsoft Windows 2000 <li>Microsoft Windows XP <li>Microsoft Windows Server 2003 </ul><div class="blogger-post-footer"><a href="http://www.pheedo.com/click.phdo?x=9b46c817936b44038e3def7b73e77e6e&u=%%UNIQUEID%%"><img src="http://www.pheedo.com/img.phdo?x=9b46c817936b44038e3def7b73e77e6e&u=%%UNIQUEID%%" border="0"/></a></div>Andrew Zhttp://www.blogger.com/profile/10108637160465346326noreply@blogger.com