Home Forums Software InstaDMG MS Office and InstaDMG, anyone working?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #375771
    AllanMarcus
    Participant

    I looked over some past posting and it appears other have had some problems with Office updates as well. My InstaDMG log shows the updates are being installed right after MS Office:

    Installing Office Installer.mpkg from ../../InstallerFiles/InstaUp2DatePackages/MS Office 2008.dmg (24) with XML Choices file: InstallerChoices.xml
    [… lots of Office installer pkgs here…]
    Installing Office 2008 SP1 Update (12.1.0).mpkg from ./InstallerFiles/CustomPKG/25 with XML Choices file: InstallerChoices.xml
    Installing Office 2008 12.1.1 Update.mpkg from ./InstallerFiles/CustomPKG/26 with XML Choices file: InstallerChoices.xml
    Installing Office 2008 12.1.2 Update.mpkg from ./InstallerFiles/CustomPKG/27 with XML Choices file: InstallerChoices.xml
    Installing Office 2008 12.1.3 Update.mpkg from ./InstallerFiles/CustomPKG/28 with XML Choices file: InstallerChoices.xml
    Installing Office 2008 12.1.4 Update.mpkg from ./InstallerFiles/CustomPKG/29 with XML Choices file: InstallerChoices.xml

    but in the final image, office is still at 12.0.0.

    I’m hoping I don’t have to use InstallEase to build an MS Office package. Has anyone found a way to install the office updates via InstaDMG?

    Ummm, just looked at the InstaDMG log and I see:

    Installing Office 2008 SP1 Update (12.1.0).mpkg from ./InstallerFiles/CustomPKG/25 with XML Choices file: InstallerChoices.xml
    installer: Package name is Office 2008 SP1 Update (12.1.0)
    Installing Office 2008 12.1.1 Update.mpkg from ./InstallerFiles/CustomPKG/26 with XML Choices file: InstallerChoices.xml
    installer: Package name is Office 2008 12.1.1 Update
    Installing Office 2008 12.1.2 Update.mpkg from ./InstallerFiles/CustomPKG/27 with XML Choices file: InstallerChoices.xml
    installer: Package name is Office 2008 12.1.2 Update
    Installing Office 2008 12.1.3 Update.mpkg from ./InstallerFiles/CustomPKG/28 with XML Choices file: InstallerChoices.xml
    installer: Package name is Office 2008 12.1.3 Update
    Installing Office 2008 12.1.4 Update.mpkg from ./InstallerFiles/CustomPKG/29 with XML Choices file: InstallerChoices.xml
    installer: Package name is Office 2008 12.1.4 Update

    here’s the odd part, I don’t have any InstallerChoices.xml for any of these updates. I have one for the MS Office DMG file, but each of the updates is simply a symlink to the installer package. Any ideas?

    Thanks,

    Allan

    #375778
    alantrewartha
    Participant

    have you run the InstaDMG PatchOfficeUpdate droplet on your installer PKGs?

    https://www.afp548.com/filemgmt/index.php?id=84

    #375781
    AllanMarcus
    Participant

    thanks for the tip. I just ran the update through the patcher, then built a new image. I still get:

    Installing Office 2008 SP1 Update (12.1.0).mpkg from ./InstallerFiles/CustomPKG/25 with XML Choices file: InstallerChoices.xml
    Installing Office 2008 12.1.1 Update.mpkg from ./InstallerFiles/CustomPKG/26 with XML Choices file: InstallerChoices.xml
    Installing Office 2008 12.1.2 Update.mpkg from ./InstallerFiles/CustomPKG/27 with XML Choices file: InstallerChoices.xml
    Installing Office 2008 12.1.3 Update.mpkg from ./InstallerFiles/CustomPKG/28 with XML Choices file: InstallerChoices.xml
    Installing Office 2008 12.1.4 Update.mpkg from ./InstallerFiles/CustomPKG/29 with XML Choices file: InstallerChoices.xml
    Installing Office 2008 12.1.5 Update.mpkg from ./InstallerFiles/CustomPKG/30 with XML Choices file: InstallerChoices.xml

    and the updates are not applied 🙁

    Any idea why “with XML Choices file: InstallerChoices.xml” is there? There are no InstallerChoices.xml associated with the updates.

    Thanks,

    Allan

    #375785
    AllanMarcus
    Participant

    I think I may have found out what is going on. The last 6 items in my catalog are MS Office, then the 5 updates. I have an installerchoices xml file for ms office. It appears in instadmg.bash (line 670) that the CHOICES_FILE variable is not cleared for each loop. I think the CHOICES_FILE variable needs to be cleared before the first if statement, or an else CHOICES_FILE=” need to be added in the first if statement.

    I may be way off here, and if I am, I apologize. The code changes below do seem to solve the issue I am having.

    I think I may have found out what is going on. The last 6 items in my catalog are MS Office, then the 5 updates. I have an installerchoices xml fil for ms office. It appears in instadmg.bash (line 670) that the CHOICES_FILE variable is not cleared for each loop. I think the CHOICES_FILE variable needs to be cleared before the first if statement, or and else CHOICES_FILE=” need to be added in the first if statement.

    I may be way off here, and if I am, I apologize.

    [code] for UPDATE_PKG in $(/usr/bin/find -L “$TARGET” -maxdepth 1 -iname ‘*pkg’ | /usr/bin/awk ‘tolower() ~ /\.(m)?pkg/ && !/\/\._/’); do
    if [ -e “$TARGET/InstallerChoices.xml” ]; then
    CHOICES_FILE=”InstallerChoices.xml”
    # TODO: better handle multiple pkg’s and InstallerChoice files named for the file they should handle
    I added—> else
    I added—> CHOICES_FILE=””
    fi

    if [ $OS_REV_MAJOR -le 4 ]; then
    CHOICES_FILE=”” # 10.4 can not use them
    fi

    TARGET_FILE_NAME=`/usr/bin/basename “$UPDATE_PKG”`
    INSTALLER_NUMBER_TEXT=””
    if [ “$ORIGINAL_TARGET” == “$TARGET” ]; then
    CONTAINER_PATH=”$TARGET”
    else
    # probably a dmg installer
    CONTAINER_PATH=`/usr/bin/readlink “$ORIGINAL_TARGET”`
    INSTALLER_NUMBER_TEXT=`/usr/bin/basename “$ORIGINAL_TARGET”`
    INSTALLER_NUMBER_TEXT=” ($INSTALLER_NUMBER_TEXT)”
    fi

    if [ “$CHOICES_FILE” != “” ]; then
    log “Installing $TARGET_FILE_NAME from ${CONTAINER_PATH}${INSTALLER_NUMBER_TEXT} with XML Choices file: $CHOICES_FILE” information
    /usr/sbin/installer -verbose -applyChoiceChangesXML “$TARGET/$CHOICES_FILE” -pkg “$UPDATE_PKG” -target “$CURRENT_IMAGE_MOUNT” | (while read INPUT; do log “$INPUT ” detail; done)
    else
    log “Installing $TARGET_FILE_NAME from ${CONTAINER_PATH}${INSTALLER_NUMBER_TEXT}” information
    /usr/sbin/installer -verbose -pkg “$UPDATE_PKG” -target “$CURRENT_IMAGE_MOUNT” | (while read INPUT; do log “$INPUT ” detail; done)
    fi
    done
    [/code]

    #375828
    Anthony Reimer
    Participant

    Only sightly OT, but the latest updater is 12.1.5 and it is a “combo” update. That should simplify the troubleshooting a bit.

    #375838
    AllanMarcus
    Participant

    [QUOTE][u]Quote by: jazzace[/u][p]Only sightly OT, but the latest updater is 12.1.5 and it is a “combo” update. That should simplify the troubleshooting a bit.[/p][/QUOTE]

    It’s sort of a combo updater in that you still need to make sure Microsoft Office 2008 for Mac Service Pack 1 (12.1.0) is installed.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Comments are closed