Difference between revisions of "MS Office 2003"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
Line 23: Line 23:
  
 
Alternatively (this is the method we use)
 
Alternatively (this is the method we use)
Download the Microsoft Office Resource Kit ([[http://download.microsoft.com/download/0/e/d/0eda9ae6-f5c9-44be-98c7-ccc3016a296a/ork.exe 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.
+
Download the Microsoft Office Resource Kit ([[http://download.microsoft.com/download/0/e/d/0eda9ae6-f5c9-44be-98c7-ccc3016a296a/ork.exe 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
 
Your package file then looks like

Revision as of 06:27, 16 September 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.

<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


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>

Service Pack 3

You can use either the registry check or the file check.

	<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='%WPKGROOT%\updates\office2003\Office2003SP3-KB923618-FullFile-ENU.exe /r:n /q /c:"msiexec /qn /log %SystemDrive%\netinst\logs\office2k3-sp3 /update MAINSP3.msp REBOOT=ReallySuppress"' >
            <exit code="0" />
            <exit code="194" reboot="true" />
            <exit code="3010" reboot="true" />
        </install>
 
   </package>