Microsoft Windows
- Apache OpenOffice Basic Macros and Libraries
- Apache OpenOffice Extension Manager
- Adding Template Files to an Apache OpenOffice Installation
- Adding AutoText Files to an Apache OpenOffice Network Installation
- Deactivating the Apache OpenOffice Registration Wizard
- Accessing Email Clients
- Customizing the User Interface
- Restricting Functionality in Apache OpenOffice
- Accessing Apache OpenOffice User Profiles on an LDAP Server
用于 Microsoft Windows 的 Apache OpenOffice 安装程序使用 MSI 软件包。MSI 是一个标准工具,用于在 Microsoft Windows 中安装软件包。
Contents
解压缩 Apache OpenOffice 安装文件
在 Apache OpenOffice 安装集的下载版本中,Apache OpenOffice 安装集的所有文件打包到单个文件中。必须先解压缩此文件,然后才能访问 MSI 软件包。
要展开下载安装集,请执行以下操作:
- 双击下载安装集中的文件,或者从命令行中启动该文件。
- 将显示 Apache OpenOffice 安装准备向导。
- 单击“下一步”。
- 选择用于保存解压缩文件的目标文件夹。
- 在解压缩所有文件后,将显示常规 Apache OpenOffice 安装向导对话框。不要执行安装对话框中的操作。将该对话框保持打开状态,然后将安装集中的展开文件复制到其他目录中。
- 在 Apache OpenOffice 安装向导中单击“取消”,单击“是”以确认取消,然后单击“完成”以关闭安装向导。
无人值守(无提示)安装
可以使用 /qn 参数禁止在安装期间显示用户界面和所有消息框。
msiexec /qn /i openofficeorg<version>.msi
将 Apache OpenOffice 安装集复制到网络共享中
这种安装类型不在单个计算机上安装 Apache OpenOffice,它将可直接进行 Apache OpenOffice 安装的安装文件复制到一个目录中。用户可从该目录中启动 Apache OpenOffice 安装程序以进行本地安装。
- 启动网络安装向导
msiexec /a openofficeorg<version>.msi
- 单击“下一步”。
- 指定将安装文件复制到的网络共享。确保在网络共享上选择相应的目标目录。
- 单击“安装”。
- 在安装程序完成将文件复制到网络共享的操作时,单击“完成”。
用户可通过浏览到该共享网络位置并双击 openofficeorg<version>.msi,从该共享目录中安装 Apache OpenOffice。
卸载
从命令行中卸载 MSI 软件包并非轻而易举。使用 MSI 软件包的原始名称并不奏效。Windows 安装程序要求提供应用程序的产品代码。英语版 Apache OpenOffice 安装集的产品代码与德语或意大利语版安装集不同。Apache OpenOffice 将该产品代码保存到 setup.ini 中,该文件位于 Apache OpenOffice 的 program 目录中。卸载参数为 /x,无提示卸载使用 /qn 参数。
- 打开文件管理器并浏览到 <openoffice.org-install-dir>/program。
- 打开 setup.ini 并找到产品代码。
- 使用以下命令卸载 Apache OpenOffice:
msiexec /qn /x {4BC1CB2B-FDCE-4DB4-A557-BA8127569B0D}
修复 Apache OpenOffice 安装
也可以使用 msiexec 修复现有 Apache OpenOffice 安装。
msiexec /f [p|o|e|d|c|a|u|m|s|v] /x {ProductCode}
Microsoft Developer Network 在线提供了所有修复选项的说明:http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/command_line_options.asp
Content on this page is licensed under the Public Documentation License (PDL). |