Forum Widgets
Latest Discussions
Trying to MSIX package LOB application that needs TWAIN access
So I think this isn't possible but I just wanted to ask. I've a LOB application that needs to access TWAIN scanning devices. How this works in a normal environment is that the TWAINDSM.dll (TWAIN Data source manager) is loaded from c:\windows\system32 This then scans the C:\Windows\twain_32 or C:\Windows\twain_64 depending on if the app is x86 or x64 The scanning manufacturers will have their TWAIN drivers installed to c:\windows\twain_32 (or 64) as subfolders and the TWAIN Data source manager scans these subfolders for available TWAIN devices that can be connected to. All this breaks down in an MSIX environment because the container doesn't have access to C:\windows\twain_32\ManfactureDriverN folder It can see the folders and when the TWAINDSM tries to initialize the driver it fails, most likely due to sandbox limitations. Does anyone know of a solution to this, or apps like this will always need to stick to MSI packaging because of this limiation. Thanks.oconobeeJan 28, 2026Copper Contributor113Views0likes5Comments- JohnMcC1983Jan 27, 2026Copper Contributor17Views0likes1Comment
Distribute appinstaller and MSIX via Azure blob storage.
Hey all, I have an automated CD pipeline that signs the MSIX package and uploads both the MSIX package and appinstaller file to an Azure blob storage. Since my users do not have direct access to the blob storage, I have created a web application that has access to the blob storage with an API that can download the appinstaller or MSIX package. I am able to download both the appinstaller and MSIX package when entering the URL manually in the browser. However, when I launch the appinstaller it displays an error that an app package could not be opened. The reason is "An error occurred while accessing the file from the web. Please try downloading and opening the file locally." The API returns a `FileContentResult` and uses the correct MIME. "application/appinstaller" for appinstaller and "application/msix" for the MSIX package. Any idea what could be wrong?SolvedMoodie_GhaddarNov 17, 2025Microsoft811Views0likes3CommentsMicrosoft MSIX Packaging Tool Fails to create package due to AppXManifest (Typelib/Version/LibFlag)
The MMPT will fail to save the package after capturing an installation of Altova XmlSpy Enterprise. This is due to the MMPT reading a reading a registry string value for a Com Version and adding it into the AppXManifest in an incorrect form that violates the COM schema extension validation ST_VersionCom. The error from the MMPT log: [11/10/2025 11:17:46 AM] [Debug] MakeAppx : error: Failure at packageWriter2->Close( manifestStream, contentGroupMapStream.Get()) - 0x80080204 - The specified package format is not valid: The package manifest is not valid. [11/10/2025 11:17:46 AM] [Debug] MakeAppx : error: Error info: /*[local-name()="Package" and namespace-uri()="http://schemas.microsoft.com/appx/manifest/foundation/windows10"]/*[local-name()="Extensions" and namespace-uri()="http://schemas.microsoft.com/appx/manifest/foundation/windows10"][1]/*[local-name()="Extension" and namespace-uri()="http://schemas.microsoft.com/appx/manifest/com/windows10"][1]/*[local-name()="ComInterface" and namespace-uri()="http://schemas.microsoft.com/appx/manifest/com/windows10"][1]/*[local-name()="TypeLib" and namespace-uri()="http://schemas.microsoft.com/appx/manifest/com/windows10"][2]/*[local-name()="Version" and namespace-uri()="http://schemas.microsoft.com/appx/manifest/com/windows10"][1]/@LibraryFlag [11/10/2025 11:17:46 AM] [Debug] '#0' violates pattern constraint of '[0-9a-fA-F]'. [11/10/2025 11:17:46 AM] [Debug] The attribute 'LibraryFlag' with value '#0' failed to parse. [11/10/2025 11:17:46 AM] [Debug] Cleaning up output file "\\?\%UserProfile%\Desktop\Altova-XmlSpy_28.0.0.0_x64__xwfzvwzp69w2e.msix". [11/10/2025 11:17:46 AM] [Debug] MakeAppx : error: Failure at (CreatePackage( overwrite, hashAlgorithm, fileList, outputPath, manifestStream.Get(), forceCompressionNone, performanceOptions, encryptPackage, encryptionOptions, cgmPath, mainPackagePathForResourceExemption, makepriExeFullPath)) - 0x80080204 - The specified package format is not valid: The package manifest is not valid. [11/10/2025 11:17:46 AM] [Debug] MakeAppx : error: Package creation failed. [11/10/2025 11:17:46 AM] [Debug] MakeAppx : error: 0x80080204 - The specified package format is not valid: The package manifest is not valid. [11/10/2025 11:17:46 AM] [Error] MakeAppx.exe failed, exit code = 1 [11/10/2025 11:17:46 AM] [Error] Error Finalizing Package: Process MakeAppx.exe failed with exit code 1. The values in the registry placed by the application that were captured: And the produced AppXManifest file contained: <com:TypeLib Id="744838d2-7537-47e2-affa-6e0d5fbb61c9"> <com:Version VersionNumber="1.0" LocaleId="0" LibraryFlag="#0"> <com:Win32Path Path="VFS\ProgramFilesX64\Altova\SharedBetweenVersions\AltovaScc32to64Bridge.exe" /> </com:Version> </com:TypeLib> As a workaround, it is possible to manually remove the '#' character from the LibraryFlag field in the AppXManifest allows the package to save. The MMPT should properly read this value as if it were a REG_DWORD of value 0 and generate a valid AppXmanifest. This is a common registry interpretation to make. Alternatively, as the value of 0 is meaningless, the parameter could be dropped, but if the vendor had requested "#1" this should also be handled.67Views0likes0CommentsShortcut icons disappear
Hello! I wanted to add shortcuts of some applications to my desktop, then I found out it's impossible for a normal user. You have to either attach it to the task bar or the Start menu, and pray Microsoft won't mess up with your Start menu layout in the next update (happened twice already). I found out this discussion and followed the instructions (going to explorer.exe shell:AppsFolder and creating shortcuts from there), but it only worked for a few minutes. In less than 10 minutes, two of the six shortcuts I've created using this method had their icons replaced by white paper icons. After restarting the computer, only one remained with its original icon (Figma Desktop). And after updating Figma, it completely disappeared (not leaving just a white paper, the shortcut completely vanished from the desktop). When I go to the same folder, they are iconless there as well. So, how can I make desktop shortcuts that keep their nice icons even after restarting or updating the software? Thanks in advance!WicCaesarOct 31, 2025Copper Contributor39Views0likes0CommentsUser can not create Desktop shortcut
Hello, i have migrated an application from MSI to MSIX. The application is used by 9000 users and some users created a desktop shortcut for themself. Now, i delete the MSI on every PC and deploy the MSIX to the users. The desktop shortcut, which they manually created, doesn't work any more. Now the users ask me how they can create a new desktop shortcut and i have no answer. The users can pin the app to the taskbar, but i don't know how the can pin the app to the desktop. I think that Microsoft recommends that user preferences are exclusively chosen by the user. So the user should have the posibility to create an desktop shortcut for an MSIX application. Best Regards FrankSolvedFrank260Oct 31, 2025Copper Contributor3KViews0likes6CommentsSigntool cannot sign msix file produced by dotnet publish
Used dotnet publish to generate a msix package (from Blazor MAUI project). During the process, dotnet has signed the msix file using our EV certificate, but it did not time-stamp it. So we’ve decided to re-sign it using signtool from Win SDK latest version 10.0.22621.0. However, the signtool reports an error: SignTool Error: This file format cannot be signed because it is not recognized. Using the same options to sign a regular msi file (from another project) produces no error. Here is the complete command line used to sign both msix and msi (with the /sha1 thumbprint truncated for privacy): “C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64\signtool.exe” sign /a /sha1 e392… /tr http://timestamp.digicert.com/ /fd sha256 /td sha256 /d “test” /du http://www.winability.com/ “Q:\test-x64.msix”AndreiBelOct 25, 2025Copper Contributor2.1KViews0likes7Comments
Resources
Tags
- MSIX76 Topics
- appinstaller9 Topics
- msix packaging tool7 Topics
- APPX5 Topics
- MSIX Packaging Tools4 Topics
- appattach3 Topics
- MSIX AppAttach launch failure3 Topics
- MSIX LIMITATIONS3 Topics
- Access MSIX Container3 Topics
- UWP3 Topics