Some files getting excluded while creating MSIX package from a msi/exe installer

%3CLINGO-SUB%20id%3D%22lingo-sub-982821%22%20slang%3D%22en-US%22%3ESome%20files%20getting%20excluded%20while%20creating%20MSIX%20package%20from%20a%20msi%2Fexe%20installer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-982821%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIs%20there%20a%20possibility%20that%20while%20creating%20a%20MSIX%20Package%20for%20some%20.msi%20or%20.exe%20installers%2C%20some%20files%20were%20ignored%20and%20excluded%20from%20the%20MSIX%20package%2C%20by%20the%20MSIX%20Packaging%20tool%20(using%20the%20command%20line).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIs%20there%20any%20such%20limitation%20to%20the%20tool%2C%20or%20happens%20with%20some%20particular%20files%2C%20and%20how%20can%20this%20be%20fixed%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%3C%2FP%3E%0A%3CP%3EPriyanka%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-983849%22%20slang%3D%22en-US%22%3ERe%3A%20Some%20files%20getting%20excluded%20while%20creating%20MSIX%20package%20from%20a%20msi%2Fexe%20installer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-983849%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%3Bthere%20are%20some%20default%20exclusion%20rules.%26nbsp%3B%20If%20you%20have%20a%20sample%20of%20your%20XML%20that%20has%20the%20exclusions%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EJohn.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-987065%22%20slang%3D%22en-US%22%3ERe%3A%20Some%20files%20getting%20excluded%20while%20creating%20MSIX%20package%20from%20a%20msi%2Fexe%20installer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-987065%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F73899%22%20target%3D%22_blank%22%3E%40John%20Vintzel%3C%2FA%3E%20%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20face%3D%22arial%2Chelvetica%2Csans-serif%22%3EThe%20exclusions%20mentioned%20in%20the%20XML%20file%20are%20optional%2C%20correct%3F%20We%20can%20make%20them%20included%20as%20well.%3CBR%20%2F%3EOther%20than%20that%2C%20by%20default%2C%20are%20there%20any%20files%20getting%20excluded%3F%3CBR%20%2F%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20face%3D%22arial%2Chelvetica%2Csans-serif%22%3E%3CSPAN%20style%3D%22color%3A%20%232f5496%3B%22%3EWe%20are%20working%20on%20the%20MSIX%20package%20%26amp%3B%20using%20the%20tool%20to%20automate%20the%20same%20however%20we%20came%20to%20know%20that%20there%20are%20some%20files%20are%20being%20excluded%20when%20we%20are%20using%20MSIX%20SDK%20.%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20face%3D%22arial%2Chelvetica%2Csans-serif%22%3E%3CSPAN%20style%3D%22color%3A%20%232f5496%3B%22%3ESo%20is%20it%20recommended%20to%20use%20MSIX%20tool%20directly%20%26amp%3B%20will%20that%20help%20us%20in%20avoiding%20the%20missing%20files%20condition%20as%20compared%20to%20MSIX-SDK.%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20face%3D%22arial%2Chelvetica%2Csans-serif%22%3E%3CSPAN%20style%3D%22color%3A%20%232f5496%3B%22%3EThanks%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-990395%22%20slang%3D%22en-US%22%3ERe%3A%20Some%20files%20getting%20excluded%20while%20creating%20MSIX%20package%20from%20a%20msi%2Fexe%20installer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-990395%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%3BIn%20general%20the%20MSIX%20packaging%20tool%20will%20only%20aggressively%20exclude%20files%20listed%20in%20the%20exclusion%20list.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDuring%20run-time%20of%20the%20tool%2C%20it%20is%20possible%20for%20other%20files%20to%20be%20excluded%20for%20a%20variety%20of%20reasons%2C%20but%20generally%20speaking%20the%20common%20reason%20for%20a%20file%20to%20get%20left%20out%20of%20the%20final%20package%20is%20the%20file%20was%20in-accessible%20at%20packaging%20time.%20Ie.%20some%20other%20process%20had%20a%20lock%20on%20the%20file%20or%20the%20share%2Fdrive%20has%20gone%20away%2C%20etc.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20see%20the%20tool's%20determination%20of%20exclusion%20for%20any%20reason%20for%20each%20file%20in%20the%20conversion%20logs.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlternatively%2C%20its%20possible%20that%20the%20files%20in%20question%20were%20never%20detected%20by%20monitoring%20for%20some%20reason.%26nbsp%3B%20Could%20you%20share%20an%20example%20of%20the%20type%20of%20file%20you%20are%20seeing%20not%20reach%20you%20created%20package%3F%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,

 

Is there a possibility that while creating a MSIX Package for some .msi or .exe installers, some files were ignored and excluded from the MSIX package, by the MSIX Packaging tool (using the command line).

 

Is there any such limitation to the tool, or happens with some particular files, and how can this be fixed?

 

Thanks

Priyanka

3 Replies

@Priyanka_Aggarwal there are some default exclusion rules.  If you have a sample of your XML that has the exclusions

 

John.

Hi @John Vintzel ,

 

The exclusions mentioned in the XML file are optional, correct? We can make them included as well.
Other than that, by default, are there any files getting excluded?

 

We are working on the MSIX package & using the tool to automate the same however we came to know that there are some files are being excluded when we are using MSIX SDK .

So is it recommended to use MSIX tool directly & will that help us in avoiding the missing files condition as compared to MSIX-SDK.

 

Thanks

@Priyanka_Aggarwal In general the MSIX packaging tool will only aggressively exclude files listed in the exclusion list.

 

During run-time of the tool, it is possible for other files to be excluded for a variety of reasons, but generally speaking the common reason for a file to get left out of the final package is the file was in-accessible at packaging time. Ie. some other process had a lock on the file or the share/drive has gone away, etc.

 

You can see the tool's determination of exclusion for any reason for each file in the conversion logs.

 

Alternatively, its possible that the files in question were never detected by monitoring for some reason.  Could you share an example of the type of file you are seeing not reach you created package?

 

Thanks!
James