SOLVED

Where to enter specific installation commands in VS Windows Application Packaging Project?

%3CLINGO-SUB%20id%3D%22lingo-sub-2978070%22%20slang%3D%22en-US%22%3EWhere%20to%20enter%20specific%20installation%20commands%20in%20VS%20Windows%20Application%20Packaging%20Project%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2978070%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22%22%3E%3CDIV%20class%3D%22%22%3E%3CDIV%20class%3D%22%22%3E0%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%3CDIV%20class%3D%22%22%3E%3CP%3EI%20added%20a%20Windows%20Application%20Packaging%20Project%20to%20my%20Windows%20desktop%20solution%20in%20Visual%20Studio%202019.%20I%20was%20able%20to%20edit%20the%20appxmanifest%20file%2C%20setting%20the%20Identity%2C%20Properties%2C%20Dependencies%2C%20Resources%2C%20etc.%20to%20values%20appropriate%20for%20submitting%20an%20msix%20package%20to%20Microsoft%20Store.%20My%20question%20is%2C%20how%20can%20I%20set%20up%20the%20setup%3F%20I%20have%20an%20exe%20file%20and%20a%20dll%20file%20to%20go%20into%20C%3A%5CProgram%20Files%20(virtualized%20to%20C%3A%5CProgram%20Files%5CWindowsApps)%2C%20and%20a%20file%20to%20be%20installed%20as%20C%3A%5CProgramData%5CMyApp%5CUsersGuide.chm.%20Where%20and%20how%20is%20that%20information%20inputted%20in%20the%20Package%20project%3F%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2992863%22%20slang%3D%22en-US%22%3ERe%3A%20Where%20to%20enter%20specific%20installation%20commands%20in%20VS%20Windows%20Application%20Packaging%20Project%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2992863%22%20slang%3D%22en-US%22%3EUnder%20Dependencies%20you%20need%20to%20add%20your%20project%20output%20as%20a%20reference.%20Here%20is%20an%20example%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fmsix%2Fdesktop%2Fdesktop-to-uwp-packaging-dot-net%23setup-the-windows-application-packaging-project-in-your-solution%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fmsix%2Fdesktop%2Fdesktop-to-uwp-packaging-dot-net%23setup-the-windows-application-packaging-project-in-your-solution%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2999290%22%20slang%3D%22en-US%22%3ERe%3A%20Where%20to%20enter%20specific%20installation%20commands%20in%20VS%20Windows%20Application%20Packaging%20Project%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2999290%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1220160%22%20target%3D%22_blank%22%3E%40StevenBrown-4429%3C%2FA%3E%2C%20thanks%20for%20your%20question.%20Please%20let%20us%20know%20if%20the%20above%20comment%20answered%20your%20question%20or%20if%20there%20are%20any%20follow%20up%20questions%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor
0

I added a Windows Application Packaging Project to my Windows desktop solution in Visual Studio 2019. I was able to edit the appxmanifest file, setting the Identity, Properties, Dependencies, Resources, etc. to values appropriate for submitting an msix package to Microsoft Store. My question is, how can I set up the setup? I have an exe file and a dll file to go into C:\Program Files (virtualized to C:\Program Files\WindowsApps), and a file to be installed as C:\ProgramData\MyApp\UsersGuide.chm. Where and how is that information inputted in the Package project?

2 Replies
best response confirmed by StevenBrown-4429 (Occasional Contributor)
Solution

@StevenBrown-4429, thanks for your question. Please let us know if the above comment answered your question or if there are any follow up questions