Glad you got the issue solved.
MSIX package - Ask the app developer for a new app package. This one isn't signed with a trusted certificate
I am new to MSIX packaging tool. Could you please kindly someone assist me on this?
I have converted my application to MSIX using MSIX packaging tool - https://www.microsoft.com/en-gb/p/msix-packaging-tool/9n5lw3jbcxkf?activetab=pivot:overviewtab & installed the MSIX on windows 10 machine. the installation is not working as expected. Getting an error "Ask the app developer for a new app package. This one isn't signed with a trusted certificate"
I have generated self signed certificate (PFX file) for testing using this link - https://medium.com/the-new-control-plane/generating-self-signed-certificates-on-windows-7812a600c2d8 & attached the PFX in MSIX as well however i am facing the same issue.
I have switched the Update & security option to "Developer mode" but no luck.
Windows Insider program | Apps on Insider preview
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
4 answers
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
-
Anonymous
2021-06-02T15:28:53+00:00 Thank you CrazyKats.
I have generated the PFX file using below script,
$Publisher_CN = "CN=sample.MSIX"
$Publisher_DisplayName="sample company"
$password="pxxxxxxxxx"
$FolderToExportCert="$($env:UserProfile)\Documents"
$CertName="Sample.MSIX"
#——————————— Modify lines above only ———————————–
$pwd=ConvertTo-SecureString -String $password -Force -AsPlainText
$PfxName = "$($FolderToExportCert)$($CertName).pfx"
$cert = New-SelfSignedCertificate -Subject $Publisher_CN -FriendlyName $Publisher_DisplayName -KeyAlgorithm RSA -KeyLength 2048 -Provider "Microsoft Enhanced RSA and AES Cryptographic Provider" -KeyExportPolicy Exportable -KeyUsage DigitalSignature -Type CodeSigningCert -CertStoreLocation "Cert:\LocalMachine\Root"
$cert | Export-PfxCertificate -FilePath $PfxName -Password $pwd -Force
Remove-item $cert.PsPath
& imported the certificate in the package. Next, added the certificate in windows 10 trusted location.
I can able to install the MSIX application on windows 10 machine :).
Next issue is,
If any shortcut has an additional parameter, it is not capturing in "First launch task" . For example if application has below parameters in the shortcuts, then i can see only 2 exe (C:\Anaconda3-2020.02\pythonw.exe and C:\Anaconda3-2020.02\python.exe ) under "First launch task" section.
C:\Anaconda3-2020.02\pythonw.exe C:\Anaconda3-2020.02\cwp.py C:\Anaconda3-2020.02 C:\Anaconda3-2020.02\pythonw.exe C:\Anaconda3-2020.02\Scripts\spyder-script.py
C:\Anaconda3-2020.02\python.exe C:\Anaconda3-2020.02\cwp.py C:\Anaconda3-2020.02 C:\Anaconda3-2020.02\python.exe C:\Anaconda3-2020.02\Scripts\spyder-script.py --reset
C:\Anaconda3-2020.02\python.exe C:\Anaconda3-2020.02\cwp.py C:\Anaconda3-2020.02 C:\Anaconda3-2020.02\python.exe C:\Anaconda3-2020.02\Scripts\jupyter-notebook-script.py "%USERPROFILE%/"
%windir%\System32\cmd.exe "/K" C:\Anaconda3-2020.02\Scripts\activate.bat C:\Anaconda3-2020.02
%windir%\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy ByPass -NoExit -Command "& 'C:\Anaconda3-2020.02\shell\condabin\conda-hook.ps1' ; conda activate 'C:\Anaconda3-2020.02' "
C:\Anaconda3-2020.02\pythonw.exe C:\Anaconda3-2020.02\cwp.py C:\Anaconda3-2020.02 C:\Anaconda3-2020.02\pythonw.exe C:\Anaconda3-2020.02\Scripts\anaconda-navigator-script.py
Is there any way that i can edit and add the missing parameters in the shortcuts? Also i don't see ARP entry. any help please?
-
CrazyKats 20,330 Reputation points Volunteer Moderator2021-06-02T13:00:11+00:00