Can I execute msixpackagingtool.exe remotely?

Copper Contributor

I am running below code in powershell as administrator to package msi to msix using msixpackagingtool.exe using powershell.  


   Invoke-Command -ComputerName remotecomputerip -ScriptBlock { MsixPackagingTool.exe create-package --template C:\tortoisesvn.xml }


But I am getting this error:
Program 'MsixPackagingTool.exe' failed to run: The file cannot be accessed by the system.
    + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
    + FullyQualifiedErrorId : NativeCommandFailed

Please help.

1 Reply

hi @anujaggarwal67 , 

 

We generally recommend if you want to convert on a remote machine, you first start on your local machine, and then connect to your remote machine to perform the conversion. 

 

Here is more information on performing a conversion through the tool UI on your local machine (you can select to perform the conversion on a remote machine) and here is how you can do it though our Command Line option. Just be sure to configure your remote machine before starting a conversion. 

 

Best,

 

Sharla