Apr 06 2020 10:33 PM
Apr 06 2020 10:33 PM
I’m working on MSIX application shortcut Arguments for Mozilla Firefox to build some understanding on the process of how it works. I’m facing the issue as in below.
Note: I have tested the same using Advanced Installer and PSFTooling it works as expected, but when i’m trying to do same with PSF files i’m having issue.
"executable": "VFS\\ProgramFilesX86\\Mozilla Firefox\\firefox.exe",
"workingDirectory": "VFS\\ProgramFilesX86\\Mozilla Firefox",
<!--Package created by MSIX Packaging Tool version: 1.2019.1220.0-->
<Identity ProcessorArchitecture="x64" Version="184.108.40.206" Publisher="CN=Contoso Software (FOR LAB USE ONLY), O=Contoso Corporation, C=US" Name="Firefox-MSPT-PSF-X86"/>
<TargetDeviceFamily Name="Windows.Desktop" MaxVersionTested="10.0.18335.0" MinVersion="10.0.17763.0"/>
-<Application EntryPoint="Windows.FullTrustApplication" Executable="VFS\ProgramFilesX86\Mozilla Firefox\PsfLauncher1.exe" Id="PSFLAUNCHEROne">
-<uap:VisualElements Description="Firefox" Square44x44Logo="Assets\Square44x44Logo.png" Square150x150Logo="Assets\Square150x150Logo.png" DisplayName="Firefox" BackgroundColor="transparent">
<uap:DefaultTile Square71x71Logo="Assets\Square71x71Logo.png" Square310x310Logo="Assets\Square310x310Logo.png" Wide310x150Logo="Assets\Wide310x150Logo.png"/>
Upon testing the package i get below error
I’m struggling hard to overcome this issue but no luck, Any Assistance/Guidance/direction will be much appreciated
Apr 07 2020 01:37 PM
Hi @KumarOne., can you verify that the config.json is in the same folder as PSFLauncher.exe?
Apr 07 2020 08:26 PM
Hi @Dian Hartono,
Both are in same in same location , could you please step no 3 & 6
Apr 08 2020 10:26 AM
It would be great if you can provide us with the package so we can take a look.
Apr 09 2020 05:21 AM
Share the package as requested, could you please have a look and advise
Apr 10 2020 11:46 AM
We did a bit of digging. Typically, config and PSF binaries need to be in the root on the app. If you take PSFRundll, PsfLauncher, Config.json, and PsfRuntime and put them in the root of the app Firefox will launch.
Apr 11 2020 09:06 AM
I have tried that as well but no luck, have you tested ? has it worked for you ?, if so can you please share the JSON Entries & App Manifest details.
Apr 13 2020 11:04 AM
The error you have posted says that the configuration file can't be parsed. Turns out that the configuration file can be found now, good job on fixing the initial error.
The configuration file you posted in your opening message is correct and PSF should be able to parse it.
Can you please post your config.json file here so I can look at it?
Apr 13 2020 09:20 PM
Apr 28 2020 09:29 AM
@Dian Hartono I'll just note here that support in the PSF to handle the PSF components not being at the root folder was added into GitHub some time back. Whether that is in the current nuget package version I'm not sure.
Apr 28 2020 09:41 AM
@KumarOne While this is probably not your issue, please rule this out. Make sure that you used a copy of the 32-bit version of PsfLauncher. The bitness of the Psf launcher and dlls should always match that of the target application.
Apr 29 2020 10:46 AM
@TIMOTHY MANGAN might be right. The other PSF binaries do need to be 32 bit if your main executable is 32 bit.
I have uploaded Firefox with the configuration manifest changes. Can you please try this package and report back?
If the application still does not work we'll need to diagnose why it isn't working on your machine.