Affinity Publisher is a desktop publishing application. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Affinity Publisher from the command line using the MSI installer.
How to Install Affinity Publisher Silently
Affinity Publisher Silent Install (MSI)
- Navigate to: https://store.serif.com/get/publisher/trial/windows/
- Download the affinity-publisher-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-publisher-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 Publisher entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Affinity Publisher |
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/publisher/ |
PowerShell Script: | https://silentinstallhq.com/affinity-publisher-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 Publisher Installation Log File
The Affinity Publisher 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 Publisher Silent Install with Logging (MSI)
MsiExec.exe /i Affinity.msi /qn /L*v "%WINDIR%\Temp\AffinityPublisher-Install.log" |
Change the Affinity Publisher 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 Publisher to “C:\Affinity\Affinity Publisher”
MsiExec.exe /i Affinity.msi INSTALL_DIR_PROPERTY="C:\Affinity\Affinity Publisher" /qn |
Include the Affinity Publisher Desktop Shortcut During Install
The Affinity Publisher 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 Publisher Silent Install with EULA Prompt Disabled
MsiExec.exe /i Affinity.msi NO_EULA_PROPERTY=1 /qn |
Disable New Version Update Check
Affinity Publisher Silent Install with Update Check Disabled
MsiExec.exe /i Affinity.msi NO_UPDATE_CHECK_PROPERTY=1 /qn |
Disable Registration
Affinity Publisher Silent Install with Registration Disabled
MsiExec.exe /i Affinity.msi NO_REGISTRATION_PROPERTY=1 /qn |
Include Email & Product Key Authentication
Affinity Publisher 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-publisher-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 Publisher Silently
Check out the Affinity Publisher 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 Publisher 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.