Closed SebghatYusuf closed 1 year ago
Are you sure the path to the certificate is current? Log: The system cannot find the file specified
@YehudaKremer Sorry for the late reply, Yes the certificate exists in same the directory as logo (icon) and they're all using absolute paths.
I just experienced the same issue and I found out why it happens and how to fix it:
The file it can't find is powershell.exe
, which is not on always on PATH apparently, so the fix is simply adding the directory to PATH.
In my case it's in
C:\Windows\System32\WindowsPowerShell\v1.0
To fix this in the library I would
powershell.exe
is available@iAndyHD3 Thank you for your instructions, actually powershell was on PATH, issue was having anti virus on, and it was blocking the process.
:information_source: Info
Version:
v3.7.0
:speech_balloon: Description
I followed the steps described here to create a self signed pfx: [Flutter Desktop Documentation](https://docs.flutter.dev/development/platform-integration/windows/building#create-a-self-signed-pfx-certificate-for-local-testing: create self signed pfx)
Now when I run the command
flutter pub run msix:create
it throws this error:Enter a description of your problem here.
Any logs, error and assets you have that can help to find this bug.
To run the tool with extended logs use the
-v
argument, for example:flutter pub run msix:create -v
:scroll: Pubspec.yaml