From 725f49e9feae5ff3314e32ce6243c532fbaebc6b Mon Sep 17 00:00:00 2001 From: Enrico Giordani Date: Wed, 29 Jan 2020 13:06:19 +0100 Subject: [PATCH] MSIX: update identity name and publisher (#1176) --- installer/MSIX/appxmanifest.xml | 2 +- installer/MSIX/generate_self_sign_cert.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/MSIX/appxmanifest.xml b/installer/MSIX/appxmanifest.xml index ac0e46a816eb..d15bbeca3324 100644 --- a/installer/MSIX/appxmanifest.xml +++ b/installer/MSIX/appxmanifest.xml @@ -7,7 +7,7 @@ xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10" xmlns:desktop4="http://schemas.microsoft.com/appx/manifest/desktop/windows10/4" xmlns:desktop5="http://schemas.microsoft.com/appx/manifest/desktop/windows10/5" IgnorableNamespaces="desktop4"> - + PowerToys Microsoft Corporation diff --git a/installer/MSIX/generate_self_sign_cert.ps1 b/installer/MSIX/generate_self_sign_cert.ps1 index 2d9c65490be2..3b50d17ee2e7 100644 --- a/installer/MSIX/generate_self_sign_cert.ps1 +++ b/installer/MSIX/generate_self_sign_cert.ps1 @@ -1,5 +1,5 @@ $expirationDate = {Get-Date}.Invoke().AddYears(5) $pass = ConvertTo-SecureString -String "12345" -Force -AsPlainText -$thumbprint = (New-SelfSignedCertificate -notafter $expirationDate -Type CodeSigningCert -Subject "CN=Microsoft Corporation" -FriendlyName "PowerToys Test Certificate" -KeyDescription "PowerToys Test Certificate" -KeyFriendlyName "PowerToys Test Key" -KeyUsage "DigitalSignature" -CertStoreLocation Cert:\LocalMachine\My).Thumbprint +$thumbprint = (New-SelfSignedCertificate -notafter $expirationDate -Type CodeSigningCert -Subject "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" -FriendlyName "PowerToys Test Certificate" -KeyDescription "PowerToys Test Certificate" -KeyFriendlyName "PowerToys Test Key" -KeyUsage "DigitalSignature" -CertStoreLocation Cert:\LocalMachine\My).Thumbprint Export-PfxCertificate -Cert cert:\LocalMachine\My\$thumbprint -FilePath PowerToys_TemporaryKey.pfx -Password $pass Import-PfxCertificate -CertStoreLocation Cert:\LocalMachine\Root -FilePath PowerToys_TemporaryKey.pfx -Password $pass