Difference between revisions of "MS Office 2003"
m (→Service Pack 3) |
m |
||
Line 1: | Line 1: | ||
This is a silent installer and uninstaller for MS Office 2003 in MSI format. The first method below works only if it doesn't need a product key. If it does, you should use the second method below. | This is a silent installer and uninstaller for MS Office 2003 in MSI format. The first method below works only if it doesn't need a product key. If it does, you should use the second method below. | ||
+ | |||
+ | |||
+ | ==Installation when no product key is needed== | ||
<source lang="xml"> | <source lang="xml"> | ||
Line 21: | Line 24: | ||
Note: To extract the contents of the Office CD to a network installation point (which you can point to in the custom installation wizard), run setup.exe on the CD with the /a switch. See http://office.microsoft.com/en-us/ork2003/HA011401931033.aspx | Note: To extract the contents of the Office CD to a network installation point (which you can point to in the custom installation wizard), run setup.exe on the CD with the /a switch. See http://office.microsoft.com/en-us/ork2003/HA011401931033.aspx | ||
+ | |||
+ | ==Installation when product key is needed== | ||
Alternatively (this is the method we use) | Alternatively (this is the method we use) | ||
Line 40: | Line 45: | ||
</source> | </source> | ||
− | + | ||
− | == | + | ==Office 2003 Service Pack 3 (SP3)== |
You can use either the registry check or the file check. Registry check will differ depending on your Windows language version. | You can use either the registry check or the file check. Registry check will differ depending on your Windows language version. | ||
Line 65: | Line 70: | ||
</source> | </source> | ||
+ | |||
[[category:Silent Installers]] | [[category:Silent Installers]] | ||
+ | [[Category:Silent installers for Windows Hotfixes]] |
Revision as of 09:34, 2 October 2008
This is a silent installer and uninstaller for MS Office 2003 in MSI format. The first method below works only if it doesn't need a product key. If it does, you should use the second method below.
Installation when no product key is needed
<package
id="msoffice2003"
name="Microsoft Office 2003"
revision="1"
reboot="true"
priority="0">
<check type="uninstall" condition="exists" path="Microsoft Office Professional Edition 2003" />
<install cmd='msiexec /i "%SOFTWARE%\MS Office 2003\PRO11.MSI" /q allusers=1 ADDLOCAL=ALL' />
<remove cmd='MsiExec.exe /q /x{90110407-6000-11D3-8CFE-0150048383C9}' />
</package>
Note: To extract the contents of the Office CD to a network installation point (which you can point to in the custom installation wizard), run setup.exe on the CD with the /a switch. See http://office.microsoft.com/en-us/ork2003/HA011401931033.aspx
Installation when product key is needed
Alternatively (this is the method we use) Download the Microsoft Office Resource Kit ([download]) and run the Custom Installation Wizard. This will enable you to add your Product Key along with configuring all of the settings of the Office Programs you choose to install (Word, Excel, Access). Note that you must not include hyphens or spaces in the Product Key! In addition, you may want to disable "install on first use" as your WPKG share may be inaccessible to an ordinary user.
Your package file then looks like
<package
id="office2003"
name="Microsoft Office 2003"
revision="0"
reboot="false"
priority="0">
<check type="uninstall" condition="exists" path="Microsoft Office Professional Edition 2003" />
<install cmd='msiexec /i "%SOFTWARE%\Office2003\PRO11.MSI" TRANSFORMS=%SOFTWARE%\Office2003\Office.MST /qb-' />
<remove cmd='MsiExec.exe /q /x{90110407-6000-11D3-8CFE-0150048383C9}' />
</package>
Office 2003 Service Pack 3 (SP3)
You can use either the registry check or the file check. Registry check will differ depending on your Windows language version.
<package
id="office2k3-sp3"
name="Microsoft Office 2003 SP3"
revision="1"
priority="500">
<depends package-id="office2k3" />
<!-- <check type="registry" condition="exists" path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\9040110900063D11C8EF10054038389C\Patches\F080F5739E881AE41A770C0F1945A68C\Installed" /> -->
<check type='file' condition='versiongreaterorequal' path='%ProgramFiles%\Microsoft Office\OFFICE11\Winword.exe' value='11.0.8169.0' />
<install cmd='%SOFTWARE%\updates\office2003\Office2003SP3-KB923618-FullFile-ENU.exe /r:n /q /c:"msiexec /qn /log %TEMP%\office2k3-sp3.log /update MAINSP3.msp REBOOT=ReallySuppress"' >
<exit code="0" />
<exit code="194" reboot="true" />
<exit code="3010" reboot="true" />
</install>
</package>