Revision Date: 14 April 2021

Unattended Installation supports unattended installation so can be installed without user interaction. There are two facilities provided for unattended installation:

MSI Deployment

Using the /createMsi command-line parameter (detailed below), MSI packages can be created for AD/GPO deployment.

Two MSI packages will be created when this command is used, one for each CPU architecture (x86 and x64). The x86 MSI is for 32-bit Intel/AMD systems. The x64 MSI is for Intel/AMD systems that have both a 64-bit CPU and a 64-bit "x64" edition of Windows.


The x86 MSI (PaintDotNet.x86.msi) will not function on 64-bit systems, so plan your deployment accordingly.

The MSI properties listed in the second table (below) can be configured with the command-line when using /createMsi.  These MSI properties are automatically patched into the generated MSIs so no further transforms should be necessary.

Automatic Installation

To perform an automatic installation, use the /auto or /skipConfig command-line parameter detailed below.

Command-Line Syntax

The setup package supports the following command-line syntax, where is the setup package downloaded from the website:

Example Syntax [/skipConfig | /auto | /createMsi] [PROPERTY=VALUE...]

Configuration Options


Skips configuration of options and install directory. Uses MSI properties in the following order of precedence:

  1. Supplied via command-line
  2. Read from HKLM\Software\
  3. Default values


Like /skipConfig, but does not show the final wizard page that details the result of installation.  This option provides a completely automated install that requires no user interaction.


This will create two MSI packages in a folder on the desktop called PaintDotNetMsi.  These MSIs are each targeted at a specific OS/CPU platform type (x86 or x64), and can be deployed via standard AD/GPO mechanisms.  The MSIs will be patched with any properties that are specified using the PROPERTY=VALUE command-line options (if any - see below).


Sets an MSI property named PROPERTY to equal VALUE.  Multiple property values can be specified. See below for a list of applicable properties.


If VALUE has a space in it, enclose the entire PROPERTY=VALUE text inside quotation marks.  For example, to set the hypothetical TEST property equal to "1 2 3", you would specify "TEST=1 2 3" on the command-line, including the quotation marks.

For a default automatic installation, it is sufficient to use the /auto command-line option. Further customization is possible by changing the values of the MSI properties, where "1" is used for enabling a behavior or action, and "0" is used for disabling it:

MSI Property Name Default Value Description



Specifies the directory to install into. %PROGRAMFILES%, usually stands for C:\Program Files.


1 (0 when /createMsi is specified)

Enables (1) or disables (0) automatic update checking.



When checking for updates, also check for pre-release ("beta") versions.



Register as the default editor for JPG, PNG, and BMP image types.



Register as the default editor for TGA image types.



Create a shortcut on the desktop for launching



This configures which Start Menu Programs group the shortcut will be placed into.  By default this is blank, which places the shortcut among other shortcuts such as Windows Media Player and Internet Explorer.

This setting can be used to place the shortcut into a group such as "Graphics Applications" or something similar.  If you want to place in a group-within-a-group, use syntax similar to that for file paths.  For example, to place into the "Graphics" group inside of the "Applications" group (i.e., "Start menu -> All Programs -> Applications -> Graphics") specify "PROGRAMSGROUP=Applications\Graphics".


To install with the default options, to the default installation directory, with no user interaction: /auto

To install to a directory called D:\PDN, without creating a desktop shortcut: /auto TARGETDIR=D:\PDN DESKTOPSHORTCUT=0

To install to a directory called E:\Image Apps\, and to check for betas when checking for updates:

(Note that the entire TARGETDIR parameter must be enclosed in quotations when the target directory contains one or more space!) /auto "TARGETDIR=E:\Image Apps\" CHECKFORBETAS=1