Posted on 02-13-2017 04:42 AM
Has anybody else seen this error?
Installing xxxxxxx
Installation failed. The installer reported: installer: Package name is xxxxx
installer: Upgrading at base path /
installer: The upgrade failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
Install works fine when manually executed
Posted on 02-13-2017 05:07 AM
Have you checked on the device to see if the installation actually succeeded? I've had a couple of instances where the installer says that it failed, even though it worked (Citrix Receiver 12.4 is a good example).
Posted on 02-13-2017 05:18 AM
Hi Michael- The install actually failed. The package is from the source. It fails on multiple devices. It seems it's expects the package to be a different name
Posted on 02-13-2017 06:22 AM
I've been seeing some of the same, mainly with our AutoPkgr built pkgs. If I build them by hand, the issue seems to go away.
Posted on 02-13-2017 06:40 AM
Read /var/log/install.log and it'll tell you the problem.
Posted on 02-13-2017 06:42 AM
I've been seeing the exact same error, multiple computers, multiple packages... no rhyme or reason. The pkg installs just fine on most computers, but others not one day and then the next day they install just fine. This has been going on for over a month and support has not been able to answer as to why.
All pkgs are CC pkgs.
Posted on 02-13-2017 07:10 AM
I am on a hosted JAMF. Turned on full logging and sent them to support, I've also submitted the client logs. No resolution. Support does not know why it's happening.
Posted on 02-13-2017 08:01 AM
@RobertBasil On the client machine where your getting failures, look at the installer log, /var/log/install.log
With the Adobe CS/CC installers I frequently see intermittent and inconsistant failures (in the install.log) with nonsense like:
"An error occurred while running scripts from the package “name_of_package_here.pkg”
"An error occurred while extracting files from the package “ name_of_package_here.pkg”
Sometimes a re-run works, or a reboot. Sometimes I've found the Adobe Update Manager process is running in the background causing the failure, killing it allows the new install. Sometimes I find an older version of the suite is installed and must be uninstalled (PIA) before the new suite will install. Definitely finding the CC installers more fragile these days. See what's in the install.log
Posted on 02-23-2017 01:51 PM
I'm seeing this issue also. Adobe CC 2017 package fails to install during imaging, but installs successfully with Self Service.
Error in the install.log file is:
An error occurred while running scripts from the package "Adobe CC 2017 - Full Installer.pkg"
I'm going to re-create the installer with CCP, see if that resolves the issue!
Posted on 04-03-2017 11:14 AM
I've started seeing this issue with packages that worked about a week ago.
Packages from both EFI (fiery) and Checkpoint (vpn).
@HS_Test what version of Jamf are you on?
Posted on 07-06-2017 07:53 AM
@HS_Test was this ever resolved?
Posted on 07-09-2017 05:42 PM
I just had this issue myself with a tested package (manually installed)....will let you guys know if I find a fix!
Posted on 08-16-2017 01:20 PM
I'm having this issue currently with a package that has worked consistently with all test machines, but now that I'm running it site-wide, the script fails with:
Installation failed. The installer reported: installer: Package name is SEPRemote<br/>installer: Installing at base path /<br/>installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
I'll flush and try again, thinking that maybe it's a networking issue where the package isn't copying over correctly.
Posted on 08-16-2017 03:29 PM
Can you confirm if the PKG was signed using an expired Developer ID certificate?
/usr/sbin/pkgutil --check-signature /path/to/package.pkg
We got bit in the butt by McAfee packages the a couple days ago because of this.
Posted on 08-29-2017 07:23 AM
Hey guys,
I now have the same problem with Citrix Receiver and McAfee.
Citrix Receiver just tells me:
Installation failed. The installer reported: installer: Package name is Citrix Receiver
installer: Installing at base path /
installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
McAfee is telling something about " Certificate used to sign package is not trusted."
Installation failed. The installer reported: **************************
Running GenerateProductConfig
Installation will continue since MA 4.8.0 Patch3 is not already installed
Checking if we have FMP already installed
Checking if we have MSCUI already installed
installer: Package name is McAfee Endpoint Protection for Mac
installer: Certificate used to sign package is not trusted. Use -allowUntrusted to override.
I switched a few days ago to 9.100 is that connected? Or is something different maybe with 10.12.6?
Thank you
BR
Daniel
Posted on 08-29-2017 01:26 PM
We've been bit with expired dev certificates in the CC suite for individual product installs. I usually find the exact errors in /Library/Logs/Adobe/Installers/. The CC installer will create a log for each product in the suite. If one fails it rolls back all of them and the generic install failure message is sent to the JSS. I'll actually watch the logs during an install to pin point which one fails.
If your software developer has separate logs, besides the system wide install.log, it'll be the one to watch.
Frank
Posted on 08-29-2017 02:04 PM
There are new McAfee installer .pkgs
C
Posted on 09-19-2017 12:12 AM
Hi @gachowski,
Thank you, the new McAdee pkgs solved that problem :)
I still have the problem with the Citrix Receiver. Version 12.4 and 12.6.
Any clue on that?
Thank you
BR
Daniel
---------------------- EDIT -----------------------
OK, I found the problem.
I was renaming the installation PKG from "Install Citrix Receiver" to "Citrix Receiver 12.6" because it is easier for me to track the packages by name. Now i just changed the "Display Name", not that good for me but if it works its ok for me ;)
---------------------- 2. EDIT -----------------------
Sorry, no. It just was working once. The problem still exists.
Does anyone have a clue?
Thank you
Posted on 09-20-2017 01:10 AM
Hi all,
I'm sorry, but i don't get it.
I now tried to redownload the Citrix Receiver 12.6.
I used an old package (the first version of Citrix Receiver we installed, which was working).
I created a new Policy
Nothing is working, expect my own Mac.
I will post the jamf.log and install.log here, maybe someone has a clue:
jamf.log:
xxxxxxx:~ xxxxxxxx$ sudo jamf policy -v
Checking for policies triggered by "recurring check-in"...
Executing Policy [36000] Citrix Receiver 12.6
Running script Uninstall.Citrix Receiver...
Script exit code: 0
Script result: rm: Citrix Receiver/: No such file or directory
Mounting xxxxxxxx
Verifying package integrity...
Installing Citrix Receiver 12.6...
Installation failed. The installer reported: installer: Package name is Citrix Receiver
installer: Installing at base path /
installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
Retrying using distribution point xxxxxxx...
Downloading Citrix_Receiver_12.6.pkg...
Downloading https://xxx.xxxxxx.xxx/xxxxxxxxx/Packages/Citrix_Receiver_12.6.pkg...
Verifying package integrity...
Installing Citrix Receiver 12.6...
Installation failed. The installer reported: installer: Package name is Citrix Receiver
installer: Installing at base path /
installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
Verifying package integrity...
Installing Citrix Receiver Configuration...
Filling user home directories from /Volumes/CitrixCfg/Users/xxx ...
Filling user templates from /Volumes/CitrixCfg/Users/xxx ...
Closing package...
Relaunching dock(s)...
Unmounting file server...
Running Recon...
Retrieving inventory preferences from https://xxx.xxxxxx.xxx/...
Finding extension attributes...
Locating accounts...
Locating applications...
Searching path: /Applications
Locating hard drive information...
Locating package receipts...
Locating software updates...
Locating printers...
Locating hardware information (Mac OS X 10.12.6)...
Gathering application usage information...
Submitting data to https://xxx.xxxxxx.xxx/...
<computer_id>147</computer_id>
Submitting log to https://xxx.xxxxxx.xxx/
install.log:
Sep 20 09:53:03 xxxxxxxxx installer[1970]: Product archive /Library/Application Support/JAMF/Downloads/Citrix_Receiver_12.6.pkg trustLevel=202
Sep 20 09:53:03 xxxxxxxxx installer[1970]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost
Sep 20 09:53:03 xxxxxxxxx installer[1970]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Library/Application%20Support/JAMF/Downloads/Citrix_Receiver_12.6.pkg#com.citrix.ICAClient.pkg
Sep 20 09:53:03 xxxxxxxxx installer[1970]: Set authorization level to root for session
Sep 20 09:53:03 xxxxxxxxx installer[1970]: Administrator authorization granted.
Sep 20 09:53:03 xxxxxxxxx installer[1970]: Will use PK session
Sep 20 09:53:03 xxxxxxxxx installer[1970]: Using authorization level of root for IFPKInstallElement
Sep 20 09:53:03 xxxxxxxxx installer[1970]: Starting installation:
Sep 20 09:53:03 xxxxxxxxx installer[1970]: Configuring volume "Macintosh HD"
Sep 20 09:53:03 xxxxxxxxx installer[1970]: Preparing disk for local booted install.
Sep 20 09:53:03 xxxxxxxxx installer[1970]: Free space on "Macintosh HD": 476,87 GB (476867665920 bytes).
Sep 20 09:53:03 xxxxxxxxx installer[1970]: Create temporary directory "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T//Install.1970uRGjQj"
Sep 20 09:53:03 xxxxxxxxx installer[1970]: IFPKInstallElement (1 packages)
Sep 20 09:53:03 xxxxxxxxx installd[1129]: PackageKit: Adding client PKInstallDaemonClient pid=1970, uid=0 (/usr/sbin/installer)
Sep 20 09:53:03 xxxxxxxxx installer[1970]: PackageKit: Enqueuing install with framework-specified quality of service (utility)
Sep 20 09:53:03 xxxxxxxxx installd[1129]: PackageKit: ----- Begin install -----
Sep 20 09:53:03 xxxxxxxxx installd[1129]: PackageKit: request=PKInstallRequest <1 packages, destination=/>
Sep 20 09:53:03 xxxxxxxxx installd[1129]: PackageKit: packages=(
"PKLeopardPackage <file://localhost/Library/Application%20Support/JAMF/Downloads/Citrix_Receiver_12.6.pkg#com.citrix.ICAClient.pkg>"
)
Sep 20 09:53:03 xxxxxxxxx installd[1129]: PackageKit: Session UUID file exists - will not overwrite /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/A043A369-5CB1-49FD-9772-0316AD31FCC9.activeSandbox
Sep 20 09:53:03 xxxxxxxxx installd[1129]: PackageKit: Extracting file://localhost/Library/Application%20Support/JAMF/Downloads/Citrix_Receiver_12.6.pkg#com.citrix.ICAClient.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/A043A369-5CB1-49FD-9772-0316AD31FCC9.activeSandbox/Root, uid=0)
Sep 20 09:53:13 xxxxxxxxx installd[1129]: PackageKit: prevent user idle system sleep
Sep 20 09:53:13 xxxxxxxxx installd[1129]: PackageKit: suspending backupd
Sep 20 09:53:13 xxxxxxxxx installd[1129]: PackageKit: Executing script "./preinstall" in /private/tmp/PKInstallSandbox.QX0g1x/Scripts/com.citrix.ICAClient.z3D6fN
Sep 20 09:53:13 xxxxxxxxx install_monitor[1981]: Temporarily excluding: /Applications, /Library, /System, /bin, /private, /sbin, /usr
Sep 20 09:53:13 xxxxxxxxx installd[1129]: ./preinstall: No receipt for 'com.citrix.ICAClient' found at '/'.
Sep 20 09:53:13 xxxxxxxxx installd[1129]: PackageKit: Using trashcan path /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/PKInstallSandboxTrash/A043A369-5CB1-49FD-9772-0316AD31FCC9.sandboxTrash for sandbox /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/A043A369-5CB1-49FD-9772-0316AD31FCC9.activeSandbox
Sep 20 09:53:13 xxxxxxxxx installd[1129]: PackageKit: Shoving /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/A043A369-5CB1-49FD-9772-0316AD31FCC9.activeSandbox/Root (3 items) to /
Sep 20 09:53:13 xxxxxxxxx installd[1129]: PackageKit: Executing script "./postinstall" in /private/tmp/PKInstallSandbox.QX0g1x/Scripts/com.citrix.ICAClient.z3D6fN
Sep 20 09:53:14 xxxxxxxxx installd[1129]: ./postinstall: Successfully collected Installer CEIP datapoints to file: /var/itadmin/Library/Application Support/Citrix Receiver/CEIP/CEIPInstaller.json
Sep 20 09:53:14 xxxxxxxxx installd[1129]: ./postinstall: Could not find domain for
Sep 20 09:53:14 --- last message repeated 1 time ---
Sep 20 09:53:14 xxxxxxxxx install_monitor[1981]: Re-included: /Applications, /Library, /System, /bin, /private, /sbin, /usr
Sep 20 09:53:14 xxxxxxxxx installd[1129]: PackageKit: releasing backupd
Sep 20 09:53:14 xxxxxxxxx installd[1129]: PackageKit: allow user idle system sleep
Sep 20 09:53:14 xxxxxxxxx installd[1129]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “Citrix_Receiver_12.6”." UserInfo={NSFilePath=./postinstall, NSURL=file://localhost/Library/Application%20Support/JAMF/Downloads/Citrix_Receiver_12.6.pkg#com.citrix.ICAClient.pkg, PKInstallPackageIdentifier=com.citrix.ICAClient, NSLocalizedDescription=An error occurred while running scripts from the package “Citrix_Receiver_12.6”.} {
NSFilePath = "./postinstall";
NSLocalizedDescription = "An error occurred while running scripts from the package U201cCitrix_Receiver_12.6U201d.";
NSURL = "file://localhost/Library/Application%20Support/JAMF/Downloads/Citrix_Receiver_12.6.pkg#com.citrix.ICAClient.pkg";
PKInstallPackageIdentifier = "com.citrix.ICAClient";
}
Sep 20 09:53:14 xxxxxxxxx installd[1129]: PackageKit: Running idle tasks
Sep 20 09:53:14 xxxxxxxxx installer[1970]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “Citrix_Receiver_12.6”." UserInfo={NSFilePath=./postinstall, NSURL=file://localhost/Library/Application%20Support/JAMF/Downloads/Citrix_Receiver_12.6.pkg#com.citrix.ICAClient.pkg, PKInstallPackageIdentifier=com.citrix.ICAClient, NSLocalizedDescription=An error occurred while running scripts from the package “Citrix_Receiver_12.6”.}
Sep 20 09:53:14 xxxxxxxxx installd[1129]: PackageKit: Removing client PKInstallDaemonClient pid=1970, uid=0 (/usr/sbin/installer)
Sep 20 09:53:14 xxxxxxxxx installd[1129]: PackageKit: Done with sandbox removals
Sep 20 09:53:15 xxxxxxxxx installer[1970]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Sep 20 09:53:19 xxxxxxxxx installer[2008]: Product archive /Library/Application Support/JAMF/Downloads/Citrix_Receiver_12.6.pkg trustLevel=202
Sep 20 09:53:19 xxxxxxxxx installer[2008]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost
Sep 20 09:53:19 xxxxxxxxx installer[2008]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Library/Application%20Support/JAMF/Downloads/Citrix_Receiver_12.6.pkg#com.citrix.ICAClient.pkg
Sep 20 09:53:19 xxxxxxxxx installer[2008]: Set authorization level to root for session
Sep 20 09:53:19 xxxxxxxxx installer[2008]: Administrator authorization granted.
Sep 20 09:53:19 xxxxxxxxx installer[2008]: Will use PK session
Sep 20 09:53:19 xxxxxxxxx installer[2008]: Using authorization level of root for IFPKInstallElement
Sep 20 09:53:19 xxxxxxxxx installer[2008]: Starting installation:
Sep 20 09:53:19 xxxxxxxxx installer[2008]: Configuring volume "Macintosh HD"
Sep 20 09:53:19 xxxxxxxxx installer[2008]: Preparing disk for local booted install.
Sep 20 09:53:19 xxxxxxxxx installer[2008]: Free space on "Macintosh HD": 476,78 GB (476781916160 bytes).
Sep 20 09:53:19 xxxxxxxxx installer[2008]: Create temporary directory "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T//Install.2008nf1hwb"
Sep 20 09:53:19 xxxxxxxxx installer[2008]: IFPKInstallElement (1 packages)
Sep 20 09:53:19 xxxxxxxxx installd[1129]: PackageKit: Adding client PKInstallDaemonClient pid=2008, uid=0 (/usr/sbin/installer)
Sep 20 09:53:19 xxxxxxxxx installer[2008]: PackageKit: Enqueuing install with framework-specified quality of service (utility)
Sep 20 09:53:19 xxxxxxxxx installd[1129]: PackageKit: ----- Begin install -----
Sep 20 09:53:19 xxxxxxxxx installd[1129]: PackageKit: request=PKInstallRequest <1 packages, destination=/>
Sep 20 09:53:19 xxxxxxxxx installd[1129]: PackageKit: packages=(
"PKLeopardPackage <file://localhost/Library/Application%20Support/JAMF/Downloads/Citrix_Receiver_12.6.pkg#com.citrix.ICAClient.pkg>"
)
Sep 20 09:53:19 xxxxxxxxx installd[1129]: PackageKit: Session UUID file exists - will not overwrite /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/801AA049-EC2E-4424-8D9A-417038EE9C25.activeSandbox
Sep 20 09:53:20 xxxxxxxxx installd[1129]: PackageKit: Extracting file://localhost/Library/Application%20Support/JAMF/Downloads/Citrix_Receiver_12.6.pkg#com.citrix.ICAClient.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/801AA049-EC2E-4424-8D9A-417038EE9C25.activeSandbox/Root, uid=0)
Sep 20 09:53:29 xxxxxxxxx installd[1129]: PackageKit: prevent user idle system sleep
Sep 20 09:53:29 xxxxxxxxx installd[1129]: PackageKit: suspending backupd
Sep 20 09:53:29 xxxxxxxxx installd[1129]: PackageKit: Executing script "./preinstall" in /private/tmp/PKInstallSandbox.EvDn8h/Scripts/com.citrix.ICAClient.fQwHC7
Sep 20 09:53:29 xxxxxxxxx install_monitor[2018]: Temporarily excluding: /Applications, /Library, /System, /bin, /private, /sbin, /usr
Sep 20 09:53:29 xxxxxxxxx installd[1129]: ./preinstall: No receipt for 'com.citrix.ICAClient' found at '/'.
Sep 20 09:53:29 xxxxxxxxx installd[1129]: PackageKit: Using trashcan path /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/PKInstallSandboxTrash/801AA049-EC2E-4424-8D9A-417038EE9C25.sandboxTrash for sandbox /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/801AA049-EC2E-4424-8D9A-417038EE9C25.activeSandbox
Sep 20 09:53:29 xxxxxxxxx installd[1129]: PackageKit: Shoving /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/801AA049-EC2E-4424-8D9A-417038EE9C25.activeSandbox/Root (3 items) to /
Sep 20 09:53:30 xxxxxxxxx installd[1129]: PackageKit: Executing script "./postinstall" in /private/tmp/PKInstallSandbox.EvDn8h/Scripts/com.citrix.ICAClient.fQwHC7
Sep 20 09:53:30 xxxxxxxxx installd[1129]: ./postinstall: Successfully collected Installer CEIP datapoints to file: /var/itadmin/Library/Application Support/Citrix Receiver/CEIP/CEIPInstaller.json
Sep 20 09:53:30 xxxxxxxxx installd[1129]: ./postinstall: Could not find domain for
Sep 20 09:53:30 --- last message repeated 1 time ---
Sep 20 09:53:30 xxxxxxxxx install_monitor[2018]: Re-included: /Applications, /Library, /System, /bin, /private, /sbin, /usr
Sep 20 09:53:30 xxxxxxxxx installd[1129]: PackageKit: releasing backupd
Sep 20 09:53:30 xxxxxxxxx installd[1129]: PackageKit: allow user idle system sleep
Sep 20 09:53:30 xxxxxxxxx installd[1129]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “Citrix_Receiver_12.6.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file://localhost/Library/Application%20Support/JAMF/Downloads/Citrix_Receiver_12.6.pkg#com.citrix.ICAClient.pkg, PKInstallPackageIdentifier=com.citrix.ICAClient, NSLocalizedDescription=An error occurred while running scripts from the package “Citrix_Receiver_12.6.pkg”.} {
NSFilePath = "./postinstall";
NSLocalizedDescription = "An error occurred while running scripts from the package U201cCitrix_Receiver_12.6.pkgU201d.";
NSURL = "file://localhost/Library/Application%20Support/JAMF/Downloads/Citrix_Receiver_12.6.pkg#com.citrix.ICAClient.pkg";
PKInstallPackageIdentifier = "com.citrix.ICAClient";
}
Sep 20 09:53:30 xxxxxxxxx installd[1129]: PackageKit: Running idle tasks
Sep 20 09:53:30 xxxxxxxxx installer[2008]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “Citrix_Receiver_12.6.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file://localhost/Library/Application%20Support/JAMF/Downloads/Citrix_Receiver_12.6.pkg#com.citrix.ICAClient.pkg, PKInstallPackageIdentifier=com.citrix.ICAClient, NSLocalizedDescription=An error occurred while running scripts from the package “Citrix_Receiver_12.6.pkg”.}
Sep 20 09:53:30 xxxxxxxxx installd[1129]: PackageKit: Removing client PKInstallDaemonClient pid=2008, uid=0 (/usr/sbin/installer)
Sep 20 09:53:30 xxxxxxxxx installd[1129]: PackageKit: Done with sandbox removals
Sep 20 09:53:31 xxxxxxxxx installer[2008]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance
It looks like (for me), the installation is running (the Citrix Receiver is in the Applications folder) but just the postinstall fails. Might that be?
Hopefully someone saw that before.
Thank you.
BR
Daniel
Posted on 10-13-2017 02:21 PM
@dpratl We were having this issue with Citrix Receiver 12.4+ also, and I finally had some time to get around to figuring it out.
There is an issue with the logic in the readInstallOptions() function that's part of the postinstall script.
Citrix is using:
INSTALLING_USER=$(stat -f "%Su" "$HOME")
But when it runs via jamf policy as root, the logs (/Library/Logs/ReceiverInstall.log) end up reporting "Installing as user: (0)" - this breaks the postinstall agent setup because the directory /Users/root doesn't exist.
The fix for me was to use:
pkgutil --expand /path/to/flat.pkg /path/to/expandedfolder
Then right click on the .pkg, "show package contents" & open the scripts/postinstall script with your favorite text editor.
Change line 96 (Receiver 12.7) to:
INSTALLING_USER=`python -c 'from SystemConfiguration import SCDynamicStoreCopyConsoleUser; import sys; username = (SCDynamicStoreCopyConsoleUser(None, None, None) or [None])[0]; username = [username,""][username in [u"loginwindow", None, u""]]; sys.stdout.write(username + "
");'`
Save the file. Then use:
pkgutil --flatten /path/to/expandedfolder /path/to/flatfixed.pkg
Now when the installer runs, it picks up on the logged-in user and is able to do all of the postinstall actions because the proper home directory is being used.
I'm sure there is a caveat to this approach for systems with multiple users, or when the install is performed without a user logged on, but the updated postinstall script has been working for our environment.
Posted on 10-16-2017 11:36 PM
Hi @merps,
That sounds amazing.
And yes, I have the folder /Users/root on my MacBook, thats why it was working on my computer.
It is working! Thank you very much!
BR
Daniel
Posted on 10-31-2017 11:45 AM
I've run across this a number of times. Adobe installers work perfectly on test boxes but fail with this same error on some production machines.
A 1000-watt light bulb lit up bright for me today when I was encountering this error. What seems to be hanging things up is when the policy is run from Self Service - while other Creative Cloud apps are running. Quit the apps and the policy successfully runs from Self Service.
Before this light bulb lit up, to get around this issue I would shift the policy trigger to Log Out instead of Self Service. Then it would run successfully from the very same install package. Now I see that if other Adobe apps are quit before running from Self Service, it works.
Perhaps there is a process that can be killed that will permit policies to run from Self Service while other Adobe apps are running.
Edit: Not all apps do this I have found. Today I added Lightroom and Animate to Self Service. Lightroom didn't have any issues with other Adobe apps being open when the policy was run, but Animate did.
Posted on 10-31-2017 12:35 PM
Thanks @merps, I was having this problem with Citrix Receiver as well as Adobe Acrobat Reader DC (get the error message during install, even though both applications were installed correctly). I'm going to give this a try and then see if I can interpret it to fix the Adobe Reader issue.
Posted on 02-05-2018 02:33 PM
I've been having this issue also - especially with patch management. Support has no idea what's wrong. All of the packages will install if used through normal policies. Absolute nonsense. Jamf is claiming there is no product issue. This needs to be escalated within Jamf ASAP.
Posted on 02-06-2018 10:00 AM
"Installation failed. The installer reported: installer: Error trying to locate volume at /Volumes//" message is being produced when I am compiling a Configurations source via the Jamf Admin 10.1.1 app.
Posted on 06-08-2018 04:45 AM
I can confirm that the issue is still unfixed in version 12.9.1 of Citrix Receiver - the line that needs to be changed is now in line 97 (just to be as precise as possible).
I can also confirm that the fix still works with this version. @merps, thank you again for sharing!
Posted on 04-18-2019 06:51 AM
Can confirm that the issue is still unfixed in version 14 of Parallels
Installation failed. The installer reported: installer: Package name is Parallels Autodeploy Package
installer: Installing at base path /
installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
Any new, news on this issue?
Posted on 01-14-2020 03:33 PM
So answer me this, why does it install fine on some computers and no on others?
Installation failed. The installer reported: installer: Package name is Citrix Workspace
installer: Upgrading at base path /
installer: The upgrade failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
Posted on 01-14-2020 03:34 PM
Adobe Acrobat
Installation failed. The installer reported: installer: Package name is Adobe Acrobat DC (Continuous)
installer: Upgrading at base path /
installer: The upgrade failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
Posted on 01-15-2020 12:02 AM
@mhegge: Judging by the fact that it states it's upgrading, it's it could be because the version you are trying to install is the same version, or an older version, than the version currently installed on the computer. I've seen this with Adobe Acrobat due to it's auto-updater running and updating the application, but Jamf Pro not knowing this is the case because a recon hasn't been run to report that update back for policy/patch management scoping purposes.
Posted on 01-15-2020 07:02 AM
@taugust04 From what I understand, both the Acrobat (download from Adobe Support ticket) and Citrix (download direct from website) packages are full installers, not upgrades, but I will check the machines getting the errors.
Posted on 01-22-2020 10:07 AM
We are now seeing this randomly on various packages and policies. Installs fin on some computer, but other IDENTICAL computers, we get:
installer: The upgrade failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
Posted on 01-25-2020 06:56 AM
@mhegge : I don't have any experience with the Citrix installer, but, my experience with the Acrobat installers is that they will fail if they try to install on a system that already has a version of Acrobat that is the same, or later build, than what is being installed. I think this has to do with some poor (or perhaps intended) logic in their install scripts which do much of the heavy lifting during the install process. This includes the full versions of the packages Adobe makes available, not just the upgrades. Ordinary, Apple packages built in a more standard way would just overwrite the files regardless of versions, but there is a lot of customization done by Adobe in their Apple .pkg bundles that can go sideways very quickly.
Posted on 01-27-2020 03:58 PM
I will see if that data correlated with what I have going on. Will involve a little research. I see it happening with a package created to update the AUSST information on Adobe CC installs. Seems to not like one of the faculty computers.
Posted on 01-28-2020 09:21 AM
Thanks for a lot of input !
We're experiences the same problems with our Cirrato package (safe printing system).
Hope someone is coming up with something clever!
:)
Posted on 02-26-2020 11:48 AM
Greetings all,
I am receiving the same error on many new packages, Chrome, FireFox, etc. This one happens to be VLC Player.
Error message in Self Service reads:
"Installation failed. The installer reported: installer: Package name is VLC Player 3.0.8
installer: Installing at base path /
installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. The package is attempting to install content to the system volume.)"
Updating the old VLC from 2.2.4 to this version. Multiple devices, same error. Cleared the var/log/install.log Trust Level = 100 Says package is not signed. This was created with Composer.
I guess I need to ask, where in the process do I "sign" the package. I am thinking this may have something to do with Integrity Protections in the Catalina and Mojave OS's.
Any and all help or ideas are appreciated.
Thanks all
Posted on 03-20-2020 08:22 AM
I have been seeing this lately and there is nothing Jamf could say I have been working with them for over a month now does anyone has any known resolutions for this was anyone able to fix it?
Posted on 03-24-2020 12:25 PM
I was seeing this a lot with pkgs that we install from cache where they get cached by a policy for all Macs in scope, then a smart group scoped to all Macs with the pkg cached should install it... there's naught to go by from the errors, but on a hunch I wrote a script that validates the checksum of the package and I run it on both the cache policy AFTER and the install cached pkg policy BEFORE... in all cases where I got this error the pkg did not successfully transfer as indicated by the script's checksum validation failing. Mind you, you may be experiencing this for different reasons in your environment.
Now if I could only get back the time I spent troubleshooting this and get http transfers working reliably. It seems like every time we get them working the server team upgrades the webserver and no one knows how to force the config to work again.
Posted on 04-01-2020 05:57 PM
Same issue. "The package is attempting to install content to the system volume."
Posted on 04-30-2020 01:51 AM
Hi everyone,
I have the same error with Cybereason...only happening on ONE system.
I have a script to remove the existing instance of Cybereason and then install the newer version.
I even tried caching it and then installing the cached pkg but same error.
I also tried caching it and then using a script to execute the pkg from the Waiting Room directory, same error.
All other systems deployed fine with the policy to remove and the install the newer version, its just this one system!
Script result: installer: Package name is Cybereason Active Probe
installer: Upgrading at base path /
installer: The upgrade failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “Cybereason ActiveProbe v19.0.120.0.pkg”.)