PDA

View Full Version : Creating Shortcut Keys for Desktop Icons.


casman
06-06-2002, 08:15 AM
Hello all.

In my setup project, I have included a file that has a shortcut to it installed on the desktop, as part of the installation. Under the file's properties, I can nominate the commandline arguments and the working directory required, but I cannot find anywhere to nominate a default shortkut key.

Once installed, I can always give instructions to the User to right-click on the desktop shortcut, and enter a shortcut key combination, however, I would like to create a default one if possible.

Any advice would be much appreciated.

Regards, Chris.

Ethics
06-06-2002, 12:25 PM
Have you though about using a VBScript to do this? I had to add a task to the task scheduler, and VBScripting turned out to be the only way to do it... just run the vbs file from your setup program.

casman
06-12-2002, 06:34 PM
Thanks for the info.

I ended up creating a Winbatch executable and running it after the install. The script prompts the User for a Key and then the script updates the Desktop Shortcut with Keyboard Shortcut.

Regards, Chris.