Affinity Photo is a raster graphics editor. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Affinity Photo from the command line using the MSI installer.
How to Install Affinity Photo Silently
Affinity Photo Silent Install (MSI)
- Navigate to: https://store.serif.com/get/photo/trial/windows/
- Download the affinity-photo-x.y.z.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command to launch the Create MSI wizard:
- affinity-photo-x.y.z.exe /defaults
- Click Create…
- Save the MSI to C:\Downloads
- Enter the following command: MsiExec.exe /i Affinity.msi /qn
- Press Enter
After a few moments you will find Affinity Photo entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Affinity Photo |
Vendor: | Serif (Europe) Ltd |
Architecture: | x86_x64 |
Installer Type: | MSI |
Silent Install Switch: | MsiExec.exe /i Affinity.msi /qn |
Silent Uninstall Switch: | MsiExec.exe /x Affinity.msi /qn |
Repair Command: | MsiExec.exe /fa Affinity.msi /qn |
Download Link: | https://affinity.serif.com/en-us/photo/ |
PowerShell Script: | https://silentinstallhq.com/affinity-photo-install-and-uninstall-powershell/ |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Create an Affinity Photo Installation Log File
The Affinity Photo installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.
Affinity Photo Silent Install with Logging (MSI)
MsiExec.exe /i Affinity.msi /qn /L*v "%WINDIR%\Temp\AffinityPhoto-Install.log" |
Change the Affinity Photo Default Installation Directory
You can also change the default installation directory by using the following command line parameters. In this example, I’m installing Affinity Photo to “C:\Affinity\Affinity Photo”
MsiExec.exe /i Affinity.msi INSTALL_DIR_PROPERTY="C:\Affinity\Affinity Photo" /qn |
Include the Affinity Photo Desktop Shortcut During Install
The Affinity Photo installer does not create a desktop shortcut by default. If you want the desktop shortcut, then you can run the following command line switches to include it.
MsiExec.exe /i Affinity.msi INSTALL_DESKTOP_SHORTCUT_PROPERTY=1 /qn |
Disable EULA Prompt
Affinity Photo Silent Install with EULA Prompt Disabled
MsiExec.exe /i Affinity.msi NO_EULA_PROPERTY=1 /qn |
Disable New Version Update Check
Affinity Photo Silent Install with Update Check Disabled
MsiExec.exe /i Affinity.msi NO_UPDATE_CHECK_PROPERTY=1 /qn |
Disable Registration
Affinity Photo Silent Install with Registration Disabled
MsiExec.exe /i Affinity.msi NO_REGISTRATION_PROPERTY=1 /qn |
Include Email & Product Key Authentication
Affinity Photo Silent Install with Product Key
MsiExec.exe /i Affinity.msi EMAIL_PROPERTY="admin@companyname.com" PRODUCT_KEY_PROPERTY="XXXXXXXXXXXX" /qn |
Create MSI (Using a Product Key)
- Enter the following command to launch the Create MSI wizard:
affinity-photo-x.y.z.exe /extract |
- Select your preferences and enter the Email & Product Key under Authentication
- Click Create…
- Save the MSI to C:\Downloads
- Enter the following command: MsiExec.exe /i Affinity.msi /qn
- Press Enter
How to Uninstall Affinity Photo Silently
Check out the Affinity Photo Install and Uninstall (PowerShell) post for a scripted solution.
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter the following command:
Affinity Photo Silent Uninstall (MSI)
MsiExec.exe /x Affinity.msi /qn |
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.