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 -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
Who is Participating?
Hello ThereConnect With a Mentor System AdministratorCommented:
Make sure to 'Run CMD As Different User' and then type high-level admin credentials.
Hello ThereConnect With a Mentor System AdministratorCommented:
Open CMD and type the path to the MakeAppx as shown here and here.
SITPLAuthor Commented:
Hi LVL 3

Thanks for Reply
I try on CMD like given on this page : 

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
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.

Hello ThereSystem AdministratorCommented:
I am glad I could help.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.