- This topic has 5 replies, 3 voices, and was last updated 16 years ago by
AllanMarcus.
-
AuthorPosts
-
March 21, 2009 at 12:01 am #375771
AllanMarcus
ParticipantI 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.xmlbut 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 Updatehere’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
March 23, 2009 at 10:39 am #375778alantrewartha
Participanthave you run the InstaDMG PatchOfficeUpdate droplet on your installer PKGs?
March 23, 2009 at 4:52 pm #375781AllanMarcus
Participantthanks 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.xmland 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
March 23, 2009 at 9:47 pm #375785AllanMarcus
ParticipantI 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=””
fiif [ $OS_REV_MAJOR -le 4 ]; then
CHOICES_FILE=”” # 10.4 can not use them
fiTARGET_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)”
fiif [ “$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]March 27, 2009 at 3:37 pm #375828Anthony Reimer
ParticipantOnly sightly OT, but the latest updater is 12.1.5 and it is a “combo” update. That should simplify the troubleshooting a bit.
March 30, 2009 at 1:43 pm #375838AllanMarcus
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.
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed