Results 1 to 5 of 5

Thread: [RESOLVED] Shortcuts after Setup will not work

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2007
    Posts
    4

    Resolved [RESOLVED] Shortcuts after Setup will not work

    I use VS2005 / .NET2.0. When I make a Setup Project and include shortcuts (in the File System Editor) on the desktop and in the start menu, the shortcuts will not start the target application itself (after installation on a second computer), but its uninstaller program.

    If I look at the installed shortcuts and look at the "Target" property, I wonder, why there is no reference to the "application.exe" but just "application" - and this property is read-only instead rw.
    Seems to be a bug. I remember it worked in the past....

    In the vdproj file of the setup project, I find the following details:

    ...
    "Shortcut"
    {
    "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_7AE70CA37E57447EBFD5C7DF3FE995F3"
    {
    "Name" = "8:Shortcut to MyApplication.exe"
    "Arguments" = "8:"
    "Description" = "8:"
    "ShowCmd" = "3:1"
    "IconIndex" = "3:0"
    "Transitive" = "11:FALSE"
    "Target" = "8:_1036745A9F714CD9AB6626164AA4EEBD"
    "Folder" = "8:_921D268CB192447EA03F12054637F07A"
    "WorkingFolder" = "8:_AFDAE9D6F8284FB9890444DBFB2CDF8E"
    "Icon" = "8:"
    "Feature" = "8:"
    }

    There were at least 2 other threads handling the same issue, but without a solution. Any idea?

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Shortcuts after Setup will not work

    Moved to Application Deployment

    Welcome to the forums.

    What did you use to create your setup file? ClickOnce?

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 2007
    Posts
    4

    Re: Shortcuts after Setup will not work

    Just the standard VS2005 IDE.

  4. #4

    Thread Starter
    New Member
    Join Date
    Dec 2007
    Posts
    4

    Re: Shortcuts after Setup will not work

    I tried to redo the setup project step by step.

    Everything including shortcuts works fine up to the point, where I use Custom Actions. The Custom Actions I added do their job, but afterwards the shortcut is no longer working....

  5. #5

    Thread Starter
    New Member
    Join Date
    Dec 2007
    Posts
    4

    Re: Shortcuts after Setup will not work

    Solved. Why does MS develop bug-removing-editors instead of working on the bugs...

    http://support.microsoft.com/kb/830612/en-us
    (not completely right: replace target in shortcut with e.g. [TARGETDIR]myapp.exe, then it works)

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