shortcut problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Steve

    shortcut problem

    Hi All

    I have a windows forms application written in VB.net 2005 which places a
    shortcut in All users desktop during installation, using MS setup and
    deployment

    Occasionally when a customer goes to launch the program the installation
    screen appears instead of the program starting

    The strange thing is, if they create a new shortcut to the program .exe
    file, all works properly again

    I am at a loss as to what is causing it, as if any essential file was
    missing then creating a new shortcut would not solve the problem

    Any ideas?

    Regards
    Steve


  • SneeKeeFahk

    #2
    Re: shortcut problem

    How are you creating the shortcut?

    Are you using a Setup & Deployment project or have you written code to add
    the shortcut if so can you post code sample.

    - Adam

    "Steve" <ga630sf@nospam .nospamwrote in message
    news:%23jJ0uGX2 IHA.5564@TK2MSF TNGP06.phx.gbl. ..
    Hi All
    >
    I have a windows forms application written in VB.net 2005 which places a
    shortcut in All users desktop during installation, using MS setup and
    deployment
    >
    Occasionally when a customer goes to launch the program the installation
    screen appears instead of the program starting
    >
    The strange thing is, if they create a new shortcut to the program .exe
    file, all works properly again
    >
    I am at a loss as to what is causing it, as if any essential file was
    missing then creating a new shortcut would not solve the problem
    >
    Any ideas?
    >
    Regards
    Steve
    >
    >

    Comment

    • Steve

      #3
      Re: shortcut problem

      Hi Adam

      I just use the setup and Deployment to create the shortcut under the
      filesystem screen

      Regards
      Steve

      "SneeKeeFah k" <NOSPAM@DONTSPA M.comwrote in message
      news:91DC1B83-096D-4C38-8E15-BC7BBB29F4E9@mi crosoft.com...
      How are you creating the shortcut?
      >
      Are you using a Setup & Deployment project or have you written code to add
      the shortcut if so can you post code sample.
      >
      - Adam
      >
      "Steve" <ga630sf@nospam .nospamwrote in message
      news:%23jJ0uGX2 IHA.5564@TK2MSF TNGP06.phx.gbl. ..
      >Hi All
      >>
      >I have a windows forms application written in VB.net 2005 which places a
      >shortcut in All users desktop during installation, using MS setup and
      >deployment
      >>
      >Occasionally when a customer goes to launch the program the installation
      >screen appears instead of the program starting
      >>
      >The strange thing is, if they create a new shortcut to the program .exe
      >file, all works properly again
      >>
      >I am at a loss as to what is causing it, as if any essential file was
      >missing then creating a new shortcut would not solve the problem
      >>
      >Any ideas?
      >>
      >Regards
      >Steve
      >>
      >>
      >

      Comment

      • Cor Ligthert[MVP]

        #4
        Re: shortcut problem

        Steve,

        In the MS setup there is a checkbox.
        That asks if you want all users or one user setup.

        Are you sure that you does not checked that randomly?

        Cor

        "Steve" <ga630sf@nospam .nospamschreef in bericht
        news:%23jJ0uGX2 IHA.5564@TK2MSF TNGP06.phx.gbl. ..
        Hi All
        >
        I have a windows forms application written in VB.net 2005 which places a
        shortcut in All users desktop during installation, using MS setup and
        deployment
        >
        Occasionally when a customer goes to launch the program the installation
        screen appears instead of the program starting
        >
        The strange thing is, if they create a new shortcut to the program .exe
        file, all works properly again
        >
        I am at a loss as to what is causing it, as if any essential file was
        missing then creating a new shortcut would not solve the problem
        >
        Any ideas?
        >
        Regards
        Steve
        >

        Comment

        • Linda Liu[MSFT]

          #5
          Re: shortcut problem

          Hi Steve,

          The shortcut created by an MSI package is an "advertised " shortcut.
          Although advertised features are associated with the "install on demand"
          scenario, they have another interesting characteristic, which is that they
          verify the correctness of their associated installer components.

          In other words, using the shortcut triggers an automatic repair if the
          components are "broken." For example, if you remove the installed
          executable from its installed location on disk and then use the shortcut,
          you see a Windows Installer dialog that restores the missing file.
          Occasionally when a customer goes to launch the program the installation
          screen appears instead of the program starting

          How does the customer launch the program (double-click the shortcut on the
          desktop or run the program from the installed location directly)?

          In fact, even if the shortcut on the desktop is missing, MSI installer
          won't repair the installation when we run the executable from the
          installation folder directly.

          Hope this helps.
          If you have any question, please feel free to let me know.

          Sincerely,
          Linda Liu
          Microsoft Online Community Support

          Delighting our customers is our #1 priority. We welcome your comments and
          suggestions about how we can improve the support we provide to you. Please
          feel free to let my manager know what you think of the level of service
          provided. You can send feedback directly to my manager at:
          msdnmg@microsof t.com.

          =============== =============== =============== =====
          Get notification to my posts through email? Please refer to
          Gain technical skills through documentation and training, earn certifications and connect with the community

          ications.

          Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
          where an initial response from the community or a Microsoft Support
          Engineer within 1 business day is acceptable. Please note that each follow
          up response may take approximately 2 business days as the support
          professional working with you may need further investigation to reach the
          most efficient resolution. The offering is not appropriate for situations
          that require urgent, real-time or phone-based interactions or complex
          project analysis and dump analysis issues. Issues of this nature are best
          handled working with a dedicated Microsoft Support Engineer by contacting
          Microsoft Customer Support Services (CSS) at
          http://msdn.microsoft.com/subscripti...t/default.aspx.
          =============== =============== =============== =====
          This posting is provided "AS IS" with no warranties, and confers no rights.

          Comment

          Working...