desktop-shortcut

How to define the website screen shortcut icon?

不想你离开。 提交于 2019-12-02 17:40:49
I can't find how to make Android use a custom icon (e.g. the favicon or the app-touch image that iOS uses) for a website shortcut. Can you give me a hint? Android uses a home screen image AND a "Shortcut icon" (like favicon). If you only specify the home screen icon, the web page will not display an icon next to the URL in the web browser. The "shortcut icon" must be listed separately, even though it can be the same file. <link rel="shortcut icon" href="http://yourdomain.com/path/icon57.png" /> <link rel="apple-touch-icon" href="http://yourdomain.com/path/icon57.png" /> <link rel="apple-touch

Deploy a Desktop Shortcut to a Device running Windows CE 4.2 (VS2005)

社会主义新天地 提交于 2019-11-30 00:50:12
I have an application written using VS2005 in C# targeting the Compact Framework 2.0 SP2. As part of the solution, I have CAB deploy project which deploys to the device without a problem. What I can't do is create a shortcut to my application on the devices desktop. I have spent several hours reading various bits of documentation (why is the search at the MSDN site so bad?), followed the instructions but no joy. What I've done is: Add the "Windows Folder" node to the File System Created a folder underneath that named "Desktop" Created a shortcut to the Applications Primary Output and placed

How do I manipulate the icon for an existing desktop shortcut using Win32?

爱⌒轻易说出口 提交于 2019-11-29 15:53:19
I want to be able to get the current .ico file being used for a shortcut and then change it to a different .ico file temporarily. I was planning on parsing the .lnk files manually, but I thought I might ask for an easier way here first. Use the IShellLink interface. Here are examples from MSDN: Shell Links // CreateLink - Uses the Shell's IShellLink and IPersistFile interfaces // to create and store a shortcut to the specified object. // // Returns the result of calling the member functions of the interfaces. // // Parameters: // lpszPathObj - Address of a buffer that contains the path of the

Inno Setup Create individual shortcuts on all desktops of all users

孤街醉人 提交于 2019-11-29 11:22:30
I'm creating a shortcut on users Desktop with Inno Setup: Name: "{commondesktop}\Setup"; Filename: "{app}\Setup.exe"; WorkingDir: "{pf}\Program"; IconFilename: "{app}\Setup.ico" But users, with no admin rights, cannot delete this Shortcut, how to grant permissions to regular users, to delete this icon? Icon should be created on every user's desktop, but user should have permission to delete it. The {commondesktop} shortcut is shared on a common desktop . So there's only one copy of the shortcut. If you allow the users to delete, when one user deletes the icon, it's deleted for every other user

Creating a Desktop Shortcut Using a Web Page

故事扮演 提交于 2019-11-29 10:58:14
I am trying to create something on a webpage that allows my users to create a desktop shortcut. Because my users are NOT technically savvy, I would like to avoid having them try to drag and drop. Is there a way that I could create a button on a webpage (either using JavaScript or .Net) that automatically creates a desktop shortcut for the user?¡ Easy way: Using what the browsers offer In Firefox, dragging & dropping a link to the desktop creates a shortcut in Windows 7. I'm sure all or most major browsers can do this on most platforms. Just point your users to the right direction, maybe by

Inno Setup desktop shortcut (link) which has “Run as administrator” advanced property set

狂风中的少年 提交于 2019-11-29 08:56:20
I am struggling to get Inno setup (5.5.9u) to created a desktop shortcut that has an icon and has the advanced property of "Run as administrator" set. Issue This question, is a little different than: How to set 'Run as administrator' on a file using Inno Setup Since what I am trying to do is not run a program at setup time with admin rights, (setup is already running at Admin), but rather leave a link on the desktop that has has the advanced property of "Run as Administrator" . Code Sample [Icons] Name: "{group}\EGPL Watson Uninstall"; Filename: "{uninstallexe}"; WorkingDir: "{app}" Name: "

.bashrc not read when shell script is invoked from desktop shortcut

寵の児 提交于 2019-11-29 02:23:34
I have a simple problem understanding a behavior in linux. In short, on linux if i invoke my sh script from a 'Desktop Shortcut' then the script cannot see the latest environment variables (set in bashrc). So i was wondering that in what scope is this shell script located ? To create a testcase and reproduce: Create a simple shell script 'testme.sh' : !/bin/sh echo "Hi This is a test script checking the env var"; echo "TESTVAR = $TESTVAR"; read in echo "Done"; create a desktop shortcut for the script above. cd ~/Desktop vi mytest-desktop.desktop //Contents for mytest-desktop.desktop are :

Wrong desktop shortcut icon on Windows 7 (Inno Setup)

不想你离开。 提交于 2019-11-28 18:20:48
I have created an installer with Inno Setup. The icon used for the desktop shortcut and start menu is embeded in the application executable. When the installer was initially created, I didn't have the final product icon from the design team. I used a temporary icon instead as I completed the installer. Everything worked as it should until I changed the icon for the final one. Now the desktop shortcut and start menu icons always display the old icon even though everywhere else the icon is correct. This is the Icon declaration section of the script. [Icons] Name: {group}\{#MyAppName}; Filename:

Setting correct icon for Shortcut in VS2010 Setup Project

江枫思渺然 提交于 2019-11-28 13:18:54
I have a small app with a setup project. If I create a shortcut to my Primary Output, then this gets a standard Win7 icon and not the icon specified in my exe's Application Icon? Whats the best way to make sure my desktop shortcut icon is the same icon as my exe? e.g. If I change the exe's icon then I'd like the Setup icon to change as well. If you set the icon for the shortcut you can set a primary output as source. In the file system editor of the setup project, click on the "(Icon)" combobox in the properties pane of the shortcut, then option "(Browse...)", button "Browse...". You'll see

How to create a Run As Administrator shortcut using Powershell

情到浓时终转凉″ 提交于 2019-11-28 09:53:06
In my PowerShell script, I create a shortcut to a .exe (using something similar to the answer from this question ): $WshShell = New-Object -comObject WScript.Shell $Shortcut = $WshShell.CreateShortcut("$Home\Desktop\ColorPix.lnk") $Shortcut.TargetPath = "C:\Program Files (x86)\ColorPix\ColorPix.exe" $Shortcut.Save() Now, when I create the shortcut, how do I add to the script to make it default to running as Administrator? Jan Chrbolka This answer is a PowerShell translation of an excellent answer to this question How can I use JScript to create a shortcut that uses "Run as Administrator" . In