How to count the number of shortcuts and tiles in the Start menu in Windows 10

As mentioned in this blog post, the Start menu in Windows 10 has a limit of number of shortcuts and tiles that can be added to the menu. In the first release of Windows 10 the limit was 512 items. But in the latest update of Windows 10 (the “Threshold 2″ update) the limit has been increased to 2048 items.

If you use Visual Installer to install files and encounter problems with shortcuts that are not visible in the Start menu, a good first step is to count the number of shortcuts and tiles in the Start menu. This can be done by using Windows PowerShell and running the Get-StartApps | measure command there:

Get-StartApps | measure

Windows Powershell will then display the number of items in the Start menu in the PowerShell window. For example:

Count

If the build number of your Windows 10 is less than 10547 and the count is above 512 you have added / installed too many shortcuts and tiles to the Start menu. If you have a build number that is 10547 or above and the count is above 2048, you have added / installed too many shortcuts and tiles to the Start menu. In the latter case you need to remove some items before you can add new. In the first case you need to update your Windows 10 to the latest version of the operating system.

(To open Windows PowerShell you can enter “powershell” in Windows search box and press Enter; then Windows PowerShell is started. To see the build number you can enter “winver” in the same search box and choose the winver command in the list that is shown.)

Using environment variables in Visual Installer

It is possible to use Windows environment variables in Visual Installer. The environment variables can be used in the Registry tab and in the INI files tab in Visual Installer. You can find a list of supported environment variables in this Wikipedia page (see the Windows section).

You use an environment variable in the same way as a Visual Installer variable. For example, to include the %ProgramFiles% environment variable in a file path you can include it like this:

%ProgramFiles%\SamLogic\Visual Installer

And during the installation the %ProgramFiles% variable will be replaced with the current value that the system returns (usually C:\Program Files (x86)).

The picture below shows how to use the %COMPUTERNAME% environment variable in the Registry tab in Visual Installer:

During the installation the %COMPUTERNAME% variable will be replaced with the current computer name of the computer.

See also
> With the SETENV command you can set environment variables from Visual Installer

How to add more files from a previously used folder (Visual Installer)

I guess that you sometimes are in the situation that you need to add more files from the same source folder as some of the files that already are included in your project. But to get there you need to browse through many folders on your hard disk which may take some time.

To simplify and speed up this process we have added a new menu item to the local (right-click) menu in the File list tab in Visual Installer. The name of menu item is Add more files from same source folder and the picture below shows where in the menu to find the new choice.

If you right-click on a file in Visual Installer’s file list and thereafter choose the Add more files from same source folder menu item, the Add files dialog box in Visual Installer will be opened with the files in the same source folder as the selected file listed.

For example, if you right-click on a file in Visual Installer’s file list which source folder is C:\My Pictures\My Second Project, this folder will automatically be chosen and the files in this folder will be automatically listed in the Add files dialog box (see the picture below). And you can easily add more files from the same folder to the file list.

See also
> How to view source paths in the file list in Visual Installer

How to insert a line feed in a setup dialog box (Visual Installer)

There are many built-in setup dialog boxes in Visual Installer that allows you to create a professional setup wizard in just minutes. In some of the setup dialog boxes you can enter many lines with information text, and to make the text easier to read it can be wise to include line feeds and empty lines in some part of the text.

To include a line feed in a dialog box text that you write you need to press Shift + Enter on your keyboard. A line feed will then be inserted at the cursor’s position. To include a blank line you can press Shift + Enter twice. The screen dump below shows how the text looks like with a blank line between the first sentence and the second sentence:

The screen dump below shows the same text in the setup wizard:

Related information
> Setup dialog boxes: How to choose, add text & change image
> Tip: How to add a link to a setup dialog box

How do I code sign a setup package in Visual Installer?

Today it is important to have a setup package code signed before distribution. This is for many reasons:

– You will avoid deterrent warning messages in Windows.
– You will avoid that your installation can not be started in some systems.
– You can be sure that nobody has manipulated your setup package since creation.
– You will protect your setup package against viruses and malware.

How to code sign in Visual Installer
In Visual Installer it is easy to code sign a setup package. In the following tip we explain step by step how to code sign an installation:
> Tip: How to code sign a setup package

Articles about code signing
If you want to read more about code signing we recommend you to read the following articles on our website:
> What is Code Signing / Digital Signature / Digital Certificate?
> Extended Validation (EV) Code Signing

Visual Installer can now import Visual Studio solution files

We have improved Visual Installer’s ability to co-operate with Microsoft Visual Studio. Since many years Visual Installer has been able to import Visual Studio / Visual Basic project files (.vbproj), but starting with Visual Installer 2015 also solution files (.sln) can be imported.

This is very useful if you have a solution that contains many projects. If you choose to import a solution file, Visual Installer will analyze all projects in the solution and import the necessary files.

How to import a Visual Studio solution file
If you want to import a Visual Studio solution file to Visual Installer you can choose the Import Visual Basic project — Visual Basic .NET 2005-2015 project menu item in the File menu in Visual Installer’s editor:

Thereafter you click on the Select project file button in the dialog box that is shown:

As default, project files (.vbproj files) are filtered out in the Open dialog box that is shown, but to the right in the Open dialog box you can choose solution files (.sln files) instead:

Now you can choose a Visual Studio solution file to import.

See also
We have published a step-by-step tip on our website that shows in detail how to import a Visual Basic project or solution to Visual Installer. There is also a tip video available.

> Tip: How to create an installation for a VB.NET application

Easy to create multiple menu pages with CD-Menu Creator’s new wizard

Sometimes one menu page is not enough in a menu system. Sometimes you may want to create a menu system with many menu pages, for example one main menu and some sub menus. Although it has been possible to create such a system with CD-Menu Creator since many years, it has sometimes been complicated to get all file paths in all buttons correct. With CD-Menu Creator 2015 things have changed. We have now included an easy-to-use wizard that creates a menu system with more than menu page (for example a main menu and some sub menus) very easily.

When you use the wizard, all file paths will be set to correctly automatically. All files will also be created and copied to correct folders on your hard disk or USB flash drive, and all necessary project files (.CDP files) will be created automatically.

When you create a system with a main menu and sub menus, all sub menus will automatically have the same visual theme and use same colors, fonts, button styles etc. as the main menu. If you have added a logotype or menu picture to the main menu, they will be included automatically in all sub menus also.

All necessary buttons to open a sub menu or return to the main menu are included automatically in all menu pages and in all project files. If you create menu systems with many menu pages often, we are sure that you will appreciate this new function a lot!


More information
More information about the new wizard in CD-Menu Creator 2015 is available on this tip page on our website.

CD-Menu Creator now supports Unicode characters

You can now use Unicode characters in a menu that you create with CD-Menu Creator. This allows you to use characters from any language in the world in your menus. E.g. Chinese, Japanese, Thai, Arabic, Greek, Russian etc. You can also mix different languages in the same menu interface. For example, you can use Chinese, Japanese and English text in the same menu. Unicode characters can be used for titles, button text, tip text etc.

The Unicode characters in created menu interfaces will be shown correctly regardless of which language the Windows itself uses.

More information
Support for Unicode characters is a new function in CD-Menu Creator 2015. On this web page you can find more information about Unicode characters and information about how to use them in CD-Menu Creator 2015:

> Tip: How to use Unicode characters in a menu

Build a setup package or menu interface silently using a batch file

With Visual Installer 2015 and CD-Menu Creator 2015 it is possible to build a setup package and a menu interface silently, without any interaction with a graphical user interface. The build process is invisible, and you use command line parameters and switches to handle the build operations. And errors that occur (if there are any) are returned via a log file that contain detailed error descriptions and error codes etc.

Build servers
The silent build processes via command line parameters / switches makes it easy to call Visual Installer 2015 and CD-Menu Creator 2015 from build servers. A build server is useful if you work in a team and your team want to, for example, compile applications, build setup packages and (perhaps) build menu interfaces in one operation.

Batch files
You can also utilize this new function from local batch files (for example from traditional .BAT files). You can add one line of code for each setup package or menu interface that you want to build, in the batch file. For example:

VI.exe C:\MyProjects\MySetup.vip /BUILD /BUILDFOLDER:C:\MyCreatedSetups\Setup1

More information
We have added two detailed tips on our website that describes how to use this new function in Visual Installer 2015 and CD-Menu Creator 2015:

> Tip: Visual Installer’s command line parameters
> Tip: CD-Menu Creator’s command line parameters

5 tips about how to market products with email newsletters

Email marketing, for example by using newsletters, is a very fast and cost-effective way to market your products and services. You can achieve some really impressive results with emails; you just have to make sure to do it right. Below we offer you five quick tips that can easily help you to create a successful email marketing strategy and achieve the best possible results:

1. Plan your email marketing strategy
To make your email marketing successful, you need a well prepared strategy. Get the right message to your customer at the right time. How to do it?  Plan your email dispatches carefully in advance. Where do you start? The easiest way is to set and divide your email marketing strategy into three parts:

Inform with email
The first step is to inform your customers about the products and services you offer. Try to do it in an objective way, simply explain what your products do and who can benefit from them. That is not always obvious, especially for new customers, so you have to “teach” your customers about your products. Here, an email newsletter with information and tips about your products can be an excellent way to do this. You can add links to your website for more detailed information or a PDF document with a product presentation.

Remember, the first step is about informing, not selling. Provide your contact details so customers can get in touch with you if they need more information or want to order something.

Market with email
The next step is to promote and market your products with the help of email. It requires a long-term perspective.The goal is to highlight the benefits that your products offer and to strengthen your brand and company name towards your customers.

A newsletter sent by email is an excellent method to do so. You can complete your newsletter with a targeted email promotion, primarily aimed at those who have shown some interest in your products before. You will achieve the best results if you adjust your targeted email promotion for every customer group. Your goal is to make your readers curious to seek more information or to contact you, even though they won’t be buying directly. Make them click on to your website where you can highlight the benefits of your products even more.

Sell with email
The ultimate goal is selling. So how do you optimize your sales letters and get your customers to buy directly? Well, it won’t work without the first two steps. Your customers need to have a good knowledge of your products and the benefits they offer. If you have done your homework with the first two steps, now it’s time to strike. Send a sales email and aim for a direct purchase decision. Don’t forget to make it as easy as possible for your customers to order.

2. Optimize your email marketing costs
Costs are of great importance for any business and email marketing in no exception. You need to face the question how much money and time you can invest in your email marketing. Here comes the big advantage of email marketing compared to other marketing forms; its low costs. Email dispatch is free and newsletter creation cost is totally up to you. With a good email marketing tool you can achieve impressive results with no need for spending hours on it.

Well designed newsletter templates give you the possibility to quickly create your own professionally looking newsletters at low costs. Moreover, you can easily customize them after your needs. A newsletter template created by a web consultant exactly the way you want it can also be a good investment. A well made newsletter template is easy to reuse by replacing images and text every time you need a new newsletter.

3. Make sure to have correct email addresses
E-mail addresses change frequently so you need to update your mailing list regularly. A good tip that makes a difference is to use personal email addresses such as “john.smith@samlogic.com” instead of “info@samlogic.com“. It increases the chance of getting your email to the right person. Last but not least, avoid email duplicates. Getting the same email several times can be very annoying. Use an email program that finds and eliminates the duplicates for you.

4. Best timing for your email dispatch
Time your email dispatch so that your customers can read your newsletter undisturbed. The best timing for receiving emails for B2B (business to business) clients is within office hours. E-mails sent on weekends and at night most likely disappear in the email overload popping up every morning in your customers’ inbox. Monday mornings are extra overwhelming so try to avoid them.

Mondays in general are not the best days for sending out newsletters due to heavy work load. Fridays’ dispatches on the other hand should be done in the morning as Friday is often a shorter workday.

Plan international dispatches to foreign customers in other time zones so that they are received during office hours. An email program/service with an automatic build-in email dispatch at a predefined time can help you with this (i.e. you can choose an exact time for your email dispatch or set a specific time zone for every contact).

5. Marketing emails and newsletters frequency
Sending out marketing emails too often puts you at risk of making your customers tired of it and signing out from it, or even blocking you as a sender. To avoid this, don’t send your emails to the same customer too often. On the other hand, too sporadic email dispatches may be a cause of missing an important business opportunity. The key is to find a balance for your email dispatches. A regular monthly newsletter completed with emails with more detailed information about new products plus an annual email promotion can be an appropriate email marketing strategy.

It is difficult to set a general email marketing periodicity since the recommendation varies from branch to branch. For branches with quick development and constant changes it is important to receive fresh news frequently. Less frequent email dispatches are more appropriate for branches with slower innovation pace. To achieve the best results, combine email marketing with other forms of marketing channels such as Facebook and Twitter.

See also these articles
> How to create a newsletter that increase sales
> Free Newsletter Templates for Email Marketing
> Sending Newsletters via E-mail (21 Advantages)