Custom Install Properties

This view allows you to specify one or more additional installer files (.exe or .msi) that are installed with your desktop application. For instance, this is beneficial for applications that include a third-party redistributable component.

In order to use CustomInstall declarations in MSIX, Developer Mode must be enabled before installing the MSIX package and may be disabled after installation.

One method to enable Developer mode is to run PowerShell with elevated privileges and use this command line:

PS C:\WINDOWS\system32> reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1"

More methods and other information can be found in this article from Microsoft : Developer Mode features and debugging.

Properties

Custom Insrall Properties

Folder

Indicate the name of the package directory that holds all the files needed for custom actions. This directory may include subdirectories.

Install Actions

In this section you can define installer files that are executed prior to the initial launch of your desktop application.

  • [ New ]
  • Use this button to add a new Install action. The MSIX Custom Install Action Dialog will be displayed.
  • [ Edit ]
  • Edit the selected action.
  • [ Delete ]
  • Delete the selected action.

Repair Actions

Here you can specify installer files that are executed when the user chooses the repair or reset options on the Settings page for your desktop application.

  • [ New ]
  • Use this button to add a new Repair action. The MSIX Custom Install Action Dialog will be displayed.
  • [ Edit ]
  • Edit the selected action.
  • [ Delete ]
  • Delete the selected action.

Uninstall Actions

Here you can define installer files that are executed when the user removes your desktop application.

  • [ New ]
  • Use this button to add a new Uninstall action. The MSIX Custom Install Action Dialog will be displayed.
  • [ Edit ]
  • Edit the selected action.
  • [ Delete ]
  • Delete the selected action.

Topics