# names of its contributors may be used to endorse or promote products # * Neither the name of the JAMF Software, LLC nor the # documentation and/or other materials provided with the distribution. # notice, this list of conditions and the following disclaimer in the # * Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer. # * Redistributions of source code must retain the above copyright # modification, are permitted provided that the following conditions are met: # Redistribution and use in source and binary forms, with or without # Copyright (c) 2011, JAMF Software, LLC. Paste it into the Script tab: #!/bin/sh -x Here is the script, which is a slightly tweaked version of Nick Amundsen's script. I still stand by my method, and use it on many other packages, not just Wacom.Ĭreate a new script, called InstallPKGfromDMG.sh You should repackage this into a dmg (using a new and modified snapshot from composer) so your users do not a see an erroneous "failure" message. For example, I tried this via Casper Remote and did not get a failure message, either in the JSS or the install.log file. It's probably in the way JAMF has coded their binaries and what information SS pays attention to vs other install methods. Contact the software manufacturer for assistance.) Installer: The install failed (The Installer encountered an error that caused the installation to fail. Supported OS Version detected 10.8End Installation Checkĭyld: DYLD_ environment variables being ignored because main executable (/System/Library/PrivateFrameworks/amework/Resources/runner) is setuid or setgid The installer reported: Begin Installation Check This is what Casper reports in it's logs: Installation failed. The error seems to be happening somewhere in the postflight script in the installer. However the driver is installed properly. Contact the software manufacturer for assistance. Jul 9 10:36:25 CLEML-A03056 installer: Install failed: The Installer encountered an error that caused the installation to fail. Some user-specific parts of the script seem like they're still there from the Tiger-era and are bypassed.Īlso, always nice to find this in a postflight script (which it won't reach anyway, because of the above error in the preflight script): if( exists $ENV Can't guarantee that this doesn't cause any issues, but it seems it installs most if not all its "user defaults" to the /Library/Preferences dir, rather than that of any specific user. I've been deploying this package for some time by explicitly setting the USER environment variable to 'root'. To test this yourself, you can unset the USER variable before running the installation, then try afterwards "export USER=root". If the USER environment variable isn't present during the installation, Perl is probably trying to interpret the symbol $USER differently, and failing because the script was set to "use strict". preflight: Global symbol "$USER" requires explicit package name at /Volumes/WacomTablet/Install Wacom Tablet.pkg/Contents/Resources/preflight line 103. I don't know if the Self Service installer explicitly provides any user environment variables, but I used to run into issues installing this due to assumptions in the installer's preflight script: see the 'quitUserSystemPreferences' subroutine.įrom my install.log: May 18 07:32:57 tim-laptop installd.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |