![]() The end result was this:Īgain, not what I was expecting to happen. I copied the Eclipse Process Framework, Eclipse Luna, and Eclipse Mars shortcuts into this folder. I went to %appdata%\Microsoft\Windows\Start Menu\Programs (where the Eclipse Process Framework and Eclipse Luna shortcuts are located) and made a new folder called Eclipse. I've tried the advice posted in the answers - putting the shortcut to the executable in the %appdata%\Microsoft\Windows\Start Menu\Programs and C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ directories, yet no success getting the desired result. ![]() The three obvious solutions don't appear to give me what I want.Īs of 7 Sept 2015, I'm running Windows 10.1 Build 10240 and I still have this issue. I want it to appear in the section on the left, where Dia, Eclipse Luna, and other apps are listed. I don't want the Eclipse icon in the section on the right. However, the result was identical to right clicking and pinning to the start menu - not what I want. I made a shortcut on the desktop to the application and then copied that shortcut into %appdata%/Microsoft/Windows/Start Menu/Programs: I then found this question here on Super User and follow that instructions. I then tried to pin the application to the start menu using the right click menu. When I do that in Windows 10, I get an icon that indicates that I can't drop it there (there's a red circle with a slash through it). What I've done in the past is to right click on this file, create a shortcut, and drag it into the start menu's All Programs section and it lives there. I don't see a way to make that happen.Īfter I extract the ZIP, one of the files is eclipse.exe. However, I also like a shortcut in the start menu. Eclipse is distributed as a ZIP file, so I unzipped it into a directory in C:\Program Files like I've done for past versions of Eclipse. The following snippet adds a reference to the shortcut component, and should be inserted inside a parent Feature element.I just added the latest version of the Eclipse IDE to my computer. Step 3: Tell Windows Installer to install the shortcut Īfter defining the directory structure and listing the shortcuts to package into the installer, the last step is to tell Windows Installer to actually install the shortcut. For more information on creating registry entries see How To: Write a registry entry during installation. This is required as a Shortcut cannot serve as the KeyPath for a component when installing non-advertised shortcuts for the current users. The second creates a registry entry on install that indicates the application is installed. The first is a RemoveFolder element, which ensures the ApplicationProgramsFolder is correctly removed from the Start Menu when the user uninstalls the application. In addition to creating the shortcut the component contains two other important pieces. To set an optional icon for the shortcut you need to first include the icon in your installer using the Icon element, then reference it using the Icon attribute on the Shortcut element. The WorkingDirectory attribute sets the working directory for the shortcut. Notice how it references the full path using the syntax where myapplication.exe was previously defined. The Target attribute points to the executable to launch on disk. The description is an optional attribute for an additional application description. The Name attribute is the text that will be displayed in the Start Menu. The Id attribute is a unique id for the shortcut. The first element is Shortcut and it creates the actual shortcut in the Start Menu. Underneath the DirectoryRef is a single Component to group the elements used to install the Shortcut. ![]() By referencing the ApplicationProgramsFolder directory the shortcut will be installed into the user's Start Menu inside the My Application Name folder. The DirectoryRef element is used to refer to the directory structure created in step 1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |