shortcut problem

S

Steve

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
 
S

SneeKeeFahk

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
 
S

Steve

Hi Adam

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

Regards
Steve
 
C

Cor Ligthert[MVP]

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
 
L

Linda Liu[MSFT]

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:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
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/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top