MSIX for Win32 Desktop App Goal Is Windows Store

%3CLINGO-SUB%20id%3D%22lingo-sub-1372353%22%20slang%3D%22en-US%22%3EMSIX%20for%20Win32%20Desktop%20App%20Goal%20Is%20Windows%20Store%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1372353%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20everyone%2C%20thanks%20for%20taking%20the%20time%20to%20read%20this.%26nbsp%3B%26nbsp%3B%20I%20am%20new%20to%20MSIX%20but%20have%20experience%20in%20developing%20Windows%20Apps%20for%20some%20time.%26nbsp%3B%20I%20have%20a%20legacy%20learning%20app%20that%20I%20wrote%20in%20C%2B%2B%20and%20C%20that%20is%20very%20applicable%20for%20the%20home%20school%20market.%26nbsp%3B%20I%20have%20completed%20the%20product%20ready%20to%20be%20placed%20on%20the%20Windows%20Store.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20added%20The%20Installer%20to%20my%20solution%20and%20made%20a%20reference%20to%20the%20Desktop%20App%20written%20in%20C%2B%2B.%26nbsp%3B%20The%20product%20needs%20many%20files%20in%20the%20correct%20place%20for%20it%20to%20work%20properly.%26nbsp%3B%20I%20can't%20see%20any%20way%20to%20facilitate%20how%20to%20place%20Assets%20of%20the%20product%20into%20particular%20areas%20during%20installation.%26nbsp%3B%20There%20are%20DLL's%20that%20the%20product%20uses%20as%20well.%26nbsp%3B%20How%20do%20I%20inform%20the%20installer%20where%20these%20assets%20are%20and%20where%20to%20place%20them%20during%20installation.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20assuming%20the%20Package.appxmanifest%20has%20something%20to%20do%20with%20this.%26nbsp%3B%20Are%20there%20any%20examples%20of%20a%20typical%20C%2B%2B%20.exe%20Win32%20app%20that%20has%20several%20folders%20it%20creates%20and%20fills%20with%20content%20on%20installation%20that%20I%20can%20learn%20from%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20your%20time%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDave%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1379597%22%20slang%3D%22en-US%22%3ERe%3A%20MSIX%20for%20Win32%20Desktop%20App%20Goal%20Is%20Windows%20Store%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1379597%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F660306%22%20target%3D%22_blank%22%3E%40DaveRoach%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EWhen%20you%20want%20to%20build%20an%20MSIX%20package%20from%20a%20development%20environment%2C%20something%20needs%20to%20create%20the%20appxmanifest%20file.%20I'm%20not%20sure%20what%20is%20native%20in%20VS%20these%20days%2C%20but%20last%20I%20checked%20it%20would%20not%20generate%20one%20for%20you%20in%20any%20built-in%20setup%20package%20scenarios.%26nbsp%3B%20Many%20third%20party%20products%20can%20help%20you%20with%20this%20if%20you%20don't%20want%20to%20create%20it%20yourself.%20They%20can%20also%20help%20with%20creating%20the%20many%20versions%20of%20icons%20for%20the%20Assets%20folder.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlternatively%2C%20if%20the%20app%20is%20really%20Win32%20you%20can%20just%20capture%20an%20installation%20using%20the%20Microsoft%20MSIX%20Packaging%20tool%20and%20it%20will%20generate%20the%20manifest%20for%20you.%26nbsp%3B%20It%20doesn't%20do%20well%20for%20automating%20your%20build%20(although%20technically%20possible)%2C%20but%20could%20get%20the%20job%20done.%26nbsp%3B%20I%20did%20my%20first%20MSIX%20store%20package%20that%20way%2C%20but%20have%20moved%20on%20to%20Advanced%20Installer%20to%20build%20the%20recent%20ones.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

Hi everyone, thanks for taking the time to read this.   I am new to MSIX but have experience in developing Windows Apps for some time.  I have a legacy learning app that I wrote in C++ and C that is very applicable for the home school market.  I have completed the product ready to be placed on the Windows Store.

 

 

I added The Installer to my solution and made a reference to the Desktop App written in C++.  The product needs many files in the correct place for it to work properly.  I can't see any way to facilitate how to place Assets of the product into particular areas during installation.  There are DLL's that the product uses as well.  How do I inform the installer where these assets are and where to place them during installation.

 

I am assuming the Package.appxmanifest has something to do with this.  Are there any examples of a typical C++ .exe Win32 app that has several folders it creates and fills with content on installation that I can learn from?

 

Thanks for your time

 

Dave

 

1 Reply
Highlighted

@DaveRoach

When you want to build an MSIX package from a development environment, something needs to create the appxmanifest file. I'm not sure what is native in VS these days, but last I checked it would not generate one for you in any built-in setup package scenarios.  Many third party products can help you with this if you don't want to create it yourself. They can also help with creating the many versions of icons for the Assets folder.

 

Alternatively, if the app is really Win32 you can just capture an installation using the Microsoft MSIX Packaging tool and it will generate the manifest for you.  It doesn't do well for automating your build (although technically possible), but could get the job done.  I did my first MSIX store package that way, but have moved on to Advanced Installer to build the recent ones.