Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Setup and deployment project Shortcut creating problem

Setup and deployment project Shortcut creating problem

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestionsysadminworkspace
7 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ranojay
    wrote on last edited by
    #1

    Hi Facing a problem friends.... plz help I have a windows application with several executable and Dll's, and I am trying to make an installer to packge them all together and generate a Setup program. For this I am using Setup and Deployment project of MSVC 2005. The Installer I am making is working perfectly except It cannot create a desktop shortcut Icon and add a shortcut to the users program menu. The project has an option to select the short cut, but it only allows you to select the folder where the shorcut is and not the executable file for which you want to make the shortcut How do I select the executable file for which I want to make adesktop short cut and Icon ? :confused: Thanx in advance Plz Help

    M 1 Reply Last reply
    0
    • R Ranojay

      Hi Facing a problem friends.... plz help I have a windows application with several executable and Dll's, and I am trying to make an installer to packge them all together and generate a Setup program. For this I am using Setup and Deployment project of MSVC 2005. The Installer I am making is working perfectly except It cannot create a desktop shortcut Icon and add a shortcut to the users program menu. The project has an option to select the short cut, but it only allows you to select the folder where the shorcut is and not the executable file for which you want to make the shortcut How do I select the executable file for which I want to make adesktop short cut and Icon ? :confused: Thanx in advance Plz Help

      M Offline
      M Offline
      Madhu Nair 0
      wrote on last edited by
      #2

      Ranojay wrote:

      How do I select the executable file for which I want to make a desktop short cut and Icon ?

      By all means click on any such folder, you may see exes and other stuff! If you can't find any in Application Folder, first select your exes and dlls to File System of Setup project. Then do the following steps. 1. Open File System 2. Select User's Desktop 3. Left click on left pane 4. Click on Create Shortcut ... 5. Look in : File System on Target Machine you can see some folders listed as Application Folder System Folder etc Click on the folder. 6. Select the EXE for shortcut.

      R 1 Reply Last reply
      0
      • M Madhu Nair 0

        Ranojay wrote:

        How do I select the executable file for which I want to make a desktop short cut and Icon ?

        By all means click on any such folder, you may see exes and other stuff! If you can't find any in Application Folder, first select your exes and dlls to File System of Setup project. Then do the following steps. 1. Open File System 2. Select User's Desktop 3. Left click on left pane 4. Click on Create Shortcut ... 5. Look in : File System on Target Machine you can see some folders listed as Application Folder System Folder etc Click on the folder. 6. Select the EXE for shortcut.

        R Offline
        R Offline
        Ranojay
        wrote on last edited by
        #3

        Thanks a lot friend.....can u be more specific.. I can do the steps u have mentioned but not these steps 5. Look in : File System on Target Machine you can see some folders listed as Application Folder System Folder etc Click on the folder. 6. Select the EXE for shortcut In my case, after clicking on the create shortcut ... I see the shortcut and the aproperty window... where I cannot select any file as executable...It only gives you the option to browse through folders. I mean I have the shortcut but how do I make it link to the executable file. I am using MSVC 2005 thanks again

        M 1 Reply Last reply
        0
        • R Ranojay

          Thanks a lot friend.....can u be more specific.. I can do the steps u have mentioned but not these steps 5. Look in : File System on Target Machine you can see some folders listed as Application Folder System Folder etc Click on the folder. 6. Select the EXE for shortcut In my case, after clicking on the create shortcut ... I see the shortcut and the aproperty window... where I cannot select any file as executable...It only gives you the option to browse through folders. I mean I have the shortcut but how do I make it link to the executable file. I am using MSVC 2005 thanks again

          M Offline
          M Offline
          Madhu Nair 0
          wrote on last edited by
          #4

          Ranojay wrote:

          I see the shortcut and the aproperty window... where I cannot select any file as executable.

          Let me confirm your actions; You clicked on User's Desktop icon at the left pane/splitter window of File System tab, to pop-up a submenu and clicked on Create Shortcut on User's Desktop. The result was a new entry, named something like Shortcut to User's Desktop on the right pane/splitter. Is that right ? If so, you just set the Target property of the new shortcut with your desired file name. (No need to specify the folder) - any way am not that much sure about this way. I will give you another fool proof way. Just click User's Desktop, the right pane might be empty now. Click on the right pane so that you get a pop-menu like the one you seen in the previous steps. Select Create New Shortcut , the result will be a File Open Dialog (Step 5 on previous post) and continue the other steps which I described in previous post. :thumbsup: If this one doesn't worked, tell me your personal e-mail id, I will send the screen shots. (I don't know whether I can upload a zip file to Codeproject)

          R 1 Reply Last reply
          0
          • M Madhu Nair 0

            Ranojay wrote:

            I see the shortcut and the aproperty window... where I cannot select any file as executable.

            Let me confirm your actions; You clicked on User's Desktop icon at the left pane/splitter window of File System tab, to pop-up a submenu and clicked on Create Shortcut on User's Desktop. The result was a new entry, named something like Shortcut to User's Desktop on the right pane/splitter. Is that right ? If so, you just set the Target property of the new shortcut with your desired file name. (No need to specify the folder) - any way am not that much sure about this way. I will give you another fool proof way. Just click User's Desktop, the right pane might be empty now. Click on the right pane so that you get a pop-menu like the one you seen in the previous steps. Select Create New Shortcut , the result will be a File Open Dialog (Step 5 on previous post) and continue the other steps which I described in previous post. :thumbsup: If this one doesn't worked, tell me your personal e-mail id, I will send the screen shots. (I don't know whether I can upload a zip file to Codeproject)

            R Offline
            R Offline
            Ranojay
            wrote on last edited by
            #5

            It works but ... The Icon cannot launch the executable, actually I have a "Bin" folder under application folder where I keep the Binaries... I can select the executable from it..but in the runtime it does'nt serve the purpose and all the file stays even after uninstalltion ... how to deal with that .... here is my email id sen_ranojay@email.com any suggestion and help invited thanks a lot :)

            M 1 Reply Last reply
            0
            • R Ranojay

              It works but ... The Icon cannot launch the executable, actually I have a "Bin" folder under application folder where I keep the Binaries... I can select the executable from it..but in the runtime it does'nt serve the purpose and all the file stays even after uninstalltion ... how to deal with that .... here is my email id sen_ranojay@email.com any suggestion and help invited thanks a lot :)

              M Offline
              M Offline
              Madhu Nair 0
              wrote on last edited by
              #6

              Ranojay wrote:

              I can select the executable from it..but in the runtime it does'nt serve the purpose

              :confused: You can select the exes but they are not installed ?

              Ranojay wrote:

              and all the file stays even after uninstalltion ... how to deal with that ....

              :confused::confused::confused: How can you un-install the files which you failed to install ?

              R 1 Reply Last reply
              0
              • M Madhu Nair 0

                Ranojay wrote:

                I can select the executable from it..but in the runtime it does'nt serve the purpose

                :confused: You can select the exes but they are not installed ?

                Ranojay wrote:

                and all the file stays even after uninstalltion ... how to deal with that ....

                :confused::confused::confused: How can you un-install the files which you failed to install ?

                R Offline
                R Offline
                Ranojay
                wrote on last edited by
                #7

                I can Install... I mean I can copy the files and folder on to users system but not prperly. the system is not working perfectly... The user icons are not geting created and ...start menu entries are not added properly... but it surely creates the files and folderd I want to create on users system... and deletion of the files is also not working... Half working ...half not :confused: what to do ...I need the proper steps for creating an installer prperly ;)

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups