error when using -AppFileTypes in DesktopAppConverter

49 Views Asked by At

Newbie looking for some assistance. I have an app that I have successfully converted using DesktopAppConverter and uploaded to Windows App Store.

However I cannot get my file type associations to work at all. Desktop App Converter produces this error ...

 PowerShell Error Record: Multiple ambiguous overloads found for "new"
 and the argument count: "2".

when I add -AppFileTypes "'.pg2','.pg3'" to the end of my build command. .pg2 and .pg3 are my custom file types.

My whole command would look something similar to this...

DesktopAppConverter.exe -Installer "c:\myAPP" -AppExecutable "myApp.exe" -AppId "xxxxxxxx" -PackagePublisherDisplayName "My App" -PackageName "XXXXmyApp" -AppDisplayName "myAPP" -PackageDisplayName "mYAPP" -Publisher "CN=myPublisherID" -Destination "C:\myAPP\OUTPUT" -Version "vXXX" -Verbose -MakeAppx -Sign -Verify -InstallerArguments "/verysilent" -AppFileTypes "'.pg2','.pg3'"

Before I have had success doing this with InnoSetup, but cannot see what I've done wrong here.

Any help very much appreciated.

0

There are 0 best solutions below