Actual Installer
software installer

Actual Installer FAQ

Back

Welcome to the Actual Installer FAQ. Here you will find answers to frequently asked questions about the Actual Installer program. 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 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 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?


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 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: REG_SZ
Default Value: 

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

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, Actual Installer uses the Tahoma font (with DEFAULT_CHARSET) in the setup program. To use other, add a font file (TTF format only) in the <SetupTempDir> folder on the Files and Folders page.

To change font size and charset, add in this folder file "font.ini" with the following settings:

[Font]
TextSize= the font size of the main text (by default = 8)
HeaderSize= the font size of the header text (by default = 10)
Charset= the font charset (by default = 1, Central European = 238)

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.