SOLVED

Is it possible to run 2 instances of MSIXTool.exe simultaneously?

%3CLINGO-SUB%20id%3D%22lingo-sub-1126751%22%20slang%3D%22en-US%22%3EIs%20it%20possible%20to%20run%202%20instances%20of%20MSIXTool.exe%20simultaneously%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1126751%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Team%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20trying%20to%20run%202%20instances%20of%20MSIX%20Packaging%20Tool%2C%20using%20multi-threading%20in%20PowerShell%20script%2C%20to%20package%20to%20exe(s)%2C%20in%20parallel.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20throws%20an%20error%20that%20the%20instance%20is%20already%20in%20use%2C%20and%20creates%20package%20just%20for%20the%20first%20exe.%3CBR%20%2F%3E%3CBR%20%2F%3ECould%20you%20please%20assist%20me%20on%20this%2C%20if%20I%20can%20package%202%20apps%20in%20parallel%20by%20running%202%20instances%20of%20MSIX%20Packaging%20Tool.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%3CBR%20%2F%3EPriyanka%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1128250%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20run%202%20instances%20of%20MSIXTool.exe%20simultaneously%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1128250%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F258183%22%20target%3D%22_blank%22%3E%40Priyanka_Aggarwal%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20tool%20monitors%20for%20changes%20on%20the%20system%2C%20so%20running%20multiple%20conversions%20in%20parallel%20would%20result%20in%20packages%20that%20picked%20up%20extraneous%20changes.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%2C%20however%2C%20run%20multiple%20conversions%20in%20parallel%20if%20each%20conversion%20is%20targeting%20a%20different%20virtual%20or%20remote%20environment.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks!%3CBR%20%2F%3EJames%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

Hi Team,

I am trying to run 2 instances of MSIX Packaging Tool, using multi-threading in PowerShell script, to package to exe(s), in parallel.

 

I throws an error that the instance is already in use, and creates package just for the first exe.

Could you please assist me on this, if I can package 2 apps in parallel by running 2 instances of MSIX Packaging Tool.

Thanks
Priyanka

1 Reply
best response confirmed by John Vintzel (Microsoft)
Solution

@Priyanka_Aggarwal 

The tool monitors for changes on the system, so running multiple conversions in parallel would result in packages that picked up extraneous changes.

 

You can, however, run multiple conversions in parallel if each conversion is targeting a different virtual or remote environment.

 

Thanks!
James