How to create a URL Shortcut to open a specific website in MSIX
Whether it's in-house applications, custom-made software, or applications from third-party vendors, there are times when we need to package them with a URL shortcut.
If you're working with MSIX, you know that targeting non-exe files and files outside the MSIX container isn't natively supported. So, how do we tackle this challenge? Let's delve into it.
MSIX Packaging Tool: Creating URL Shortcuts in MSIX
To create a URL shortcut, you’ll want to bring in the Packager Support Framework (PSF). Here’s the plan:
- Set the msedge.exe as the target for your shortcut.
- Set the URL as the argument for your shortcut.
Sounds simple, right? Here’s a step-by-step guide:
1. Start by creating a new config.json, adding this code template:
{ "applications": [ { "id": "", "executable": "", "arguments": "", "workingDirectory": "" } ] }
2. Define the “executable” to the path of your web browser, and set the “argument” to your desired URL:
{ "applications": [ { "id": "", "executable": "VFS\\ProgramFilesX86\\Microsoft\\Edge\\Application\\msedge.exe", "arguments": "\"https://www.advancedinstaller.com/user-guide/introduction.html\"", "workingDirectory": " } ] }
3. Open your MSIX package in the MSIX Packaging Tool’s Package Editor;
4. Dive into the AppxManifest.xml file and copy the value from the “Id” field. Paste this into the Application “id” field in your config.json;

5. Finally, save your config.json and integrate it into the MSIX package.
{ "applications": [ { "id": "ShortcutToURL", "executable": "VFS\\ProgramFilesX86\\Microsoft\\Edge\\Application\\msedge.exe", "arguments": "\"https://www.advancedinstaller.com/user-guide/introduction.html\"", "workingDirectory": " } ] }
Next, ensure your MSIX package includes the appropriate PSF file based on your app's architecture, such as:
- PsfLauncher32.exe/PsfLauncher64.exe
- PsfRunDll32.exe/PsfRunDll64.exe
- PsfRuntime32.dll/PsfRuntime64.dll
You can also use the latest version of the MSIX Packaging Tool to inject the PSF into your package.
However, this method is limited to only adding an argument to an executable included within the package. To do that, you need to:
1. Go to the “PSF Fixup” page.
2. Select the “Application ID” and add the instructions you need in the ”Command Line Arguments” section:

3. Save your package.
With the PSF now injected into your package, adjust the config.json file so that your application launches msedge.exe instead of the internal executable within your package.
To do that, you need to:
1. Go to the “Package files” page.
2. Browse to config.json file, right click on it and click “Edit”.
3. Replace the “executable” value with the path to msedge.exe. Your config.json should look like the one bellow:
{ "applications": [ { "id": "ShortcutToURL", "executable": "VFS\\ProgramFilesX86\\Microsoft\\Edge\\Application\\msedge.exe", "arguments": "\"https://www.advancedinstaller.com/user-guide/introduction.html\"", "workingDirectory": " } ] }
4. Save and close the config.json file.
Advanced Installer: Creating URL Shortcuts in MSIX
Advanced installer comes with its in-build support for creating a shortcut to open a specific URL.
If you’ve dabbled with it before, you know most tasks are a breeze using Advanced Installer’s GUI, with no manual editing of the AppXManifest file or manual PSF injections.
Are you new to Advanced Installer?
Unlock the power of MSIX shortcuts – try Advanced Installer's 30-day free trial today!
Here's how you can do it:
The first method is to add the shortcut as “New URL”. This will open the URL using the default browser set on the device. To do that, you need to:
- Go to the “Shortcuts” page.
- Click on the “URL” toolbar button or right-click and then select “New URL Shortcut”.
- Configure your URL as per your requirements.

The second method is to add the shortcut as “External File”. To do that, you need to:
- Go to the “Application Details” Page.
- Right-click and then select “New External Application”.
- Configure your shortcut to the external file as per your requirements. “Shortcut target” must be set to the executable path of the Internet browser you want to be used to open the URL.

Whichever method you embrace, these shortcuts find their way into the Start Menu, ready to direct you to the specified URL.
Video
Conclusion
While MSIX packaging offers powerful capabilities, it comes with its set of challenges. However, with the right tools like the Package Support Framework and Advanced Installer, these hurdles can be easily overcome.
And if you’re leveraging Advanced Installer, well, its GUI has got your back, automating many of the trickier steps.
Happy packaging!