Difference between revisions of "MS Office 2003"
(→Russian version) |
(mistype) |
||
Line 33: | Line 33: | ||
<package | <package | ||
id="office2003" | id="office2003" | ||
− | name="Microsoft Office 2003 | + | name="Microsoft Office 2003" |
revision="0" | revision="0" | ||
reboot="false" | reboot="false" | ||
Line 50: | Line 50: | ||
<package | <package | ||
id="office2003" | id="office2003" | ||
− | name="Microsoft Office 2003" | + | name="Microsoft Office 2003 Ñтандартный" |
revision="0" | revision="0" | ||
reboot="false" | reboot="false" |
Revision as of 07:17, 5 July 2012
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="office2003"
name="Microsoft Office 2003"
revision="0"
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 /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 /q /x{90110407-6000-11D3-8CFE-0150048383C9}' />
</package>
This is package for russian "Microsoft Office - Ñтандартный выпуÑк верÑии 2003"
Пакет Ð´Ð»Ñ ÑƒÑтановки "Microsoft Office - Ñтандартный выпуÑк верÑии 2003"
<package
id="office2003"
name="Microsoft Office 2003 Ñтандартный"
revision="0"
reboot="false"
priority="0">
<check type="uninstall" condition="exists" path="Microsoft Office - Ñтандартный выпуÑк верÑии 2003" />
<install cmd='msiexec /i "%SOFTWARE%\Office2003\STD11.MSI" TRANSFORMS=%SOFTWARE%\Office2003\Office.MST /qb-' />
<remove cmd='msiexec /q /x{90120419-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.
You can get Office 2003 Service Pack 3 from http://www.microsoft.com/Downloads/details.aspx?familyid=E25B7049-3E13-433B-B9D2-5E3C1132F206
<package
id="office2003-sp3"
name="Microsoft Office 2003 SP3"
revision="0"
priority="500">
<depends package-id="office2003" />
<!-- <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="logical" condition="or">
<check type='file' condition='versiongreaterorequal' path='%PROGRAMFILES%\Microsoft Office\OFFICE11\Winword.exe' value='11.0.8169.0' />
<check type='file' condition='versiongreaterorequal' path='%PROGRAMFILES(X86)%\Microsoft Office\OFFICE11\Winword.exe' value='11.0.8169.0' />
</check>
<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>