Packaging/Install performance

%3CLINGO-SUB%20id%3D%22lingo-sub-225939%22%20slang%3D%22en-US%22%3EPackaging%2FInstall%20performance%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-225939%22%20slang%3D%22en-US%22%3E%3CP%3EClearly%20not%20an%20issue%20for%20now%2C%20but%20maybe%20someday%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20amount%20of%20time%20it%20takes%20to%20process%20the%20packaging%2C%20and%20later%20to%20install%20the%20package%20is%20unacceptably%20high%20right%20now.%26nbsp%3B%20My%20benchmark%20for%20this%20is%20the%20app%20Anaconda%2C%20which%20compresses%20to%20just%20under%202GB.%26nbsp%3B%20If%20the%20time%20to%20install%20on%20a%20given%20system%20is%20X%2C%20the%20time%20to%20get%20through%20the%20log%20processing%20is%20about%203X.%26nbsp%3B%20Time%20to%20install%20the%20package%20is%20also%20huge.%26nbsp%3B%20While%20never%20that%20great%20for%20App-V%20packaging%20either%2C%20the%20sequencer%20never%20took%20that%20long.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-312770%22%20slang%3D%22en-US%22%3ERe%3A%20Packaging%2FInstall%20performance%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-312770%22%20slang%3D%22en-US%22%3E%3CP%3ESave%20time%20during%20package%20development%20and%20register%20the%20app%20instead%20of%20packaging%20and%20installing.%20You%20can%20do%20this%20with%20the%20PowerShell%20command%3A%3C%2FP%3E%0A%3CP%3EAdd-AppxPackage%20.%5CPathToPackageLayout%5CAppxManifest.xml%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20will%20register%20the%20app%20with%20the%20OS%20%2F%20Shell.%20You%20will%20be%20able%20to%20run%20the%20app%20from%20Start%20to%20ensure%20it%20runs%20properly.%20Once%20you%20have%20things%20working%2C%20you%20can%20then%20package%20the%20MSIX.%26nbsp%3B%20(Use%20SDK%20version%20%3CFONT%3E10.0.17763.0%3C%2FFONT%3E%2B%20of%20makeappx.exe%20to%20create%20the%20MSIX.)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDon't%20forget%20to%20test%20the%20packaged%20MSIX%20before%20deployment.%3C%2FP%3E%3C%2FLINGO-BODY%3E
MVP

Clearly not an issue for now, but maybe someday?

 

The amount of time it takes to process the packaging, and later to install the package is unacceptably high right now.  My benchmark for this is the app Anaconda, which compresses to just under 2GB.  If the time to install on a given system is X, the time to get through the log processing is about 3X.  Time to install the package is also huge.  While never that great for App-V packaging either, the sequencer never took that long. 

1 Reply

Save time during package development and register the app instead of packaging and installing. You can do this with the PowerShell command:

Add-AppxPackage .\PathToPackageLayout\AppxManifest.xml

 

This will register the app with the OS / Shell. You will be able to run the app from Start to ensure it runs properly. Once you have things working, you can then package the MSIX.  (Use SDK version 10.0.17763.0+ of makeappx.exe to create the MSIX.)

 

Don't forget to test the packaged MSIX before deployment.