CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2000
    Posts
    6

    Adding Icon to Deployment Package

    Can someone tell me how to put a desktop icon for an application into the Deployment Wizard package for the app? Obviously, it has to deal with the possibility that the user will install the package somewhere other than the default install location.
    Thanks in advance.
    Dave



  2. #2
    Join Date
    Jul 1999
    Posts
    84

    Re: Adding Icon to Deployment Package

    Hello,

    I donot know about the deployment wizard application, but the following is the function that we use in Installshield. May be it will help you or give you some idea.

    AddFolderIcon (szProgramFolder, szItemName, szCommandLine, szWorkingDir, szIconPath, nIcon, szShortCutKey, nFlag);

    szProgramFolder--Specifies the name of the folder to which to add the icon. It should be the path for Desktop folder.

    szItemName--Specifies the name of the icon to add to the folder.

    szCommandLine--specifies the path of the executable.

    szWorkingDir--Specifies the directory where the application's program files are located.

    szIconPath--Specifies the fully qualified filename of the icon to display

    nIcon can be 0

    szShortCutKey--Specifies the shortcut key (in the form of a string) that allows the end user to start the application quickly.

    nFlag--Specifies icon appearance






    Thanks
    Harini

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured