Installing a UWP package on Windows 10 gives HashMismatch certificate error - windows

We have previously successfully installed a packaged debug version of our application on Windows 10.
When now try to install by running the Add-AppDevPackage.ps1, when it prompts me to install the certificate, I get the error:
Error: could not install the certificate. Status: HashMismatch. For
more information, see http://go.Microsoft.com/fwlink/?LinkID=252740
I can see that the appropriate certificate in the Trusted People certificate store - so the Certificate has been installed ok.
Has anyone seen this and/or got a solution to this problem?

If the certificate is already installed, you don't need to run the powershell script. Have you tried to double click the package to install?

Related

Certificate Provider cannot be found Mac OS

To get an acces token for an api I need to run a Powershell script first. I'm using mac os 11.3.1, installed Powershell via Homebrew and installed some packages for using the script. One last thing I need to complete to be able to run it is creating a Certificate Provider/Cert drive. On Windows this is created when installing Powershell but this isn't the case on mac os.
I can't find any documentation about this so are there people who were able to use the certificate provider?
My current modules:

NetBeans package untrusted macOS

I'm trying to install NetBeans 8.0.1 on macOS Catalina 10.15.7
I need that specific version for university.
But it prompts an error message I've never seen in 4 years using mac: "the package baseide-8.0.1.pkg is untrusted"
baseid-8.0.1.pkg is a package inside the NetBeans8.0.1.pkg which I downloaded from official site.
Things I tried already?
Give full access to the Oracle certificate
Change system date to 3 months before the certificate expires
Install it via terminal: brew cask install http://download.netbeans.org/netbeans/8.0.1/final/bundles/netbeans-8.0.1-macosx.dmg
(Non) Installation proccess:
Certificate problem prompt
Certificate is trusted
After the typical steps, installation fails
So... what can I do? Thank you.
$ brew cask install netbeans-java-se

I cannot install the IBM Cloud CLI

I am trying to get started building a voice interface with Watson Assistant, and following the docs I need to install the IBM Cloud CLI. I have downloaded the three latest versions from here (https://console.bluemix.net/docs/cli/reference/bluemix_cli/all_versions.html) but the installs all fail. I tried running the command line install as well, but that fails too:
Download complete. Executing installer...
installer: Package name is IBM Cloud Command Line Interface
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.)
Install failed.
I tried installing on Macintosh HD disk and in a project folder, but it all fails! Help?
I tried versions 0.6.6, 0.6.5, and 0.6.4. I am running macOS High Sierra 10.13.3.
pls see if there is /usr/local/bin directory in your OS. If not, create the directory and install again.
This will be fixed in next release v0.6.7.

Mac pkg installation checks failed

In xcode 5.0.2, I created a pkg using the archive->distribute->export as->mac installer pkg.
The app signing is set to Developer ID. After the package has been created, I use productsign to sign my pkg file. I also tested the newly signed pkg using:
spctl -a -v --type install <file path>
the package installs perfectly on the machine that I built it on but when I tried installing on a different machine the installation fails with:
installation check failure <app name> can't be installed on this computer.
I also ran the spctl command previously on the new machine and got an accepted response with source = Developer ID.
How can I fix this problem? Or at the very least does anyone knows how to debug the installation check failure error? I can't seem to find any logs to determine where the check fails.

Install4j build on windows renders code signing error CSSMERR_TP_NOT_TRUSTED on OSX

I am using Install4j Multi-Platform 5.1.3 on Windows XP and I am attempting to code-sign my bundle for Mac OSX (Mountain Lion). I have installed Apple's intermediate certificates on both Windows XP and mac. I have followed directions on obtaining certificates through Xcode organizer and keychain. I have attempted to use certificates for both installer and application.
After I build I move the .dmg file to the mac and open it. I copy the .app file to another location in order to execute:
codesign -vvv -d myapp.app
It reports the message:
myapp.app: CSSMERR_TP_NOT_TRUSTED
I'm getting closer to a solution. It turns out that where install4j5 is installed there is a resource\macos\certs. This folder contains the Apple root certificate and Developer ID certificate. I deleted those and updated them from http://www.apple.com/certificateauthority/.
After my build CSSMERR_TP_NOT_TRUSTED is no longer being reported. Instead, it is the certificate info.
Now when I install with safari (using Gatekeeper) it is reporting "can't be opened because it is from an unidentified developer." Before with CSSMERR_TP_NOT_TRUSTED, gatekeeper was reporting that the file was damaged.

Resources