SITPL
asked on
Create App Package using Desktop App Convertor
Hi Expert
I have converted my Exe using Desktop App Converter tool using following commands :
PS C:\Windows\system32> DesktopAppConverter.exe -Installer C:\Installer\Technician.ex e -InstallerArguments "/S" -Destination C:\Newfolder -PackageName "Technician" -Publisher "CN=30910EF5-407B-4B34-B55 F-DD7136DD CA98" -Version 5.5.0.0 -Verbose
Output :
PackageFilesPath C:\Newfolder\Technician\Pa ckageFiles
No when I Try to create App Package using MakeAppx commands :
PS C:\Windows\system32> MakeAppx pack -d "C:\Newfolder\Technician\P ackageFile s" -p "C:\Technician.appx"
MakeAppx : The term 'MakeAppx' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
+ FullyQualifiedErrorId : CommandNotFoundException
Not able to create App Package using MakeAppx commands.
I am using Windows 10 Enterprise 64 bit Os Version 10.0.14393 and SDK (C:\Program Files (x86)\Windows Kits\10\bin\x64) 10.0.16299.0
Thanks in Advance
I have converted my Exe using Desktop App Converter tool using following commands :
PS C:\Windows\system32> DesktopAppConverter.exe -Installer C:\Installer\Technician.ex
Output :
PackageFilesPath C:\Newfolder\Technician\Pa
No when I Try to create App Package using MakeAppx commands :
PS C:\Windows\system32> MakeAppx pack -d "C:\Newfolder\Technician\P
MakeAppx : The term 'MakeAppx' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
+ FullyQualifiedErrorId : CommandNotFoundException
Not able to create App Package using MakeAppx commands.
I am using Windows 10 Enterprise 64 bit Os Version 10.0.14393 and SDK (C:\Program Files (x86)\Windows Kits\10\bin\x64) 10.0.16299.0
Thanks in Advance
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi LVL 4
Thanks for Reply
Run CMD as Run As Administrator and then run the Makeappx command successfully create the package.
Thanks LVL 4 for your Helpful solution.
Thanks
Thanks for Reply
Run CMD as Run As Administrator and then run the Makeappx command successfully create the package.
Thanks LVL 4 for your Helpful solution.
Thanks
I am glad I could help.
ASKER
Thanks for Reply
I try on CMD like given on this page :
https://social.msdn.microsoft.com/Forums/expression/en-US/ebb7931b-bdd9-4a51-90d3-62cd20f312ac/makeappx-not-recognized?forum=wpdevelop
Now when I want to create Package using makeappx.exe it give Access is denied error.
C:\Program Files (x86)\Windows Kits\10\bin\x64>makeappx.e
Microsoft (R) MakeAppx Tool
Copyright (C) 2013 Microsoft. All rights reserved.
The path (/p) parameter is: "C:\Technician.appx"
The content directory (/d) parameter is: "C:\Newfolder\Technician\P
Enumerating files from directory "C:\Newfolder\Technician\P
Packing 57 file(s) in "C:\Newfolder\Technician\P
MakeAppx : error: Package creation failed.
MakeAppx : error: 0x80070005 - Access is denied.
How I can resolved this Access denied problem ?
Thanks in Advance