Nov 16 2021 04:39 AM
After using MSIX Packaging Tool to convert an msi installer for my Windows desktop app to an msix installer, a call my app makes to HtmlHelp() fails to display the .chm file installed along with the .exe file. That call occurs when the user clicks "User's Guide" in the Help menu, so it is an important document that needs to be accessible to the user. Is there a way to allow a desktop app installed via MSIX to display a chm file or an html file? Or any kind of document file?
Nov 16 2021 05:26 AM - edited Nov 16 2021 05:37 AM
@StevenBrown-4429
To answer my own question, I got the call to HtmlHelp() to work by making it access a chm file not installed into "Program Files\Windows Apps", a directory owned and restricted by Microsoft, but into a non-restricted directory on the computer.
Nov 16 2021 11:02 AM
Nov 16 2021 11:33 AM
Nov 16 2021 01:45 PM
Nov 16 2021 04:13 PM
SolutionNov 23 2021 03:18 PM
Hi @StevenBrown-4429, thank you for your question. Here is also a solution to your problem using the package support framework: Package Support Framework - Working Directory fixup - MSIX | Microsoft Docs
Nov 16 2021 04:13 PM
Solution