Visual Installer: Prime number based license keys

One important key feature in Visual Installer is the ability to create and handle license keys (installation keys). Visual Installer can handle both static license keys and prime number based license keys.

Prime number based license keys
Prime number based license keys are license keys that are created by using a formula that includes prime numbers. By combining this with a checksum, Visual Installer can very easy check that an entered license key is correct or wrong. You don’t need to include your license keys with the installation; pure mathematics is used to verify the license key.

It is also very difficult for a person to manipulate the license key and create false license keys. Not all combinations are allowed and besides that, also the checksum must be correct. So a “cracker” must consider two things in the same time, which makes it difficult to “crack” the key.

How to create prime number based license keys?
If you want to use prime number based license keys in your installation, follow the steps below to create the keys:

1. Start Visual Installer
2. Open the Dialog boxes tab in the editor
3. Click on the ”…” button to the right of the License key option
4. Click the Prime number based license keys button
5. In the dialog box that is shown you can create prime number based license keys

You can create prime number based license keys with Visual Installer

When does Visual Installer ask for the prime number based license key?
Before the actual installation of files starts, a setup wizard with dialog boxes is shown for the end-user. Among these dialog boxes there is one dialog box that asks for a license key. In the picture below you can see how the dialog box looks like:

The 'License Key' dialog box

The installation will not continue until correct license key has been entered. If the end-user enters wrong license key too many times the installation is stopped.

Note
Handling of prime number based license keys is only included in the Professional version of Visual Installer, not in the Standard version. If you have the Standard version and want to change to the Professional version, read this blog post.

See Also
> Visual Installer can show visually when a license key is correct
> How to block a license key when using Visual Installer
> The setup wizard in Visual Installer

Start button back in Windows 8.1

Windows 8.1As you may already know, and as we described in an article on our website, Microsoft removed the Start button in Windows 8. This raised much criticism among Windows users and Microsoft have partly listened to them and re-introduced the Start button in the upcoming Windows 8.1 that will be released later this year. However, there is no traditional Start menu as in earlier versions of Windows. Instead, the Start screen is shown if you click on the Start button (see image to the right). The new Start button is placed at the bottom left of the screen, just like in older Windows versions.

Windows 8.1 - Right-click Start menuWindows 8.1 – Right-click menu
It is also possible to right-click on the Start button and display a shortcut menu for Control Panel and Windows Explorer among other options. You can also turn off or restart Windows from this menu (see image to the right).

Displays traditional desktop at start
Another new feature in Windows 8.1 is that the computer can be started with the traditional desktop right away instead of clicking around with your mouse or using the keyboard to bring up the traditional desktop as you had to do in the previous version of Windows 8. This is welcome news for many, especially for companies that are still using traditional Windows programs (Windows desktop applications).

Other news
Some other news in Windows 8.1 are:
– Improved support for SkyDrive
– Internet Explorer 11 included
– Improved support for security
– Extended support for VPN
– Improved and more flexible Home screen
– Support for 3D printers

The following YouTube video from Microsoft presents news on Windows 8.1:

More information
More information about the new features in Windows 8.1 can be found on these pages:
> Microsoft: What’s New in Windows 8.1
> Guardian: Windows 8.1 review: Microsoft’s fresh Start?

Download Windows 8.1 Preview
Right now it is possible to download a preview version of Windows 8.1:
> Download English version of Windows 8.1
> Download Swedish version of Windows 8.1

Related information about Windows 8
> Article: New Keyboard Shortcuts (Hot Keys) in Windows 8
> Article: Why Were the Start Button & Start Menu Removed in Windows 8?

Visual Installer: How do I install files to the Program Files folder?

Applications (programs) are usually installed to the Program Files folder in Windows. The exact folder path may differ between different versions of Windows. The folder path is for example different between a 32 bit and 64 bit Windows, and for example a Spanish Windows uses a different folder path than an English Windows.

This will make it difficult to hard code the folder path to the Program Files folder. If you use Visual Installer for your setup projects you can use an environment variable to handle the Program Files folder. The name of the variable is %PROGRAMFILES and the variable will be replaced with the current folder path to the Program Files folder during the installation. By using this variable you don’t need to worry about the bitness of the Windows or which country / language version of Windows that is run.

More information
We have published more information about the %PROGRAMFILES variable in the following two Visual Installer related blog posts:

> How to install files in the correct folder using Visual Installer
> How Visual Installer handles 64 bit folders in Windows

Free HTML editor from Microsoft: Expression Web

Microsoft Expression Web is a powerful and feature-rich HTML editor from Microsoft. The first version came in 2006 as a successor to the very popular and widely spread HTML tool Microsoft FrontPage. Expression Web is aimed for more experienced web developers. It is a competitor to Adobe DreamWeaver and just like DreamWeaver it is a HTML tool that is primarily designed to develop more sophisticated websites. HTML tools can also be used to create newsletters if you have a good knowledge of HTML and you know what works for e-mail.

Download Microsoft Expression Web for free
In December 2012 stopped Microsoft with further development of Expression Web and as a result they decided to release he program for free. It is therefore possible to download it for free from Microsoft website. However, Microsoft will continue to maintain the product and release possible security updates up until 2015. The program can be downloaded through this website:
> Microsoft Expression Web 4 – Free Version

More information about Microsoft Expression Web
> Microsoft Expression Web – Wikipedia

Templates that can be used together with Microsoft Expression Web
> Expression Templates | REVIEWED Expression Web Template Resources
> Over 20,000 Professional Business Templates for Microsoft Expression Web & WebMatrix
> Expression Web Tutorials / Expression Web Free Templates

Visual Installer supports PFX (Personal Information Exchange) files

We have updated Visual Installer so you can choose a PFX file (Personal Information Exchange file) directly from the Visual Installer editor, when you want to code sign a setup package. You don’t need to split the PFX file in a SPC file and a PVK file as before.

The Code Signing tab in the Setup options dialog box in the Visual Installer editor has been updated. In the picture above you can see how the new updated Code Signing tab looks like.

In the Code Signing tab there is now two sub tabs: PFX and SPC / PVK. In these tabs you can choose if you want to use a PFX file or a SPC and a PVK file during the code signing process. If you have specified a PFX file you don’t need to to specify a SPC and a PVK file. And vice versa.

More information about code signing in Visual Installer
More general information about code signing in Visual Installer is available on this web page:

> Visual Installer – Can create a code signed setup package

ActiveX Component for Twitter

Twitter is a popular social networking and microblogging service on the Web that let users send and read short text-based messages (up to 140 characters), also known as a “tweets”. We have now created an ActiveX component (Active control) that can be used to send messages (tweets) directly from desktop applications.

URL shortener
We have also inluded a URL shortering function in the Twitter ActiveX. The function uses the Bitly service to shorten URLs, but it is also possible to the let Twitter shorten the URLs. Both systems are supported by the Twitter component.

More information
You can read more about the Twitter ActiveX component on this web page on our web site:
> SamLogic’s Twitter Component: SLTwitCtrl ActiveX Control

Other news: Also our desktop applications will support Twitter soon
We will also add support for Twitter in our other software. We will first add support to our e-mail marketing tool MultiMailer. You will soon be able to send tweets directly from the program. You can for example tweet about your latest newsletter that you just sent out, or currently is delivering! We will also add this functionality to Visual Installer, so you can tweet about new versions of your software directly from Visual Installer. Same function will be added to CD-Menu Creator.

More information about this new feature in our desktop applications will be coming soon.

Free pictures for newsletters and your blog

In a previous blog thread we published a list of websites that provide free icons (small pictures) that can be used for your newsletter, homepage, blog or program. In this blog thread we bring up a new article that you can find on our homepage which contains links to websites where you can download free images (for example photos) of high quality. Even those pictures will fit well your newsletters, blogs, homepages and programs etc.

There are many websites on the Internet that offer professional images such as photos or computer generated pictures. In an article we have put together a list of links to such websites with high level of standard. Many of these images can be used for free for both private and commercial purposes while others can be bought cheaply. The available image formats usually are JPEG, PNG, GIF, TIFF and BMP. The article brings also up some search engines – specialized for images – that you can use for finding free images or images you are willing to pay for. You can find the article here:

> Free pictures for newsletters and your blog

Free icons for programs and webpages

In this blog thread we wrote about a good program (Axialis IconWorkshop) that can be used for creating your own icons. An alternative for creating your own icons is to use ready-made icons instead. You can find many websites on the Internet that provide you with ready-made icons of high quality. These icons can be used both for a program and for a webpage. They can even often be used for blogs and newsletters etc. You can use many of the icons for free, i.e. they will not cost you anything, while other icons can be bought for a quite small amount of money.

Search engines that can find icons
There are many good search engines that helps you to look for icons. One good example is IconFinder that can be used for looking up both free icons and icons that you need to pay for. IconFinder contains a large selection of diverse icons. At the time of writing this blog thread there are 214 330 icons available in their database.

Even websites like FindIcons and IconArchive offer many icons for both private and commercial purposes. Both the sites have embedded search engines that make it easy to locate icons of a certain category or look. In certain cases even Google image search can be used for looking up icons.

List of websites with free icons
There is a large number of websites on the Internet that offer you beautiful and well-designed icons. Many of these icons can be used for free for both private and commercial purposes while others will cost you a little bit of money. The available icon formats usually are PNG, GIF, ICO and in some cases even PSD (Abode Photoshop) or BMP. Bellow you can find a list of links with some good websites that we recommend:

1st Webdesigner – Web Design Blog – Over 30 icon sets for designers and developers.
Crystal Clear – Icons from Crystal Clear set by Everaldo Coelho.
Dry icons – Free icons – Many professional icons. They can even design icons at your request.
Fast icon – Many icons with professional look. You can even create icons.
Free Icons Web – Over 28 000 free icons and 950 icon sets.
iCandies Icon Set – 60 free icons for your user interface or your app.
IconDock – Free icon collections rated by users.
IconSpedia – Contains many free icons of high class.
Noupe – Icons in PSD format, but for most of the icons there are even PNG images available.

Some icons require you to link from your homepage to their website or to the designers’ website while others have no such specific demands. Before using an icon, check carefully its license terms of use.

Shutterstock – for you who is willing to pay
For you who is willing to pay a bit extra there is a website that we really can recommend –
Shutterstock. They have an enormous number of icons for commercial purposes and you will probably find every thinkable icon in their collection.

Program for creating icons

Both SamLogic CD-Menu Creator and SamLogic Visual Installer give you the possibility to add your own icon to your project. To create an icon you need a program that helps you to form icons and in many cases Microsoft Visual Studio is sufficient for that purpose. However, Visual Studio has some flaws concerning icon handling (among others shortfalls with handling the color palettes) so if you want to make creating icons easier and escape those problems, it can be a good idea to use a program that specializes in the task instead.

There are several different programs at the market. We use Axialis IconWorkshop which is easy to use while still being a powerful tool. The program can create icons both for Windows and Mac OS and it can convert between them as well. If you use Visual Studio, you can add Icon Workshop as a plug-in into your Microsoft development environment.

You can read more about Axialis IconWorkshop at their webpage:

> Webpage – Axialis IconWorkshop

Visual Installer: You can set a relative size for the setup window

We have updated Visual Installer with a new function; you can now set a relative size for the setup window. The size is specified with a percent value, so the setup window will always cover a specified percentage of the screen. The percentage is easily specified using a visual slider (as shown in the picture to the right).

Below is a picture that shows how a setup window can cover a part of the screen.

Where to find the slider?
You can open the dialog box with the slider from two places in the program:

– Via the Object – Setup window menu item. Press the Change button to the right of the Percentage size option in the dialog box that is shown.

– When you choose a New project. Press the Settings button and Change size button.

(This function is available in Visual Installer version 9.5.20 and later.)