Difference between revisions of "MS Office 2007"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(/adminfile prompt fixed)
Line 3: Line 3:
  
 
   <package id="office2007" name="Microsoft Office 2007" revision="2007" reboot="false" priority="0">
 
   <package id="office2007" name="Microsoft Office 2007" revision="2007" reboot="false" priority="0">
   <check type="uninstall" condition="exists" path="Micorosft Office Enterprise 2007" />
+
   <check type="uninstall" condition="exists" path="Microsoft Office Enterprise 2007" />
 
   <install cmd='"%SOFTWARE%\Office 2007\setup.exe" /adminfile "%SOFTWARE%\Office 2007\Custom.msp"' />
 
   <install cmd='"%SOFTWARE%\Office 2007\setup.exe" /adminfile "%SOFTWARE%\Office 2007\Custom.msp"' />
 
   <upgrade cmd='"%SOFTWARE%\Office 2007\setup.exe" /adminfile "%SOFTWARE%\Office 2007\Custom.msp"' />
 
   <upgrade cmd='"%SOFTWARE%\Office 2007\setup.exe" /adminfile "%SOFTWARE%\Office 2007\Custom.msp"' />
Line 13: Line 13:
  
 
   <package id="office2007" name="Microsoft Office 2007" revision="2007" reboot="false" priority="0">
 
   <package id="office2007" name="Microsoft Office 2007" revision="2007" reboot="false" priority="0">
   <check type="uninstall" condition="exists" path="Micorosft Office Enterprise 2007" />
+
   <check type="uninstall" condition="exists" path="Microsoft Office Enterprise 2007" />
 
   <install cmd='"%SOFTWARE%\Office 2007\setup.exe"' />
 
   <install cmd='"%SOFTWARE%\Office 2007\setup.exe"' />
 
   <upgrade cmd='"%SOFTWARE%\Office 2007\setup.exe"' />
 
   <upgrade cmd='"%SOFTWARE%\Office 2007\setup.exe"' />

Revision as of 20:05, 10 January 2008

This is the silent installer for Office 2007 with a.MSP generated by running: setup.exe /admin

 <package id="office2007" name="Microsoft Office 2007" revision="2007" reboot="false" priority="0">
 <check type="uninstall" condition="exists" path="Microsoft Office Enterprise 2007" />
 <install cmd='"%SOFTWARE%\Office 2007\setup.exe" /adminfile "%SOFTWARE%\Office 2007\Custom.msp"' />
 <upgrade cmd='"%SOFTWARE%\Office 2007\setup.exe" /adminfile "%SOFTWARE%\Office 2007\Custom.msp"' />
 </package>

The only problem with this solution is that it will tell you on each boot that the /adminfile option can only be used on initial setup. This can be fixed easily. On the Office 2007 distribution point there is a folder called Update which contains nothing. Each patch you want to apply to office 2007 is supposed to be added inside that folder and it will also recognize the .msp and apply it, so this gives us (provided that you have placed Custom.msp inside the Update folder):

 <package id="office2007" name="Microsoft Office 2007" revision="2007" reboot="false" priority="0">
 <check type="uninstall" condition="exists" path="Microsoft Office Enterprise 2007" />
 <install cmd='"%SOFTWARE%\Office 2007\setup.exe"' />
 <upgrade cmd='"%SOFTWARE%\Office 2007\setup.exe"' />
 </package>