Actual Installer
software installer

Actual Installer FAQ

Back

Welcome to the Actual Installer FAQ. Here you will find answers to frequently asked questions about software installation. If you are unable to find the information you are looking for here, please feel free to contact us.

How to execute custom commands?
How to register DLL & .NET DLL files?
How to detect the presence of the Visual C++ 2010 (or other) redistributable package?
How to Install 32-bit or 64-bit Application on 64-bit Windows

How to bypass the warning "Unknown Publisher" when executing a setup file?
How to set the Full Control security permissions to the folder that was created with the installer?
How to launch a file as administrator?

How to launch my program automatically when Windows starts?
How to create a distribution / autorun CD or DVD?
How to create an URL shortcut on the Desktop?

How to install and register a font?
How to install a device driver from an INF file?
How to install a screensaver and set it as the default screensaver for the user's computer?
How to install Windows Service?
How to run an SQL Server 2005 script?
How to ask the user for Serial Number during installation and then write it to Registry?
How to get a directory path from Registry and use it in the installation?

How to increase a required free disk space?

How to change Text in Setup Program?
How to change Font in Setup Program?
How to create a new setup language file?
How to create a custom Wizard interface?
Setup files created with AI flagged as suspicious by some anti virus tools. How to fix it?


Didn't find an answer to your question? Try to find it in our Forum.


How to bypass the warning "Unknown Publisher" when executing a setup file?

To change the security warning "Unknown Publisher" when launching your setup program, you need to digitally sign the setup file with your code signing certificate. If you don't have this certificate, you can get it from K Software, a Comodo Strategic Partner. Only for Actual Installer customers there is a 15% discount: please use the coupon code CPNACTUAL
If you have the certificate, you can sign your setup files using kSign tool or SignTool.

How to set the Full Control security permissions to the folder that was created with the installer?

Add the following on the System \ Commands page:

File: <SystemDir>\cacls.exe
Parameters: "<InstallDir>" /e /t /c /g Users:f
Launch on OS: All
Show: Normal
Timing: After Installation
Wait: No

How to launch a file as administrator / how to add a flag "Run this program as an administrator"?

If you want to launch a file as admin during the installation, then use the System \ Commands page. There is an option "Run as admin" for the command.

If you want to make a file to be launched as administrator outside the installation (add a flag "Run this program as an administrator" to the file compatibility settings), then you need to add a special registry value on the System \ Registry page. Read more.

How to launch my program automatically when Windows starts?

There are two ways to auto start the program every time when Windows starts:
1st way: Create a shortcut (page Installation \ Shortcuts) to the file (to be launched) in the Autostart menu (Shortcut Location: <StartUp>).
2nd way: Add the following Registry value on the System \ Registry page:

Registry Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
Name Value: <AppName>
Type Value: REG_SZ
Value Data: "select the file to launch"

How to create a distribution / autorun CD or DVD?

AutoRun runs a program automatically when a CD or DVD is inserted into a Windows-based system. To create an AutoRun for your program, select "Create CD/DVD Autorun" from the "Tools" menu. The "AUTORUN.INF" file will be create in the same folder as setup file. Write these two files ("Setup.exe" and "AUTORUN.INF") in the root directory of a CD or DVD.

How to create an URL shortcut on the Desktop?

Go to the Installation \ Shortcuts page, click the Add button and type the following:

Target File: http://www.someaddress.com/
Shortcut Destination: <Desktop>
Icon File (optional): Click Browse button and select an icon file (extensions: .ico OR .exe)

How to install and register a font?

1. On the Files and Folders page click Add Files, select the font file, in the Destination Folder field select <FontsDir>
2. On the Register \ Others page click Add, select the font file, and in the Regsiter As option select Font.

Alternative way for registering font: copy font to <FontsDir> and add the following registry value on System \ Registry:

Registry Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
Name Value: type the Font Name, e.g.: Calibri (TrueType)
Type Value: REG_SZ
Value Data: type the font filename, e.g.: calibri.ttf

How to install a device driver from an INF file?

Add the following on the System \ Commands page:

for Windows XP
File: <SystemDir>\rundll32.exe
Parameters: setupapi,InstallHinfSection DefaultInstall 132 "<InstallDir>\driver.inf"

for Windows Vista, 7, 8, 8.1, 10
File: <SystemDir>\InfDefaultInstall.exe
Parameters: "<InstallDir>\driver.inf"

Launch: After Installation
Wait: Yes
where "<InstallDir>\driver.inf" is a path to the driver file with extension .INF

How to install a screensaver and set it as the default screensaver for the user's computer?

  • Add your screensaver file to the project in the "Installation \ Files and Folders" section;
  • Go to the "Register \ Other" page and click the "Add" button;
  • Specify the screensaver file in the "File" field and choose "Screensaver" in the "Register As" field;

How to install Windows Service?

http://www.actualinstaller.com/forum/viewtopic.php?f=2&t=43

How to run an SQL Server 2005 script?

http://www.actualinstaller.com/forum/viewtopic.php?f=2&t=47

How to ask the user for Serial Number during installation and then write it to Registry?

1. To ask the user for serial number (S/N), go to Interface \ Main and select User Information, then go to the User Information tab and select the Serial Number option. Add serial numbers to the list (one s/n per line).
2. To write a provided serial number by user to Registry, go to System \ Registry and add the following:

Registry Key: HKEY_CURRENT_USER\Software\<AppName>
Name Value: Serial
Type Value: REG_SZ
Value Data: <UserSerial>

To save other information provided by user (user name, company, custom value), use the variables that listed here.

How to get a directory path from Registry and use it in the installation?

To read a path from Registry go to System \ Variables and add the following:

Variable Name: <MyVar1>
Registry Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
Value Name: My Video
Value Type: STRING
Default Value: 

Now you can use this variable <MyVar1> anywhere in the setup, e.g. for a file's destination.

How to increase a required free disk space?

If you application requires some additional free disk space (e.g. during installation big data file is downloaded), then you need to set the proper required free space (different than at setup build time). To make it just add a special variable name on the System \ Variables page:

Variable: <ExtraDataFileSize>
Bitness: Default
Registry Key: leave this field empty
Registry Value: leave this field empty
Value Type: STRING
Default Data: type additional required size in bytes

How to change Text in Setup Program?

  • Go to the Interface \ Languages tab;
  • Select the language to modify;
  • From the context menu, select Edit;
  • After modifying, save the file.

How to change Font in Setup Program?

By default, the setup program uses the Tahoma font. To use other font or change font sizes, create a file "font.ini" (with settings listed below), and then add this file to the <SetupTempDir> folder on the Files and Folders page.

Settings for Modern theme (do not add comments which begin with //):

[Font]
Name=Tahoma
;Header is a text "Welcome to AppName Setup"
HeaderOffset=0 //if you logo is big, then you can add offset to HeaderText in pixels
HeaderSize=18	//Size of Header text
HeaderColor=0	//Color of Header text
HeaderStyle= //Style: fsBold, fsItalic, fsUnderline. Leave empty to use Default style


;Text is a text "This will install AppName on your computer"
TextOffset=0
TextSize=9
TextColor=0
TextStyle=

;Button "Install AppName"
ButtonSize=12

Settings for Classic Wizard theme:

[Font]
Name=Tahoma
HeaderSize=10
TextSize=8

How to create a new setup language file?

  • Open the Language folder in the Actual Installer directory (by default: "C:\Program Files (x86)\Actual Installer\Language");
  • Make a copy of the English.lng file;
  • Open the new lng file and translate it;
  • Save the file;
  • Run Actual Installer. The new language file will be automatically added to the setup languages list.

How to create a custom Wizard interface?

If you want to create a custom setup Wizard interface, like this, make the following:

  • Open the Bitmaps\Wizard folder in the Actual Installer directory (by default: "C:\Program Files (x86)\Actual Installer\Bitmaps\Wizard");
  • Open any BMP file from this folder in your image editor (e.g. mspaint);
  • Make necessary changes and save new bitmap in any folder;
  • In your Actual Installer project, go to Interface \ Graphics and specify the new BMP file.

Setup files created with AI flagged as suspicious by some antivirus tools. How to fix it?

Definitely it's a false positive. Signing the setup file with your certificate may help. But please note the following: many antvirus tools don't like downloaders. Our tool 'Actual Downloader' is used when creating Web Installers (package type: Setup EXE + Data (download from Web)), or Updater with option 'Use Downloader'. So if you use one of these options, then you need also sign the file Downloader.exe. To make it go to View \ Options \ File Options and select 'Sign setup file after building' and 'Sign Uninstall.exe and Downloader.exe'. If antivirus still flags your file as suspicious, then the only way is to send your file to them for checking. You can find web pages for submtting here (use links from the column 'Submit False Positives').