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.exe -InstallerArguments "/S" -Destination C:\Newfolder -PackageName "Technician" -Publisher "CN=30910EF5-407B-4B34-B55F-DD7136DDCA98" -Version 5.5.0.0 -Verbose

Output :
PackageFilesPath           C:\Newfolder\Technician\PackageFiles

No when I Try to create App Package using MakeAppx commands :

PS C:\Windows\system32> MakeAppx pack -d "C:\Newfolder\Technician\PackageFiles" -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
SITPLAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hello ThereSystem AdministratorCommented:
Open CMD and type the path to the MakeAppx as shown here and here.
1
SITPLAuthor Commented:
Hi LVL 3

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.exe pack -d "C:\Newfolder\Technician\PackageFiles" -p "C:\Technician.appx"

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\PackageFiles"
Enumerating files from directory "C:\Newfolder\Technician\PackageFiles"
Packing 57 file(s) in "C:\Newfolder\Technician\PackageFiles" (content directory) to "C:\Technician.appx" (output file name).

MakeAppx : error: Package creation failed.
MakeAppx : error: 0x80070005 - Access is denied.

How I can resolved this  Access  denied problem ?

Thanks in Advance
0
Hello ThereSystem AdministratorCommented:
Make sure to 'Run CMD As Different User' and then type high-level admin credentials.
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SITPLAuthor Commented:
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
0
Hello ThereSystem AdministratorCommented:
I am glad I could help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 10

From novice to tech pro — start learning today.