473,513 Members | 2,319 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Jun 28 '08 #1
4 1819
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" <ga*****@nospam.nospamwrote in message
news:%2****************@TK2MSFTNGP06.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

Jun 29 '08 #2
Hi Adam

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

Regards
Steve

"SneeKeeFahk" <NO****@DONTSPAM.comwrote in message
news:91**********************************@microsof t.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" <ga*****@nospam.nospamwrote in message
news:%2****************@TK2MSFTNGP06.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


Jun 29 '08 #3
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" <ga*****@nospam.nospamschreef in bericht
news:%2****************@TK2MSFTNGP06.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
Jun 29 '08 #4
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:
ms****@microsoft.com.

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

Jun 30 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
2536
by: Lex | last post by:
I am writing a C# app that has a Menu. Some of the menu items will have short cuts that do not exist in the Shortcut enum. I would like the custom shortcuts to appear on the menu but as far as I...
0
2746
by: Marcel | last post by:
Hi, the application I am writing has a MainMenu and a DataGrid (UltraGrid). Now I have to edit the text of each cell in this grid. So far so good. All works fine in editmode but if I press a...
4
4386
by: I_AM_DON_AND_YOU? | last post by:
There is one more problem I am facing but didn't get the solution. In my Setup Program I am not been able to create 2 things (when the program is intalled on the client machine ) : (1) create...
3
2143
by: TC | last post by:
I've written an application using VB.NET 2003 and packaged it with a deployment project. When I use the setup program to install the application, however, it doesn't work. More specifically, the...
4
434
by: Benjamin | last post by:
I have a very strange problem. I have developed a .NET solution. To set up user clients I have also included a "Deployment Project" in the solution: Using "File System Editor | User's Program...
0
2256
by: peter.bittner | last post by:
I have developed a Windows application in Visual Studio .NET 2003 and created a Setup project for it. In the File System Editor I have added a shortcut to the User's Desktop folder to point to the...
2
2763
by: Jorgen Bodde | last post by:
Hi all, This is slightly OT but it drives me nuts. Whenever I create a shortcut in the start menu (in Windows) of a python script, it will only execute it when the path where the script resides...
3
3838
by: jojo41300000 | last post by:
Hi, I am trying to create a shortcut icon on Today in window mobile 5.0. I have a CAB file which will install the program and create the shortcut icon in Today. The CAB file sucessfully...
2
2822
by: Ilya | last post by:
Hi, all! Some weird thing happens... I'm trying to create a shortcut programmatically in C#. I need to create a shortcut with the "target" parameter using slash. Actually I'm creating a...
0
7394
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7123
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7542
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5701
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5100
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3237
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1611
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
811
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
470
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.