Questions about MMPT remote packaging

%3CLINGO-SUB%20id%3D%22lingo-sub-2643025%22%20slang%3D%22en-US%22%3EQuestions%20about%20MMPT%20remote%20packaging%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2643025%22%20slang%3D%22en-US%22%3E%3CP%3ESome%20questions%20about%20using%20the%20Microsoft%20MSIX%20Packaging%20Tool%20remotely.%26nbsp%3B%20I'll%20use%20the%20terms%20%22controller%22%20to%20mean%20the%20machine%20that%20starts%20the%20process%20and%20%22worker%22%20for%20the%20VM%20performing%20the%20capture.%3C%2FP%3E%0A%3CP%3EA)%20It%20seems%20from%20looking%20at%20logging%20that%20the%20controller%20sends%20partial%20copies%20of%20the%20MMPT%20to%20the%20remote%20machine.%26nbsp%3B%20It%20is%20logical%20that%20this%20is%20the%20version%20of%20the%20MMPT%20is%20being%20used%20on%20the%20remote%20machine%20to%20perform%20capture.%26nbsp%3B%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EIs%20that%20remote%20MMPT%20being%20run%20inside%20a%20container%2C%20or%20is%20is%20just%20run%20as%20an%20uncontained%20exe%3F%3C%2FLI%3E%0A%3CLI%3EDoes%20the%20MMPT%20actually%20need%20to%20be%20installed%20on%20that%20worker%3F%3C%2FLI%3E%0A%3CLI%3EAre%20there%20issues%20if%20an%20installed%20MMPT%20on%20the%20worker%20is%20different%20than%20the%20controller%3F%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EB)%20It%20also%20seems%20from%20looking%20at%20the%20logging%20that%20the%20worker%20completes%20the%20packaging%20process%2C%20producing%20a%20MSIX%20file%20that%20is%20then%20copied%20back%20to%20the%20controller%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EHow%20is%20the%20exclusion%20list%20on%20the%20worker%20established%20if%20you%20want%20to%20use%20a%20non-default%20list%3F%3C%2FLI%3E%0A%3CLI%3EIs%20package%20signing%20possible%20by%20the%20worker%2C%20and%20if%20so%20how%20is%20this%20done%3F%26nbsp%3B%20The%20scripts%20in%20the%20MSIX%20Toolkit%20lead%20me%20to%20believe%20that%20we%20likely%20need%20to%20externally%20sign%20the%20packages%2C%20which%20is%20OK%20but%20would%20prefer%20to%20configure%20either%20the%20worker%2Fcontroller%20MMPT%20to%20take%20care%20of%20it.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EC)%20I%20would%20also%20like%20to%20suggest%20that%20there%20should%20be%20a%20MMPT%20command%20line%20way%20to%20determine%20if%20the%20MMPT%20job%20(at%20the%20controller)%20was%20successful%20in%20creating%20a%20MSIX%20package.%26nbsp%3B%20This%20includes%20is%20there%20a%20file%2C%20but%20likely%20was%20there%20any%20errors%20in%20the%20log%20even%20if%20a%20file%20was%20created.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2772103%22%20slang%3D%22en-US%22%3ERe%3A%20Questions%20about%20MMPT%20remote%20packaging%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2772103%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F146612%22%20target%3D%22_blank%22%3E%40TIMOTHY%20MANGAN%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EA)%20Yes.%20The%20local%2Fcontroller%20sends%20a%20%22remote%20server%22%20to%20the%20remote.%3CBR%20%2F%3E1.%20The%20remote%20server%20is%20run%20as%20an%20uncontained%20exe.%3CBR%20%2F%3E2.%20No%2C%20it%20does%20not%20need%20to%20be%20installed.%20Everything%20needed%20is%20copied%20from%20the%20local%2Fcontroller.%3CBR%20%2F%3E3.%20There%20are%20no%20issues%20with%20an%20installed%20MPT%20on%20the%20remote%2Fworker.%3C%2FP%3E%0A%3CP%3EB)%20Yes%2C%20the%20remote%2Fworker%20does%20the%20packaging%20and%20the%20package%20is%20sent%20back%20to%20the%20local%2Fcontroller.%3CBR%20%2F%3E1.%20The%20exclusion%20list%20comes%20from%20the%20local%2Fcontroller%20settings.%20The%20items%20are%20tokenized%20so%20it%20is%20not%20specific%20to%20the%20machine.%3CBR%20%2F%3E2.%20All%20signing%20happens%20locally.%3C%2FP%3E%0A%3CP%3EC)%20Are%20you%20asking%20for%20some%20sort%20of%20status%20checking%20ability%3F%20Or%20more%20a%20notification%20of%20success%2Ffailure%3F%20could%20you%20expand%20on%20this%20ask%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBest%2C%3C%2FP%3E%0A%3CP%3ESharla%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2773416%22%20slang%3D%22en-US%22%3ERe%3A%20Questions%20about%20MMPT%20remote%20packaging%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2773416%22%20slang%3D%22en-US%22%3EThe%20ask%20is%20to%20understand%20so%20that%20I%20can%20explain%20it%20correctly%20to%20our%20training%20students.%20I%20had%20believed%20that%20the%20tool%20also%20needed%20to%20be%20installed%20on%20the%20remote%20machine.%20%3CBR%20%2F%3EHowever%2C%20your%20response%20raises%20one%20more%20question.%20On%20the%20remote%20machine%20I%20assume%20that%20the%20driver%20is%20needed.%20Does%20A)2%20mean%20that%20the%20remote%20machine%20needs%20windows%20updates%20enabled%20to%20get%20the%20driver%3F%3C%2FLINGO-BODY%3E
MVP

Some questions about using the Microsoft MSIX Packaging Tool remotely.  I'll use the terms "controller" to mean the machine that starts the process and "worker" for the VM performing the capture.

A) It seems from looking at logging that the controller sends partial copies of the MMPT to the remote machine.  It is logical that this is the version of the MMPT is being used on the remote machine to perform capture. 

  1. Is that remote MMPT being run inside a container, or is is just run as an uncontained exe?
  2. Does the MMPT actually need to be installed on that worker?
  3. Are there issues if an installed MMPT on the worker is different than the controller?

B) It also seems from looking at the logging that the worker completes the packaging process, producing a MSIX file that is then copied back to the controller:

  1. How is the exclusion list on the worker established if you want to use a non-default list?
  2. Is package signing possible by the worker, and if so how is this done?  The scripts in the MSIX Toolkit lead me to believe that we likely need to externally sign the packages, which is OK but would prefer to configure either the worker/controller MMPT to take care of it.

C) I would also like to suggest that there should be a MMPT command line way to determine if the MMPT job (at the controller) was successful in creating a MSIX package.  This includes is there a file, but likely was there any errors in the log even if a file was created. 

4 Replies

@TIMOTHY MANGAN 

 

A) Yes. The local/controller sends a "remote server" to the remote.
1. The remote server is run as an uncontained exe.
2. No, it does not need to be installed. Everything needed is copied from the local/controller.
3. There are no issues with an installed MSIX Packaging Tool on the remote/worker.

B) Yes, the remote/worker does the packaging and the package is sent back to the local/controller.
1. The exclusion list comes from the local/controller settings. The items are tokenized so it is not specific to the machine.
2. All signing happens locally.

C) Are you asking for some sort of status checking ability? Or more a notification of success/failure? could you expand on this ask?

 

Best,

Sharla

The ask is to understand so that I can explain it correctly to our training students. I had believed that the tool also needed to be installed on the remote machine.
However, your response raises one more question. On the remote machine I assume that the driver is needed. Does A)2 mean that the remote machine needs windows updates enabled to get the driver?
Yes, the remote machine needs to have the driver. If it is not already installed, Windows Update needs to be enabled to install it, but only the first time. You could also do an offline installation of the driver beforehand. If the MSIX Packaging Tool is already installed on the remote machine, it may have already installed the driver and the remote server would not need to install it.
Thank your for the clarifications!