Kaseya Community

Office 2007 Compatibility Pack from local source

  • We have improved the script to copy the installation file from a local server (to save on bandwidth when updating many machines on the same LAN).

    We have used a Managed Variable to determine the server name to use but this can easily be swapped for a proper hostname.

    We use a shared folder on the server named "Source" to store the installation file so all workstations can get the file.

    ---------------------------------------------------------------------------------
    Script Name: Install Office12 Compat Pack from local server
    Script Description: Download the setup file from (step1) and then install in silent mode with no restart (step2). Upon completion the setup file is deleted from temp folder (step3). Message displayed for complete/already installed upon end of stage. (step4)

    IF Test File
    Parameter 1 : C:\Program Files\Microsoft Office\Office12\Wordconv.exe
    Absent :
    THEN
    Get Variable
    Parameter 1 : 6
    Parameter 2 :
    Parameter 3 : MGID
    OS Type : 0
    Execute Shell Command
    Parameter 1 : copy \\\source\FileFormatConverters.exe c:\temp
    Parameter 2 : 0
    OS Type : 0
    Execute File
    Parameter 1 : c:\temp\FileFormatConverters.exe
    Parameter 2 : /quiet /norestart
    Parameter 3 : 3
    OS Type : 0
    Delete File
    Parameter 1 : c:\temp\FileFormatConverters.exe
    OS Type : 0
    Send Message
    Parameter 1 : Office 2007 Compatibility Pack has been installed! Please contact NAME at COMPANY if you have any queries about this update.
    Parameter 2 : 1
    OS Type : -1
    Write Script Log Entry
    Parameter 1 : Office 2007 Compatibility Pack installed on #MGID#
    OS Type : 0
    ELSE
    Get Variable
    Parameter 1 : 6
    Parameter 2 :
    Parameter 3 : MGID
    OS Type : 0
    Write Script Log Entry
    Parameter 1 : Office 2007 Compatibility Pack is already installed on #MGID#
    OS Type : 0

    Legacy Forum Name: Office 2007 Compatibility Pack from local source,
    Legacy Posted By Username: LightJockey
  • So a reboot is not required when you install the Office 2007 Reader programs?

    Thanks!

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: billmccl