473,606 Members | 2,818 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 1828
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******** ********@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

Jun 29 '08 #2
Hi Adam

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

Regards
Steve

"SneeKeeFah k" <NO****@DONTSPA M.comwrote in message
news:91******** *************** ***********@mic rosoft.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******** ********@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


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******** ********@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
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****@microsof t.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
2551
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 can tell there is no way to add a short cut that is not in the Shortcut enum. I have my on keyboard hook so I am not worried about the custom shortcut magically working. I just want it to appear nicely formated on the menu. Anyone have any...
0
2760
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 key which is also a shortcut it doesn´t work and the menuitem-clickevent will be performed.
4
4403
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 shortcut to my program/utility (2) Entry in Windows' Start --> Program Menu. Actually in my VB.Net solution I have two projects (1) MYPROGRAM (2) MYPROGRAM_INSTALLER. MYPROGRAM is a "Windows Application". MYPROGRAM_INSTALLER is a "SetUp Wizard"...
3
2152
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 shortcut placed in the Start Menu doesn't work. I've noticed that the shortcut is strange. Unlike a normal shortcut, I can't see the command it is supposed to issue. This makes it very difficult to debug the problem. Furthermore, I suspect that...
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 Menu" configuration a "Shortcut" is created and pointing to the client EXE-file. The created msi-file, NETProgram.msi, works perfectly on the clients. A Start Menu shortcut is correctly created in "C:\Documents and Settings\All
0
2264
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 application once it has been installed. I have added a condition to the User's Desktop named "DESKTOPSHORTCUT" (I have used several names, this is just the latest). In the User interface, I have added a screen with a checkbox that asks the user...
2
2768
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 in contains no spaces. For example; d:\src\app\app.py If I drag that to the Start Menu it can be executed fine.
3
3848
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 install the .exe program and drop the shortcut on the Today folder. The problem is that the shortcut icon doesn't show up on the Today List (the main screen) after the CAB file is installed. When I checked on the Today folder, the shortcut is...
2
2825
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 shortcut to a file using command line arguments, smth like: "C:\PATH\MyFile.exe" /param1 The problem is that when I create a shortcut the regular slash that comes before param1 changes to backslash. I checked it in the
0
8045
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8467
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8462
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8320
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6803
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4011
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2458
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 we have to send another system
1
1574
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1315
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.