We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My goal is to install dotnet via install script as a prerequisite in my PKG we distribute for our macOS users.
For this, I have downloaded the latest script from here https://dot.net/v1/dotnet-install.sh, made it executable chmod 755 and renamed it to preinstall.sh as described in this little guide https://macinstallers.blogspot.com/2012/07/scripting-in-installer-packages.html
chmod 755
However, during testing the installation has failed and the PKG log says it's a preinstall script failure (dotnet-install.sh)
2024-05-30 14:58:23+03 MacBook-Pro installd[744]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “Viddly-6.0.11.pkg”." UserInfo={NSFilePath=./preinstall.sh, NSURL=file:///Users/user/Desktop/Viddly-6.0.11.pkg#com.viddly.app.pkg, PKInstallPackageIdentifier=com.viddly.app, NSLocalizedDescription=An error occurred while running scripts from the package “Viddly-6.0.11.pkg”.} { NSFilePath = "./preinstall.sh"; NSLocalizedDescription = "An error occurred while running scripts from the package \U201cViddly-6.0.11.pkg\U201d."; NSURL = "file:///Users/user/Desktop/Viddly-6.0.11.pkg#com.viddly.app.pkg"; PKInstallPackageIdentifier = "com.viddly.app"; }
Running the script from the terminal actually works. Has anyone managed to install dotnet as a prerequisite in macOS PKG?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
My goal is to install dotnet via install script as a prerequisite in my PKG we distribute for our macOS users.
For this, I have downloaded the latest script from here https://dot.net/v1/dotnet-install.sh, made it executable
chmod 755
and renamed it to preinstall.sh as described in this little guide https://macinstallers.blogspot.com/2012/07/scripting-in-installer-packages.htmlHowever, during testing the installation has failed and the PKG log says it's a preinstall script failure (dotnet-install.sh)
Running the script from the terminal actually works.
Has anyone managed to install dotnet as a prerequisite in macOS PKG?
The text was updated successfully, but these errors were encountered: