Windows Installer Icon

Posted on by
  • Windows installer folder is mostly missing and MS app icons too This problem started simply with My Office apps and WL apps having generic program icons rather than specific. Investigation led to the fact that the icon file was 'not found'.
  • After your install is complete, verify it by opening Anaconda Navigator, a program that is included with Anaconda: from your Windows Start menu, select the shortcut Anaconda Navigator from the Recently added or by typing “Anaconda Navigator”. If Navigator opens, you have successfully installed Anaconda.
  • I've been trying to install a few things, and they all stop because of an 'installation in progress'. I've been through a few threads, and I was lead to Windows Installer, but whenever I try to cancel it, it just won't go away, and the Startup Type is greyed out when I try to disable it.
  • The icon you are asking about is managed by Windows Installer and can't be changed. It is a default icon assigned to all MSI packages by the OS. You can change the default icon for all MSI packages in the system registry, but this is most likely not what you're trying to do. Share improve this answer.

Download all the installer icons you need. Choose between 61 installer icons in both vector SVG and PNG format. Related icons include package icons, file icons, software icons, install icons. 9 Installation of the JDK and the JRE on Microsoft Windows Platforms. The Microsoft Windows Installer (MSI) Enterprise JRE Installer is also available, which enables you to install the JRE across your enterprise. Start the JRE 9 Installer by double-clicking the installer's icon or file name in the download location.

Active2 months ago

I hate auto-created desktop shortcut icons, but some folk seem to think that unless your installer clutters up your desktop, it hasn't worked correctly!

Are there definite guidelines on this for Windows , or is it wholly personal choice?

(Having a 'Leave clutter on my desktop?' checkbox in the installer is one option, but to my mind, that's just put MORE clutter into the installer..

RoddyRoddy
47.1k35 gold badges148 silver badges246 bronze badges

closed as primarily opinion-based by user3956566.Aug 7 at 10:24

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.

5 Answers

From here: https://docs.microsoft.com/en-us/windows/win32/uxguide/winenv-desktop

If your users are very likely to use your program frequently, provide an option during setup to put a program shortcut on the desktop. Most programs won't be used frequently enough to warrant offering this option.

Present the option unselected by default. Requiring users to select the option is important because once undesired icons are on the desktop, many users are reluctant to remove them. This can lead to unnecessary desktop clutter.

If users select the option, provide only a single program shortcut. If your product consists of multiple programs, provide a shortcut only to the main program.

Put only program shortcuts on the desktop. Don't put the actual program or other types of files.

Roddy
47.1k35 gold badges148 silver badges246 bronze badges
Matt HamiltonMatt Hamilton
171k57 gold badges365 silver badges309 bronze badges

My take is this: the installer must ask me if I want a desktop icon - to which I can reply yes or no.

Any app that just blindly and without asking installs its icon on my desktop is a bad installation in my opinion.

Ask for permission - if I deem your app important enough to me personally, I might say yes (but most likely I won't). Give your users a choice - don't just assume since it's your app, it's so darn important to everyone that everyone will want to clutter up their desktop with your program icon.

The same goes for the installation directory - unless you have a very good technical reason why you can't install anywhere, allow me to change the program's installation target directory. Not everyone is a big fan of the 'c:program files' folder hierarchy (I'm not, for one - I like to keep my apps in C:bin for instance).

So in general: any decent installer should ASK the user installing for these things and present sensible defaults - but always give me the option to change the settings to my liking (to my standards).

marc_sInstaller icone windows 10marc_s
607k138 gold badges1160 silver badges1292 bronze badges
Windows Installer Icon

I don't know of any meaningful guidelines, other than your conscience. As a programmer, I sympathize: I don't want icons on my desktop, either :-) However, having watched non-technical family members struggle with installing software and then trying to run it, I think it's worth noting that

Windows Installer Msi Icon

1) There are more non-techies than techies2) Techies can cope with checkboxes on installers

Based on that, I usually go for having a checkbox on the installer for creating icons, which defaults to on. I don't mind anything other than the 'always create icons' approach. (I'm looking at you, Adobe.)

DavidKDavidK
3,5591 gold badge14 silver badges25 bronze badges

I think that depends on what you see your client doing with the app, the level of the client's expertise with computers and how frequently you see him using it.

  1. If the client is not very well versed with computers he would prefer to have the icon on the desktop where he can access it. If you target market is experienced users you don't need to bother because he can make the icon himself if he wants it.

  2. If the application is for daily frequent use like a web browser the client would want it on his desktop for quick access.

Finally the decision rests on you. If you're being obnoxious you can create 4 icons on the desktop (I've seen apps that do that).

I don't think asking for permission is a bad idea. After all the installation needs to be done only once and it's just one checkbox to tick.

Cyril GuptaCyril Gupta
9,85911 gold badges57 silver badges79 bronze badges

I've no particular love for desktop (or quick launch) shortcut icons either, but I think that you should still give your users the option in the installer to install neither, one or both of these shortcuts.

Depending on how computer literate your users are (if it's possible to determine this) you can default the two options to either enabled or disabled accordingly.

Richard LucasRichard Lucas
5401 gold badge3 silver badges14 bronze badges

Not the answer you're looking for? Browse other questions tagged windowsinstallerdesktopicons or ask your own question.

3 Nov 2014CPOL
In this article I would like to explain a step by step process to create a windows application and a setup installer for the same in a very simple manner, that is easy to understand and follow knowing that there are a number of other ways to do the same thing.

Introduction

There are number of ways provided by Microsoft to create a setup project for windows application.

But when I started to create one, I got nothing but queries and confusions of how to start and where to start. There are numerous articles I found explaining to create a setup project, but some did not work, and some did not have a live example to follow.

The driving force for me to write this article is my QC team, who accept the main application for testing, and who also verified my setup installer with their 100% effort. And guess what, they successfully found bugs in that too.

In this article I would like to explain a step by step process to create a windows application and a setup installer for the same in a very simple manner, that is easy to understand and follow knowing that there are a number of other ways to do the same thing.

Start the Show

First, let’s create a simple one form windows application, with only a text box and a button.

Creating a windows application is just for the sake of having one to install.

I gave the name CreatingInstaller to my windows application, obviously you can choose your own.

Adding a new Windows Form Application in my solution and adding a text box and button to the default form resulted in the figure as shown below. Decorate the control properties however you want.

Just wanted to write few lines of code, so I binded the button’s click event to show text box's text

Primary Objective

So far so good. Now let’s create an installer for the same windows application. Right click on the solution and add a new project to your solution like in following figure:

And add a setup project by Other project Types->Setup and Deployment->Visual Studio Installer

The project will be added to the solution. Now open the file system editor by clicking on the project and select the option to open file system editor, like in below figure:

You'll get to see Application Folder, User’s Desktop and User’s Program Menu.

Right click on Application Folder and add an output project. Out project specifies the project we are creating an installer to, like in the following figure:

Select CreatingInstaller (i.e. the windows application project name) in the add output project window and select it as a primary output as shown below and click OK.

The Primary output will be added as shown below, having type defined as Output.

In the meanwhile, let's add some more functionality to our windows application. Let's read a file and show its output in a message box upon a button click. Therefore, just add a text file. I called it Sample.txt to the bindebugInput folder, input is the custom folder I created to place my txt file.

Write a few lines of code just to read the txt file from the Startup path. In my case bindebug, it could also be binrelease as per the project build, and specify the file folder name and file name to read the content. I chose to keep my txt file at the startup path so that I could explain how we can create files and folders at the time of installation. Now we also need this Input folder and a Sample.txt file at the time of installation to be located at the location of installed application.

For file operations I added the namespace System.IO though it is unnecessary to do so.

Therefore, running the application will show two message boxes, one after the other showing text box text and text from Sample.txt file.

Now this folder creation logic has to be implemented in our setup project, so that when the application installs, it has all the pre-requisites required to run the application, like the Input folder and the Sample.txt file.

So, right click on Application Folder in File system editor and add a folder. The folder will be created just below the Application Folder, name that folder Input.

Right-click on folder, select properties, and mark the Always Create property to True. That means the folder will always be created whenever we run the installer, after a fresh build release.

Create Shortcuts

You can decorate your form to add an icon to it, and that icon will also be required at the time of installation to create a shotcut icon to our application. Add an icon to the form like in below mentioned figure:

Time to add the Sample.txt file. Right click the Input folder created and Add file to it, browse for the Sample.txt file in the Windows Application project we created earlier.

To create a shortcut to the application, right click on Primary output in middle window pane and select Create shortcut to Primary output, name that shortcut as CreatingInstaller.

Select the properties of the shortcut, by right clicking it and add an icon to it. This icon will be created on the desktop when the application launches. The below figures explain how to add an icon.

Cut the shortcut created at Application Folder and Paste it under User’s Desktop Folder.

For shortcuts to be created at the User’s Program Menu, add a new folder to the User’s Program Menu. This will be created at the program’s menu location in that folder. Create a new shortcut pointing to the primary output as we did when we created a desktop shortcut. The three images below describe the process:

Name the folder CreatingInstaller.

Right click on middle window pane to create a new shortcut.

Select shortcut source to primary output selected.

Also add icon to shortcut, as done for Desktop shortcut.

Right click Application folder to set the properties of where to install the application.

Uninstall

We always have an option to uninstall the application from the control panel’s Programs and Features list, but how about creating our own uninstaller? That is also under the programs menu so we do not have to disturb the control panel.

Windows Installer Icon File Name

Step 1

Right click on File System on target Machine and Add Special Folder->System Folder as shown in below figure.

Step 2

Right click on the newly created system folder and browse for the msiexec.exe file in the local System.Windows32 folder. This file takes responsibility to install and uninstall the application based on certain parameters specified.

Set the properties of the file exactly as shown in the figure:

Step 3

Now create a new shortcut under the User’s program Menu and point its source to msiexec as shown below. You can add more icons and a name to your shortcut. I have given it the name 'Uninstall.'

Step 4

Press F4 key by selecting the setup project. We see a list of properties, which we can customize as per out installation needs, like Product name, Author, Installation location. I’ll not go into a deep discussion about all of this, as they are quite easy to understand and set.

Just take a note of the product code shown below in the list of properties. We would need product code as a parameter to msiexec for uninstallation.

Step 5

Right click the Uninstall shortcut and set the arguments property as shown in below figure:

You can get the whole detailed list of parameters and their use at http://technet.microsoft.com/en-us/library/cc759262(v=ws.10).aspx. Chose whichever one you like.

Step 6

Save all and Rebuild the setup project.

Job Done!

Now our setup is ready to install our windows application.

Just browse the debug folder location of Setup project. We find an msi and a setup.exe. You can run either to initiate setup.

When we started we saw a setup wizard with screens that welcomed the user, asked for the location to install (while the default location was already set.)

After completing the wizard, click the close button.

Now that the job is done we can see our shortcuts to the application created at desktop and User’s Program Menu like in below given figure.

Now if we navigate out to the installation location we can also see the Input folder created and the Sample.txt file resting inside it.

Run the application and see the output.

Click on uninstall to remove the application. The wizard launches as shown below:

Custom Actions

Just wanted to give a glimpse of Custom Actions we can define, while creating the setup.

Custom actions are the actions which contain customized functionality apart from default one at the time of installation and uninstallation. For example, my QC team reported a bug that when running the application while simultaneously in background uninstalling the application, the application still keep on running. As per them it should show a message or close during the uninstallation. It was hard to explain to them the reason for this, so I opted for implementing their desire in the setup project.

  1. Just add an installer class to the windows application we created earlier. When we open the installer class we can see the events specified for each custom action i.e. for Installation, Uninstallation, Rollback, Commit.

My need was to write code for the uninstallation, so I wrote few lines to fulfill the need.

The code contains the logic to find the running EXE name at the time of uninstallation. If it matches my application EXE name, it kills the process. Not going into more details to it.Just want to explain the use of custom actions.

  1. Click on the Custom Actions Editor after selecting the CreatingInstallerSetup project.
  2. We see the custom action editor pane on left window. Right click it to add a custom action and select the primary output in the Application Folder.
  3. We see primary output added as custom actions now. at the time of uninstallation my custom action will be fired and the application will be closed while uninstalling it.

.NET Framework

What if the installation machine does not have a .NET framework? We can specify our own package supplied with installation so that our application does not depend on the .NET framework of the client machine, but points to the package we supplied to it to run.

Right click on Setup project, to open properties window.

Here we can specify pre-requisites for the application to install. Just click on Prerequisites button and in the opened prerequisites window, select the checkbox for the .NET Framework application that needs to follow, and select the radio button at number 2 (i.e. Download prerequisites from the same location as my application.) Press OK, but save the project and re-build it.

Now when we browse the Debug folder of the Setup project we see two more folders as a result of the actions we performed just now.

Now this whole package has to be supplied to the client machine for the installation of the application.

Now re-install the application from setup.exe, and launch it using shortcuts.

Conclusion

The tutorial covers the basic steps for creating the installation project. I did not go very deep explaining the registry or license agreements though. There are many things to be explored to understand and master this topic. However, this article was just a start for a developer to play around with setup and deployments. Happy Coding!

Mar 12, 2017  Counter Strike Go – Amateur project in which developers have tried to port one of the most popular shooters in the world on our android device. It’s worth noting that it’s pretty good for them, and although the build is still raw and constantly supplemented, it already has a lot of different functions, settings, and even skin skins. Nov 26, 2015  Download GLOBAL-OFFENSIVE.COM (CS:GO) apk 2.6 for Android. GLOBAL-OFFENSIVE.COM is the biggest website about CS:GO in germany. Cs go apk download.