Forum Replies Created
-
AuthorPosts
-
mdspidle
ParticipantSorry forgot the obvious pieces:
Client MacBookPro 13″ running Lion 10.7.4
OpenDirectory Server running Snow Leopard 10.6.8Mark
mdspidle
Participantyoshi,
I applied your changes but the updater still doesn’t work for me. Here is the debug output from instadmg for that package:
Do you know what version of Office is required for the updater to work?
[code]
PackageKit: Executing script “./preflight” in /Users/admin/Desktop/SL-InstaDMG-2012/InstallerFiles/UCSD/Office 2011 14.2.2 Update.pkg/Contents/Packages/Office2011_all_quit_14.2.2.combo.pkg/Contents/Resources
PackageKit: Executing script “./preflight” in /Users/admin/Desktop/SL-InstaDMG-2012/InstallerFiles/UCSD/Office 2011 14.2.2 Update.pkg/Contents/Packages/Office2011_en_core_resources_14.2.2.combo.pkg/Contents/Resources
./preflight: Running preflight for /tmp/idmg.4ZYS/idmg_mp.YPhA
./preflight: 2012-05-10 09:03:33.735 package_updatable[18786:903] package_updatable – ERROR
PackageKit: Install Failed: PKG: pre-flight scripts for “com.microsoft.office.en.core_resources.pkg.14.2.2.update”
Error Domain=PKInstallErrorDomain Code=112 UserInfo=0x108abce50 “An error occurred while running scripts from the package “Office2011_en_core_resources_14.2.2.combo.pkg”.” {
NSFilePath = “./preflight”;
NSLocalizedDescription = “An error occurred while running scripts from the package U201cOffice2011_en_core_resources_14.2.2.combo.pkgU201d.”;
NSURL = “./Contents/Packages/Office2011_en_core_resources_14.2.2.combo.pkg — file://localhost/Users/admin/Desktop/SL-InstaDMG-2012/InstallerFiles/UCSD/Office%202011%2014.2.2%20Update.pkg/”;
PKInstallPackageIdentifier = “com.microsoft.office.en.core_resources.pkg.14.2.2.update”;
}
install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 UserInfo=0x108abce50 “An error occurred while running scripts from the package “Office2011_en_core_resources_14.2.2.combo.pkg”.”
%97.750000
Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
Folder 43 Office 2011 14.2.2 Update done (09:03:37)
[/code]mdspidle
ParticipantThe suggestion by thomasb worked for me.
Mark
mdspidle
Participant[QUOTE][u]Quote by: macshome[/u][p]On 10.5 there is a lot you can do with MCX policy. If you don’t have directory service based policy you can take a look at our article on using localhost policy for another option.[/p][/QUOTE]
What article? I searched but couldn’t find one.
Thanks
Mark
mdspidle
Participant[QUOTE][u]Quote by: thegooch49[/u][p]Hello, the first script is a modified instauser script. It runs lots of dscl commands. It also enables root, sets the login screen to be username/password (instead of list). The second script is a post install script. It just sets some defualts. It modifies the postfix config file, adds about 10 users to the admin group, connects to our LDAP directory, sets a login hook, configures ARD with kickstart, sets NTP, turns on SSH, Configures energy settings, sleeep, etc.
[/p][/QUOTE]
I’m curious to find out what commands you are using to set some of the items you mentioned. ie NTP, SSH, etc. I’ve captured the files and created a package for some things but other won’t stick. Looking for an alternative to set things like, Bluetooth prefs, Sharing prefs, Software Update prefs etc.
Thanks
-
AuthorPosts
Recent Comments