Actual Installer
software installer

Actual Installer Help \ Software Prerequisites

Back

On the General \ Prerequisites page you can specify prerequisites for your application that must be installed on client machine.

If the required prerequisite is not installed, the setup program will prompt to install it.
The download links can be viewed or changed on the Prerequisite Links tab of the "Options..." dialog (menu "View \ Options..."). You can specify an URL (web page, where user can download it) or a File (will be included in your setup program).

Actual Installer has the following predefined software prerequisites:

  • .NET Framework
  • Internet Explorer
  • Adobe Reader
  • Java (JRE)
  • SQL Server Compact
  • SQL Server Express
  • Microsoft Visual C++ Runtime
  • Just select a required prerequisite and it's minimum version that user must have installed on the computer to properly run your application.



    Actual Installer also allows you to add custom software prerequisites. Just click the "Add" button in the "Additional Prerequisites" section.

    Name - The name of the prerequisite.
    Command - A command that will be executed to install the prerequisite. Can be a setup file or a download link
    OS - Specifies the bitness of Windows under which the presence of the prerequisite will be checked - Any, 32-bit, or 64-bit
    Condition - Search criteria for the prerequisite
    The presence of the prerequisite is obtained on the presence of a file, folder, registry key, etc.. If result is false, then setup will pop up a warning message saying the prerequisite is not installed.
    Value 1 - First value of Search Criteria
    Value 2 - Second value of Search Criteria. Only for the following Conditions: "Registry Value contents", "Registry Value doesn't content", "Registry Value greater or equal", "Registry Value less or equal", "File Version greater or equal", "File Version less or equal", "Variable greater or equal", "Variable less or equal"

    Here you can find settings for common software prerequisites:

    Java (JRE)
    Crystal Reports
    SQL Server Reporting Services
    DirectX
    Flash Player
    QuickTime Player
    Microsoft Office



    Java (JRE)

    If you application requires Java (Java Runtime Environment) version 9 and higher, then use the following settings in the Additional Prerequisites list:

    Name: Java (JRE)
    Command: http://www.oracle.com/technetwork/java/javase/downloads/jre10-downloads-4417026.html
    OS: 64-bit
    Condition: Registry Value greater or equal
    Value 1: HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JRE\CurrentVersion
    Value 2: 10.0
    

    Crystal Reports

    How to include Crystal Reports

    SQL Server Reporting Services

    To detect that the SQL Server Reporting Services is installed on user's computer add the following on the System \ Variables:

    Variable: 	<SSRS>
    Bitness: 	for 64 bit SQL Server select 64-bit
    Registry Key: 	HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\SSRS\MSSQLServer\CurrentVersion
    Value Name: 	CurrentVersion
    Value Type: 	STRING
    Default Value: 	0
    

    Variable <SSRS> will contain SQL Server version under which is installed the Reporting Services. Or 0 if Reporting Services is not installed.
    To check this value go to Installation \ Prerequisites \ Additional Prerequisites and click Add:

    Name: SQL Server 2017 Reporting Services
    Command: https://www.microsoft.com/en-us/download/details.aspx?id=55252
    OS: Any
    Condition: Variable greater or equal
    Value 1: <SSRS>
    Value 2: 14.0
    

    14.0 is a version number for SQL Server 2017.


    DirectX

    To get DirectX version, it is recommended to check version number of the following file: %windir%\System32\dxdiag.exe
    DirectX 10 has version number 6.00.6000.16386
    DirectX 11 - 6.01.7600.16385
    DirectX 11.1 - 6.02.9200.16384
    DirectX 11.2 - 6.03.9600.16384
    DirectX 12 - 10.00.10240.16384

    Name: 		DirectX 12
    Command: 	https://support.microsoft.com/en-us/kb/179113
    OS: 	Any
    Condition: 	File Version greater or equal
    Value 1: 	<SystemDir>\dxdiag.exe
    Value 2: 	10.0
    

    Flash Player

    Name: Flash Player
    Command: http://get.adobe.com/flashplayer/
    OS: All
    Condition: Folder exists
    Value 1: <SystemDir>\Macromed\Flash
    

    QuickTime Player

    Name: QuickTime Player
    Command: http://www.apple.com/quicktime/download/
    Platform: All
    Condition: Folder exists
    Value 1: <ProgramFiles>\QuickTime
    

    Microsoft Office

    To get Microsoft Office version, we read version number of the "Winword.exe" file.

    For Office 2016, the version number of "Winword.exe" file is 16.x.x.x

    First, we need to read a path to winword.exe file to a variable. Go to System \ Variables and add the following:

    Variable: 	<WinWordPath>
    Bitness: 	Default
    Registry Key: 	HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Winword.exe
    Value Name: 	
    Value Type: 	REG_SZ
    Default Value: 	
    

    Now the variable <WinWordPath> contains a full path to winword.exe file.

    Then go to General \ Prerequisites \ Additional Prerequisites and add the following:

    Name: Microsoft Office 2016
    Command: http://office.microsoft.com/en-us/try
    OS: Any
    Condition: File Version Greater or Equal
    Value 1: <WinWordPath>
    Value 2: 16.0
    

    Here is a list of Microsoft Office versions and corresponding version numbers of winword.exe file:

    Office XP		10.0
    Office 2003		11.0
    Office 2007		12.0
    Office 2010		14.0
    Office 2013		15.0
    Office 2016		16.0
    Office 2019		17.0
    

    How to determine the location of WinWord.exe using Actual Installer?