![]() The following snippet adds a reference to the shortcut component, and should be inserted inside a parent Feature element. ![]() 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. The Start menu actually grabs shortcuts from two different places. 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. What do you like to pin to your start screen? Leave a comment below, we’d love to hear from you.The DirectoryRef element is used to refer to the directory structure created in step 1. Now your bookmark will appear on your start screen for easy access! When it appears, right click on it and select Pin to Start. In the search field enter the name of the bookmark you created. I was also aware of the propkey.h header file, although I'm noticing substantial differences between the one that you are pointing out and the one from the SDK in my local drive. If a program has not initially placed icons on the desktop, typically you would find the program in the start menu, then drag a copy of the shortcut onto the desktop. That is the simple task of placing program icons on the desktop. I should have had mentioned in the question that I waded through (almost) the whole MSDN. There is a small but annoying issue with Windows 8, that myself, and friends are complaining about. Now go to your windows 8 start screen and select the search function at the upper right. Thanks a lot for the comment, SimonMournier. Once you have the programs folder open, drag your newly created bookmark into that folder. (If you don’t have a start menu check out this post which will show you how to add a start menu to Windows 8, it will make your life a lot easier!) In windows explorer open the following folders:Ĭ > Program Data > Microsoft > Windows > Start Menu > Programs Next, open windows explorer from your start menu or by clicking the windows button and E at the same time. Name your bookmark by right-clicking on it and selecting rename. First of all right-click on the file which you want to pin to Start Screen and select Create shortcut option to create a shortcut of the file. This will create a bookmark to your website on your desktop. Next, click on the paper icon next to the web address in Chrome and drag it over to your desktop. Then make your Chrome window small so you can see the desktop behind it. Open Google Chrome and go to the website you want to bookmark. ![]() If you’re a Mozilla Firefox user be sure to check out our post which describes how to add a Mozilla Firefox bookmark to your windows 8 start screen.Īdd a Google Chrome Bookmark to your Windows 8 Start Screen There is, however, a workaround which we’ll show you below. Previous versions of Google Chrome had a function to add a bookmark to the start screen, but newer versions of Chrome no longer have this capability. In our last post we showed you how to add an Internet Explorer bookmark to your Windows 8 start menu. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |