desktop-shortcut

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

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 i...

How to remove a desktop shortcut by Innosetup

How can I remove a desktop shortcut by Innosetup? It's created by previous version and not needed anymore. I tried delete it in [InstallDelete] [InstallDelete] Type: files; Name: {userdesktop}\Shortcut Name and delete the file in "ssInstall" of CurStepChanged event handler DeleteFile(ExpandConstant('{userdesktop}\Shortcut Name')); ...

Desktop shortcut to restart a windows service

Is it possible to create a windows desktop shortcut that will restart a windows service? I'd like a button to restart my apache service after I have made changes to the config file. ...

Creating a Desktop Shortcut Using a Web Page

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 th...

Add application shortcut to programs menu and desktop for Vista OS and above for C# windows application

I have created a setup package using Visual Studio and in normal way for adding shortcut to programs menu and desktop, however in Vista , the application shortcut does not appear in the program menu or in the desktop. It works fine in XP. Thanks in advance. ...

JNLP desktop shortcut creation with Windows 7 : "cannot create shortcut"

Hi, we have an Java application deployed with Java Web Start (JNLP) that does a desktop shortcut. One client has issue with Windows 7 : in the end of startup/installation there is a message "cannot create shortcut". With our own Windows 7 machine we don't have problems and unfortunately we don't have much details yet. But if somebody...

Create a Desktop Shortcut to an existing FOLDER using WiX

I have the need to create a Desktop Shortcut to an existing FOLDER (NOT to a file) using Wix. To elaborate more, my installer program has a CustomAction program written using C# associated with it. This CustomAction program creates a folder named "BSS" of which the path is selected by user. C:\ProgramData\MT\BSS Now I need to place a ...

How to create a desktop shortcut to a website with website logo as icon?

Hi I need a solution which allows users to create a desktop shortcut to a website, preferably with website logo as shortcut icon. There are ways users can create shortcut such as drag drop favicon or right click > create new shortcut etc. This works but also creates the shortcut with default IE icon on windows. I am trying to avoid th...

WiX 3 driving me crazy - trying to create desktop shortcut

I have an app that is being installed with WiX 3 - most of the install works fine by now, but trying to get the desktop shortcut to work seems to cost me my mind... I have my app being installed and I already have a shortcut on the Start Menu folder - works just fine. But how do I get the desktop shortcut up and running? <Product Id="*...

Java WebStart JNLP: Run Different Code in First Run

Hi, We are using WebStart JNLP file to create a shortcut on our users` desktop. The problem is that we would like the code in our jar file to be launched only when the user press the desktop shortcut. However, Java WebStart executes the jar also on the first launch (when we set the desktop icon). Is there any way we can set the icon w...

Can I create a custom desktop icon for a shortcut in ClickOnce Deployment?

My application creates a shortcut on the user's desktop with a standard icon. How can I change the icon to something custom? I'm using VS2008 with .NET 3.5. Thank you. ...