Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How can i make a shortcut at the desktop with InstallShield for VC++!!!!

Posted on 2003-02-22
3
Medium Priority
?
1,758 Views
Last Modified: 2013-11-20
i want for my program to make a shortcut in the desktop
and to make a gruoup in the start menu

I winclude this code to the script of the installshield
but it does not work well.

  ProgDefGroupType ( COMMON );
  CreateProgramFolder ( "Sakis" );
  AddFolderIcon ( FOLDER_PROGRAMS , "Sakis" , "C:\\Program Files\\Sakis\\Sakis.EXE" , "" ,
                 "C:\\Program Files\\Sakis\\Sakis.EXE" , 0 , "" , RUN_MAXIMIZED );

I need a answer quickly....

Thanks a lot for listening........
;-)


Thanks fot listening
0
Comment
Question by:xxtigerxx
3 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 7998772
The key API for making and managing desktop shortcuts is the IShellLink COM interface exported by the Windows SHELL.

A good example is:

http://www.codeproject.com/shell/desktopshortcut.asp
0
 

Expert Comment

by:vjayaprasen
ID: 8005920
instead of writing code in the install shield,u can achieve this in install shield wizard.
When start to make a project in install shield it'll ask u to create a shortcut on desktop & also putting the items in start menu.It's a user interactive method in install shield.
0
 

Accepted Solution

by:
xxxtigerxxx earned 600 total points
ID: 8671845
it very simple..

from the folder of the installshiled just make a shortcut.. but be carefull you must put the right folder TARGET DIR

you can also make a folder in the program group....
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question