SamLogic now uses a digital certificate from Sectigo for its software

Green lockCode signed binary files (for example .EXE and .DLL files) are very important to keep a high security level and prevent any attempts to tamper with the binary files after distribution. For that reason SamLogic has code signed its binary files for years now.

We have now updated our digital certificate to use a RSA key length of 4096 bits for the encryption of the certificate. Previous we used 2048 bits. Computers are getting faster and faster (this includes the computers that are used to crack encryptions) and to continue to keep a high security level, it is necessary to increase the key length with time.

Sectigo LogotypeStarting from today we will use an Extended Validation (EV) Code Signing certificate from Sectigo with a key length of 4096 bits for the RSA encryption of the digital certificate. We will use it to digital sign all binary files (.EXE/.DLL/.OCX files) that we release and distribute. In the new 2022 versions of our software, that we soon release, all binary files will be digitally signed with this new and more secure digital certificate.

More information about code signing and digital certificates
If you want to read more about code signing and digital certificates, we recommend the following articles and blog posts on our website:

> What is Code Signing / Digital Signature / Digital Certificate?
> Extended Validation (EV) Code Signing in Windows
> Visual Installer now supports EV code signing

Create / Install an AutoCAD profile from Visual Installer

CAD, computers and people

Visual Installer is a very flexible setup tool and has built-in support for installation of AutoCAD profiles for Autodesk AutoCAD. Visual Installer can create a named profile for AutoCAD directly in Windows Registry, and add the settings and values that you want to use with the AutoCAD profile directly from the installer. You can also update an installed profile afterwards, or uninstall an installed profile.

AutoCAD - LogotypeTo give you a great flexibility when creating or updating AutoCAD profiles, we have added some special variables to the Registry tab in Visual Installer. By using these special variables it is easy for you to install or update AutoCAD profiles. These variables can also be used to find folder locations and other information that is used by Autodesk AutoCAD.

Visual Installer can handle different versions of Autodesk AutoCAD, and we update the support for this well-known CAD software continuously. Both AutoCAD and AutoCAD LT, and both 64 bit and 32 bit versions of the software are supported.

For more information about Visual Installer’s AutoCAD support and the special variables mentioned above in this blog post, see the AutoCAD profiles section in Part VII in Visual Installer´s User Guide.

Visual Installer 2020 has now been released

We have now released a new version of our setup tool SamLogic Visual Installer. The name of the new version is SamLogic Visual Installer 2020 and the version number is 11.8. Some new features in the new version are:

• Supports the latest version of Windows 10.
• Supports Microsoft .NET Framework 4.7.2 and 4.8.
• Supports AutoCAD 2019 and 2020.
• Supports Visual Basic 2019.
• Supports now also Visual C#.
• You can now comment files in the file list.
• The Registration dialog box now supports region/state and ZIP/postal code.
• Updated Run program after installation function.
• You can now specify your own picture to the uninstallation program/dialog box.

A detailed list of new features in Visual Installer 2020 is available on this web page.

CD-Menu Creator 2020 has now been released

A new version of our menu designer tool CD-Menu Creator has now been released. The name of the new version is SamLogic CD-Menu Creator 2020, and some of the new features in the new version are:

• Supports the latest version of Windows 10.
• You can now specify a position for the sub title text.
• You can change font size for the button’s tip text.
• Supports https in web links.
• New menu interface examples have been included.

A more detailed list with the new features is available on this page.

How to make sure that a shortcut (icon) is created for all Windows accounts

In Visual Installer you can choose whether you want to add shortcuts (icons) for the Windows account that is used to install your files, or for all Windows accounts in the computer.

Mostly the Windows account that is used for installation is the same as the Windows account that is used to run the software or access the files. But this is not always the case. If different Windows accounts are used for installation and for daily use, you might end in a situation where there is no shortcut (icon) to access your software or files.

To prevent that this situation occurs, you can open the Program group / menu dialog box (via the List menu) in Visual Installer, and make sure that the Create program group / menu for all users option is selected in the dialog box. If not, you can select this option.

Program group / Menu

Now your shortcuts (icons) will be accessible for all users (all Windows accounts) in the computer. This affects also desktop shortcuts and other types of shortcuts.

Visual Installer now supports EV code signing

Nowadays it is very important to code sign installation packages. This increases the security and gives less warning messages in Windows and in web browsers.

Since many years back our setup tool Visual Installer has supported standard digital certificates, but in the last update of Visual Installer we have also added support for EV digital certificates. EV digital certificates increases the security even more and the risk for warning messages in Windows and in web browsers (for example in Chrome, Edge and Internet Explorer) is reduced to almost zero. EV digital certificates are more trusted by Windows and web browsers than standard digital certificates.

Updated ‘Setup Options’ dialog box in Visual Installer
The Code Signing tab in the Setup Options dialog box in Visual Installer has been updated to also support EV code signing. An EV digital certificate is always distributed on a USB token and we have added a new option to the Code Signing tab that handles digital certificates on USB tokens. The name of the new option is My digital certificate is located on a USB token and if you select this option, Visual Installer will get the digital certificate from the USB token when a setup package is created.

You can see the new My digital certificate is located on a USB token option in the dialog box picture below:

Visual Installer - Setup Options

Alla binary files that are distributed are EV code signed
As an addition to the above, all SamLogic’s binary files that are distributed to end-users has been code signed with an EV digital certificate. This reduced the risk that Windows reacts (gives a warning message) after a setup package has been unpacked and all files extracted.

See also
> Article: Extended Validation (EV) Code Signing in Windows 8 / Windows 10
> Blog: The file information window now displays info about digital certificates

Visual Installer: The XRUN command now also supports OS and bitness

The XRUN script command in Visual Installer has been updated and extended to handle two more parameters: %OS and %Bitness. These two parameters are optional and allows you to specify in which Windows version and with which Windows bitness (32 bit/64 bit) the program file that XRUN starts can be run in. Below are some more information about the two parameters:

%OS
The %OS parameter is an optional parameter that specifies in which operating system (Windows version) the program can be run in. You can specify if the program can be run in Windows 7, Windows 8, Windows 10, or in any Windows. If you omit this parameter the program will be run in any Windows version.

%Bitness
The %Bitness parameter is an optional parameter that specifies which bitness (32 bit or 64 bit) the operating system (Windows version) must have to let the program start. The program will only be run if the Windows bitness match the bitness that you specify via this parameter. If you omit this parameter the program will be run in a Windows of any bitness (both 32 bit and 64 bit Windows).

Syntax
The definition of XRUN, with all of its parameters, is now:

XRUN %Filename, %Flag, %Param, %OS, %Bitness

The Filename parameter specifies the filename of the executable file. The Flag parameter informs Visual Installer how to start the program. The Param parameters specifies command line parameters to the executable file (if used). And the OS and Bitness parameters are described above

Examples of usage
The example below starts MyWin7App.exe if the operating system is Windows 7. If the operating system is anything else, for example Windows 10, the program is never run.

XRUN  %DESTDIR\MyWin7App.exe, 1, “”, 7

The example below starts MyWin7App.exe if the operating system is a 64 bit Windows 7. If the operating system or bitness is anything else the program is never run.

XRUN  %DESTDIR\MyWin7App.exe, 1, “”, 7, 64

More information about the XRUN command and the %OS and %Bitness parameters is available in Visual Installer´s User Guide.

See also
> Visual Installer’s Scripting Language

CD-Menu Creator: Creation date of a menu is automatically saved

A date field has been added to the Version tab in CD-Menu Creator’s editor. This new field will be automatically updated with the date of the last creation of the menu. Every time you create a menu, this field will be automatically updated with current date.

The picture below shows an example of how it may look (in the Version tab):

Last Created

You can now see in an easy way when you last created or updated a menu interface.

The ‘User Options’ setup dialog now also supports radio buttons

The User Options setup dialog box in Visual Installer has been updated to also support radio buttons. So you can now choose if you want to use check boxes or radio buttons in the installation dialog box. When you use radio buttons, only one option at a time can be selected. The options are mutually exclusive.

Below is a basic example of how the updated User Options dialog box may look like when using radio buttons:

The 'User Options' setup dialog box

As before, you can set the text for the dialog box title, the information area and the options freely. Switching between check boxes and radio buttons is done via a new setting in the editor:

The 'Settings' dialog box

More information about the ‘User Options’ setup dialog
In this blog post from 2016 you can read more about the User Options setup dialog. There is also a long tip available in this tip page.