Forum Discussion
TheStingPilot
Sep 17, 2019Copper Contributor
[MSIX] - Packaging GIMP
Hello,
I have created an MSIX from GIMP. When running the application I get approximately 100 error messages that various .dll files cannot be found.
What happens:
- VFS\ProgramFilesX64\GIMP 2\bin\gimp-2.10.exe is started.
- After a while the application VFS\ProgramFilesX64\GIMP 2\lib\gimp\2.0\plug-ins\web-page\web-page.exe is started.
- During the startup process, I get an error that the file libgimpui-2.0-0.dll cannot be found. That file is located in VFS\ProgramFilesX64\GIMP 2\bin
To workaround I created a PSF:
- Modified AppxManifest.xml:
<Application Id="GIMPTwoOneZero" Executable="PsfLauncher64.exe" EntryPoint="Windows.FullTrustApplication"> - Created config.json:
{
"applications": [
{
"id": "GIMPTwoOneZero",
"executable": "VFS\\ProgramFilesX64\\GIMP 2\\bin\\gimp-2.10.exe",
"workingDirectory": "VFS\\ProgramFilesX64\\GIMP 2\\bin"
}
],"processes": [
{
"executable": ".*",
"fixups": [ { "dll": "PsfRuntime64.dll" } ]
}
]}
I created a new MSIX package and signed it. When running the application the 'main' gimp-2.10.exe is started and is closed immediately.
My question is what I should do to get this package working.
Any feedback is appreciated and with kind regards,
Willem-Jan
15 Replies
- You need to include the FileRedirectionFixup for this application.
- You do not need to include the reference to PsfRuntime as that is assumed (although it must be included in the package).
- The config for the FRF would need to include relevant VFS paths. If you use PsfTooling to perform the injection, then you only need to ask for the FRF and keep all defaults. This also fixes up the icon for you so you don't get a blue square for the icon.