%3CLINGO-SUB%20id%3D%22lingo-sub-317850%22%20slang%3D%22en-US%22%3ECreate%20MSIX%20modification%20packages%20with%20Advanced%20Installer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-317850%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3EFirst%20published%20on%20MSDN%20on%20Oct%2026%2C%202018%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%20%3CA%20href%3D%22https%3A%2F%2Fblogs.msdn.microsoft.com%2Fappconsult%2F2018%2F09%2F17%2Fmsix-and-modification-packages-how-to-improve-the-devops-experience-for-enterprise-apps%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20In%20a%20previous%20post%20%3C%2FA%3E%20we%20have%20learned%20how%2C%20thanks%20to%20the%20MSIX%20packaging%20format%20and%20modification%20packages%2C%20IT%20Pros%20can%20break%20the%20packaging%20paralysis%20that%20affects%20most%20of%20the%20enterprise%20environments.%20%3CBR%20%2F%3E%20Thanks%20to%20this%20approach%20you%20can%20decouple%20the%20main%20application%20from%20the%20customization%20(branding%2C%20configuration%20files%2C%20etc.)%20that%20the%20IT%20Pro%20department%20have%20to%20make%20it%20compliant%20with%20the%20business%20requirements.%20This%20way%2C%20whenever%20the%20developer%20releases%20a%20new%20version%20of%20the%20application%2C%20the%20IT%20Pro%20department%20doesn't%20have%20anymore%20to%20repackage%20the%20new%20version%20from%20scratch%20in%20order%20to%20embed%20the%20customization%2C%20but%20they%20can%20just%20deploy%20the%20update.%20Since%20the%20customization%20are%20now%20stored%20inside%20a%20modification%20package%2C%20which%20is%20independent%2C%20they%20will%20continue%20to%20work%20just%20fine.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Caphyon%20has%20just%20released%20a%20new%20version%20of%20Advanced%20Installer%2C%2015.4%2C%20which%20greatly%20improves%20the%20experience%20of%20building%20modification%20packages.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Let's%20see%20how%20it%20works.%20%3CBR%20%2F%3E%3CH3%20id%3D%22building-a-modification-package%22%20id%3D%22toc-hId-1509055778%22%20id%3D%22toc-hId-1535864824%22%3EBuilding%20a%20modification%20package%3C%2FH3%3E%3CBR%20%2F%3E%20Once%20you%20start%20Advanced%20Installer%2C%20you%20have%20a%20new%20template%20called%20%3CSTRONG%3E%20Modification%20package%20%3C%2FSTRONG%3E%20which%20you%20can%20find%20in%20the%20%3CSTRONG%3E%20Windows%20Store%20%3C%2FSTRONG%3E%20section.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67728i9A71ABA97FF47D6D%22%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20The%20template%20allows%20you%20to%20manually%20input%20all%20the%20information%20about%20the%20package%2C%20including%20the%20identity%20of%20the%20target%20application%20you%20want%20to%20modify.%20However%2C%20Advanced%20Installer%20is%20able%20to%20simplify%20the%20experience%20by%20allowing%20you%20to%20directly%20pick%20the%20MSIX%20package%20of%20the%20application%20you%20want%20to%20customize.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Just%20press%20the%20button%20near%20the%20%3CSTRONG%3E%20ID%20%3C%2FSTRONG%3E%20field%20under%20the%20%3CSTRONG%3E%20Target%20Package%20Dependency%20%3C%2FSTRONG%3E%20section%20and%20choose%20the%20MSIX%20package.%20The%20tool%20will%20grab%20all%20the%20information%20and%20associate%20the%20right%20ID%2C%20Publisher%20Id%2C%20etc.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67729i0ECA0509E4F8A220%22%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20All%20these%20values%20will%20be%20automatically%20translated%20into%20the%20right%20info%20inside%20the%20manifest%2C%20under%20the%20%3CSTRONG%3E%20Dependencies%20%3C%2FSTRONG%3E%20section%3A%20%3CBR%20%2F%3E%3CCODE%3E%0A%20%20%20%3CDEPENDENCIES%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CMAINPACKAGEDEPENDENCY%20name%3D%22AdventureWorks.MyEmployees%22%20publisher%3D%22CN%3DTest01D44CEED709FB30%22%3E%3C%2FMAINPACKAGEDEPENDENCY%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3C%2FDEPENDENCIES%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%3C%2FCODE%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20The%0A%20%20%3CSTRONG%3E%0A%20%20%20MainPackageDependency%0A%20%20%3C%2FSTRONG%3E%0A%20%20supports%20two%20attributes%3A%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CUL%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20%3CSTRONG%3E%0A%20%20%20%20%20Name%0A%20%20%20%20%3C%2FSTRONG%3E%0A%20%20%20%20is%20required%20and%20it's%20the%20identity%20of%20the%20MSIX%20package%20you%20want%20to%20modify%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20%3CSTRONG%3E%0A%20%20%20%20%20Publisher%0A%20%20%20%20%3C%2FSTRONG%3E%0A%20%20%20%20is%20optional%20and%20it's%20required%20in%20case%20the%20publisher%20of%20the%20original%20MSIX%20package%20is%20different%20than%20the%20publisher%20of%20the%20modification%20package%20you're%20building%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%3C%2FUL%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20However%2C%20as%20you%20have%20noticed%2C%20we%20didn't%20have%20to%20input%20these%20information%20manually%2C%20but%20they%20have%20been%20automatically%20extracted%20from%20the%20MSIX%20of%20the%20main%20application.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20Choosing%20the%20main%20MSIX%20package%20you%20want%20to%20modify%2C%20instead%20of%20manually%20setting%20all%20the%20info%2C%20has%20also%20another%20advantage%3A%20it%20will%20provide%20you%20a%20much%20better%20user%20experience%2C%20thanks%20to%20a%20new%20feature%20added%20in%20the%20Advanced%20Installer%2015.4.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CH3%20id%3D%22define-the-content-of-the-modification-package%22%20id%3D%22toc-hId--1043101183%22%20id%3D%22toc-hId--1016292137%22%3E%0A%20%20%20Define%20the%20content%20of%20the%20modification%20package%0A%20%20%3C%2FH3%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20Before%20talking%20about%20this%20new%20feature%2C%20let's%20understand%20the%20background%20of%20the%20packaged%20application%20I'm%20trying%20to%20modify.%0A%20%20%3CBR%20%2F%3E%0A%20%20I'm%20using%20a%20simple%20Windows%20Forms%20application%20which%20displays%20a%20list%20of%20employees%20inside%20the%20main%20window%3A%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67731iA6F453368D9CA39F%22%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20The%20application%20leverages%20two%20configuration%20files%2C%20which%20are%20both%20stored%20inside%20the%0A%20%20%3CSTRONG%3E%0A%20%20%20C%3A%5CProgram%20Files%20(x86)%5CMyEmployees%0A%20%20%3C%2FSTRONG%3E%0A%20%20folder%3A%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CUL%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20One%20it's%20called%0A%20%20%20%20%3CSTRONG%3E%0A%20%20%20%20%20config.json%0A%20%20%20%20%3C%2FSTRONG%3E%0A%20%20%20%20and%20it%20contains%20some%20parameters%20that%20can%20be%20customized%20by%20the%20IT%20Pro%20department%2C%20like%20the%20branding%20you%20see%20in%20the%20About%20page.%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20One%20it's%20called%0A%20%20%20%20%3CSTRONG%3E%0A%20%20%20%20%20default.json%0A%20%20%20%20%3C%2FSTRONG%3E%0A%20%20%20%20and%2C%20instead%2C%20it%20contains%20some%20default%20settings%20that%20can't%20be%20customized.%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%3C%2FUL%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20Due%20to%20this%20configuration%2C%20the%20main%20application%20only%20ships%20with%20the%0A%20%20%3CSTRONG%3E%0A%20%20%20default.json%0A%20%20%3C%2FSTRONG%3E%0A%20%20file%2C%20which%20is%20deployed%20in%20the%0A%20%20%3CSTRONG%3E%0A%20%20%20C%3A%5CProgram%20Files%20(x86)%5CMyEmployees%0A%20%20%3C%2FSTRONG%3E%0A%20%20folder%20during%20the%20installation.%20The%0A%20%20%3CSTRONG%3E%0A%20%20%20config.json%0A%20%20%3C%2FSTRONG%3E%0A%20%20file%20can%20be%20added%2C%20at%20a%20later%20stage%2C%20by%20the%20IT%20Pro%20department%20to%20customize%20the%20application.%20This%20is%20how%20this%20configuration%20looks%20like%20in%20Advanced%20Installer%3A%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67732i3878837BA7C1B7D5%22%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20When%20I%20generate%20a%20MSIX%20package%20out%20from%20this%20definition%2C%20what%20you%20get%20is%20a%20package%20which%20contains%20a%20VFS%20folder%20with%20the%20subpath%0A%20%20%3CSTRONG%3E%0A%20%20%20ProgramFilesX86%2FMyEmployees%2Fdefault.json%0A%20%20%3C%2FSTRONG%3E%0A%20%20.%0A%20%20%3CBR%20%2F%3E%0A%20%20If%20you%20have%20some%20experience%20with%20the%20Desktop%20Bridge%2C%20you%20should%20be%20familiar%20with%20the%20Virtual%20File%20System%20concept%3B%20otherwise%20you%20can%20review%0A%20%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fuwp%2Fporting%2Fdesktop-to-uwp-behind-the-scenes%23file-system%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%0A%20%20%20the%20official%20documentation%0A%20%20%3C%2FA%3E%0A%20%20.%0A%20%20%3CBR%20%2F%3E%0A%20%20Long%20story%20short%3A%20the%20Virtual%20File%20System%20mimics%20the%20real%20system%20folders.%20When%20the%20application%20tries%20to%20read%20the%0A%20%20%3CSTRONG%3E%0A%20%20%20default.json%0A%20%20%3C%2FSTRONG%3E%0A%20%20file%20from%20the%0A%20%20%3CSTRONG%3E%0A%20%20%20C%3A%5CProgram%20Files%20(X86)%5CMyEmployees%0A%20%20%3C%2FSTRONG%3E%0A%20%20folder%2C%20Windows%20will%20first%20redirect%20the%20call%20to%20the%20special%20VFS%20folder%20inside%20the%20package.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20Now%20that%20you%20have%20understood%20the%20background%20of%20the%20main%20application%2C%20let's%20see%20what%20happens%20in%20Advanced%20Installer%20when%20you%20create%20a%20modification%20package%20and%20you%20choose%20its%20MSIX%20as%20a%20target%20package.%0A%20%20%3CBR%20%2F%3E%0A%20%20Move%20to%20the%0A%20%20%3CSTRONG%3E%0A%20%20%20Files%20and%20folders%0A%20%20%3C%2FSTRONG%3E%0A%20%20section%2C%20which%20is%20the%20one%20where%20you%20can%20add%20the%20content%20you%20want%20to%20include%20in%20the%20modification%20package.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67734i1169C36425DDE43D%22%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20Do%20you%20see%20what's%20happening%3F%20Advanced%20Installer%2C%20other%20than%20grabbing%20the%20MSIX%20identity%2C%20is%20also%20retrieving%20the%20list%20of%20files%20which%20compose%20the%20main%20package.%20As%20such%2C%20we%20can%20see%20that%20the%20application%20contains%20inside%20the%20path%0A%20%20%3CSTRONG%3E%0A%20%20%20Program%20Files%20(x86)%5CMyEmployees%0A%20%20%3C%2FSTRONG%3E%0A%20%20a%0A%20%20%3CSTRONG%3E%0A%20%20%20default.json%0A%20%20%3C%2FSTRONG%3E%0A%20%20file%2C%20which%20is%20coming%20from%20the%20target%20package.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20Now%20let's%20add%20our%0A%20%20%3CSTRONG%3E%0A%20%20%20config.json%0A%20%20%3C%2FSTRONG%3E%0A%20%20file%20inside%20the%20same%20folder.%20Right%20click%20on%20it%2C%20choose%0A%20%20%3CSTRONG%3E%0A%20%20%20Add%20files%0A%20%20%3C%2FSTRONG%3E%0A%20%20and%20look%20for%20the%20file%20on%20your%20computer.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67736i2E0428C2EC23249D%22%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20As%20you%20can%20see%2C%20we%20can%20clearly%20understand%20which%20files%20are%20coming%20from%20the%20target%20package%20and%20which%20ones%2C%20instead%2C%20are%20part%20of%20the%20modification%20package.%0A%20%20%3CBR%20%2F%3E%0A%20%20This%20view%20is%20really%20helpful%20to%20really%20understand%20how%20modification%20packages%20work.%20For%20the%20main%20application%2C%20in%20fact%2C%20the%20modification%20package%20is%20completely%20transparent%3A%20it%20doesn't%20matter%20if%20the%20JSON%20files%20are%20included%20in%20the%20VFS%20folder%20of%20the%20main%20package%20or%20in%20the%20VFS%20folder%20of%20the%20modification%20package.%20The%20application%20will%20be%20able%20to%20read%20them%20without%20having%20to%20make%20any%20change%20in%20the%20source%20code%2C%20like%20if%20both%20files%20are%20in%20the%20real%0A%20%20%3CSTRONG%3E%0A%20%20%20C%3A%5CProgram%20Files%20(x86)%5CMyEmloyees%0A%20%20%3C%2FSTRONG%3E%0A%20%20folder.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20Neat%2C%20isn't%20it%3F%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20The%20same%20concept%20applies%20to%20the%20registry.%20If%20you%20move%20to%20the%0A%20%20%3CSTRONG%3E%0A%20%20%20Registry%0A%20%20%3C%2FSTRONG%3E%0A%20%20section%20of%20the%20tool%2C%20you'll%20be%20able%20to%20quickly%20see%20which%20keys%20are%20created%20by%20the%20main%20MSIX%20package%20and%20which%20ones%2C%20instead%2C%20are%20customized%20by%20the%20modification%20package.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CH3%20id%3D%22wrapping-up%22%20id%3D%22toc-hId-699709152%22%20id%3D%22toc-hId-726518198%22%3E%0A%20%20%20Wrapping%20up%0A%20%20%3C%2FH3%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20In%20this%20post%20we%20have%20seen%20how%20Advanced%20Installer%20can%20make%20your%20life%20much%20easier%20when%20you%20have%20to%20create%20a%20modification%20package%20for%20an%20existing%20MSIX.%20Specifically%2C%20version%2015.4%20has%20greatly%20improved%20the%20user%20experience%2C%20by%20allowing%20to%20see%20in%20the%20same%20interface%20which%20files%20are%20part%20of%20the%20original%20MSIX%20package%20and%20which%20ones%2C%20instead%2C%20will%20be%20added%20by%20the%20modification%20package.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20You%20can%20download%20the%20latest%20version%20of%20Advanced%20Installer%20from%20the%0A%20%20%3CA%20href%3D%22https%3A%2F%2Fwww.advancedinstaller.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%0A%20%20%20official%20website%0A%20%20%3C%2FA%3E%0A%20%20.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20Happy%20packaging!%0A%20%0A%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-317850%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20MSDN%20on%20Oct%2026%2C%202018%20In%20a%20previous%20post%20we%20have%20learned%20how%2C%20thanks%20to%20the%20MSIX%20packaging%20format%20and%20modification%20packages%2C%20IT%20Pros%20can%20break%20the%20packaging%20paralysis%20that%20affects%20most%20of%20the%20enterprise%20environments.%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-317850%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Eadvanced%20installer%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Edesktop%20bridge%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMSIX%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft
First published on MSDN on Oct 26, 2018
In a previous post we have learned how, thanks to the MSIX packaging format and modification packages, IT Pros can break the packaging paralysis that affects most of the enterprise environments.
Thanks to this approach you can decouple the main application from the customization (branding, configuration files, etc.) that the IT Pro department have to make it compliant with the business requirements. This way, whenever the developer releases a new version of the application, the IT Pro department doesn't have anymore to repackage the new version from scratch in order to embed the customization, but they can just deploy the update. Since the customization are now stored inside a modification package, which is independent, they will continue to work just fine.

Caphyon has just released a new version of Advanced Installer, 15.4, which greatly improves the experience of building modification packages.

Let's see how it works.

Building a modification package


Once you start Advanced Installer, you have a new template called Modification package which you can find in the Windows Store section.



The template allows you to manually input all the information about the package, including the identity of the target application you want to modify. However, Advanced Installer is able to simplify the experience by allowing you to directly pick the MSIX package of the application you want to customize.

Just press the button near the ID field under the Target Package Dependency section and choose the MSIX package. The tool will grab all the information and associate the right ID, Publisher Id, etc.



All these values will be automatically translated into the right info inside the manifest, under the Dependencies section:
<Dependencies>
<uap4:MainPackageDependency Name="AdventureWorks.MyEmployees" Publisher="CN=Test01D44CEED709FB30"/>
</Dependencies>

The MainPackageDependency supports two attributes:

  • Name is required and it's the identity of the MSIX package you want to modify

  • Publisher is optional and it's required in case the publisher of the original MSIX package is different than the publisher of the modification package you're building


However, as you have noticed, we didn't have to input these information manually, but they have been automatically extracted from the MSIX of the main application.

Choosing the main MSIX package you want to modify, instead of manually setting all the info, has also another advantage: it will provide you a much better user experience, thanks to a new feature added in the Advanced Installer 15.4.

Define the content of the modification package


Before talking about this new feature, let's understand the background of the packaged application I'm trying to modify.
I'm using a simple Windows Forms application which displays a list of employees inside the main window:



The application leverages two configuration files, which are both stored inside the C:\Program Files (x86)\MyEmployees folder:

  • One it's called config.json and it contains some parameters that can be customized by the IT Pro department, like the branding you see in the About page.

  • One it's called default.json and, instead, it contains some default settings that can't be customized.


Due to this configuration, the main application only ships with the default.json file, which is deployed in the C:\Program Files (x86)\MyEmployees folder during the installation. The config.json file can be added, at a later stage, by the IT Pro department to customize the application. This is how this configuration looks like in Advanced Installer:



When I generate a MSIX package out from this definition, what you get is a package which contains a VFS folder with the subpath ProgramFilesX86/MyEmployees/default.json .
If you have some experience with the Desktop Bridge, you should be familiar with the Virtual File System concept; otherwise you can review the official documentation .
Long story short: the Virtual File System mimics the real system folders. When the application tries to read the default.json file from the C:\Program Files (X86)\MyEmployees folder, Windows will first redirect the call to the special VFS folder inside the package.

Now that you have understood the background of the main application, let's see what happens in Advanced Installer when you create a modification package and you choose its MSIX as a target package.
Move to the Files and folders section, which is the one where you can add the content you want to include in the modification package.



Do you see what's happening? Advanced Installer, other than grabbing the MSIX identity, is also retrieving the list of files which compose the main package. As such, we can see that the application contains inside the path Program Files (x86)\MyEmployees a default.json file, which is coming from the target package.

Now let's add our config.json file inside the same folder. Right click on it, choose Add files and look for the file on your computer.



As you can see, we can clearly understand which files are coming from the target package and which ones, instead, are part of the modification package.
This view is really helpful to really understand how modification packages work. For the main application, in fact, the modification package is completely transparent: it doesn't matter if the JSON files are included in the VFS folder of the main package or in the VFS folder of the modification package. The application will be able to read them without having to make any change in the source code, like if both files are in the real C:\Program Files (x86)\MyEmloyees folder.

Neat, isn't it?

The same concept applies to the registry. If you move to the Registry section of the tool, you'll be able to quickly see which keys are created by the main MSIX package and which ones, instead, are customized by the modification package.

Wrapping up


In this post we have seen how Advanced Installer can make your life much easier when you have to create a modification package for an existing MSIX. Specifically, version 15.4 has greatly improved the user experience, by allowing to see in the same interface which files are part of the original MSIX package and which ones, instead, will be added by the modification package.

You can download the latest version of Advanced Installer from the official website .

Happy packaging!