Jump to content
You must now use your email address to sign in [click for more info] ×

Why are we using MSIX for Windows installers?


Recommended Posts

Pros:

  1. MSI had an installation success rate of ~85% (and we have many requests to our tech support team for v1 install failures). MSIX promises a 99.9% success rate. 
  2. MSI requires admin privileges to install. MSIX installs per-user, but files are deduplicated so that disk space isn't wasted.
  3. MSI apps are not sandboxed from other applications, meaning other applications can break those apps (we have seen this with several third-party apps in the past). MSIX apps are sandboxed to prevent this.
  4. MSI updates require a manual download of the full ~550mb installer which must be manually installed. MSIX can perform in-app delta updates which are smaller and faster.
  5. MSI updates can only be performed one at a time. MSIX can update all three apps simultaneously.
  6. MSI cannot guarantee that an uninstall will leave your machine in the exact state prior to install. MSIX installs are segregated and don't rely on the registry or special filesystem locations meaning an uninstall always leaves you in a clean state. Installation and app data paths are cleaned on uninstall.
  7. MSI apps cannot integrate with Microsoft Photos app to provide "Edit In..." style features. MSIX can.
  8. MSI does not require a digital signature. MSIX does (this means any MSIX that appears to be from Serif, will be guaranteed to be from us and only us).

Cons:

  1. MSI can allow the user to change the installation directory. MSIX can move installed apps to different drives, but it cannot choose a specific directory (due to the sandbox). See below:image.png
  2. MSI can allow an option to install a desktop shortcut. MSIX doesn't provide this as an option, but you can pin the apps to either the Start Menu or the Taskbar. There is also the secret Shell:AppsFolder location in Explorer that allows you to right-click or drag the icon to your Desktop for a shortcut as a workaround if you need it. image.png
  3. MSI has easy discovery of undocumented app locations for launching from a third-party. MSIX hides the install location due to the sandbox, but we use App Execution Alias to enable this scenario. You can find the aliases in the following location:

    C:\Users\username\AppData\Local\Microsoft\WindowsApps\AffinityDesigner2.exe

    C:\Users\username\AppData\Local\Microsoft\WindowsApps\AffinityPhoto2.exe

    C:\Users\username\AppData\Local\Microsoft\WindowsApps\AffinityPublisher2.exe

    Remembering to replace username with your Windows username. Also, those paths are already in your %PATH% variable so you can often launch them without even specifying the full path, e.g. just AffinityPhoto2.exe. There are bugs in some third-party applications with the App Execution Alias , and the next post includes aflaunch.exe as a work around if you need that instead. 

     

Link to comment
Share on other sites

  • 4 weeks later...
  • Staff

The current MSIX installers put sandboxed applications on your computer. To access the sandboxed applications we provided execution aliases, as described above. There are bugs in some third-party applications with the App Execution Alias. To bridge the gap between 3rd party apps and the sandboxed installed Affinity Photo 2, we are providing an application AFLaunch.exe that can be called instead of the 0KB execution Alias

So try AffinityPhoto2.exe first, and if that does not work, use AFLaunch.exe.

Attached file aflaunch.zip is a .ZIP file of the current AFLaunch.exe, referred to above. This should downloaded and unzipped onto your computer.

It can then be called (linked to) from withing your Photo DAM, which will start Affinity Photo 2 to edit your Photo. 

aflaunch.zip

Patrick Connor
Serif Europe Ltd

"There is nothing noble in being superior to your fellow man. True nobility lies in being superior to your previous self."  W. L. Sheldon

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.