473,379 Members | 1,255 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Installed shortcut starts windows installer

Hi,

I developed a .NET 3.5 WinForms application in Visual Studio 2008 SP1. I use Visual studio to create the installer. From the moment I compiled my installer with the newest VS2008 I have a weird problem. The installer creates an icon on the desktop to start the application. Now sometimes and I can't find when, in stead of running the application it asks for the original msi installer. If I start the application by doubleclicking the exe in the Program Files directory the application works fine. Untill now I have only seen this problem on Vista computers. I guess it must have something to do with the contents of the shortcut that is created on the desktop, since I see all kind of reference to installer files in there when I open it in a text editor.

Does anybody know what is going on?

Thank you very much for your help!

Erik
Oct 15 '08 #1
1 1427
OuTCasT
374 256MB
When creating the setup project for your application.
In the filestystem of the setup project you will find, Desktop and Program files.
in your application folder you have to create a shortcut to the primary output od your application which is the .exe. then u drag it to the desktop folder in the filesystem.
Oct 16 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Brian Henry | last post by:
This is just wierd... if I go to the MSDN web site and try to view an article like this... http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemwebhttpbrowsercapabilitiesclasstopic.asp ...
5
by: Thomas Miller | last post by:
I am deploying some software. I want the installer (wise, installshield, or whatever you reccommend) to smartly analyze the users computer and look to see if the .net framework is installed. If it...
2
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...
1
by: BuddyWork | last post by:
Hello, When a particular user (has administrator rights) on a Windows 2000 Server SP4 tries to run any MSI's we get the message mentioned in the subject. If we logon with another user that has...
5
by: DraguVaso | last post by:
Hi, I want my appliation to Run a Shortcut on my Desktop. This should be done regardless the fact if the Shortcut is in the All Users\Desktop or MyProfile\Desktop and regardless the version of...
2
by: MJB | last post by:
I'm using Visual Studio 2005 and I have built an msi using the built in setup project. My application installs fine, but on install the application itself runs a few configuration scripts which...
1
by: Pieter | last post by:
Hi, Two VB.NET Windows Forms (2.0) applications had the same behaviour when they were run the first time by a user: after clicking on the shortcut, the location of the MSI-file is asked, and a...
3
MTEXX
by: MTEXX | last post by:
I have used the Windows Service template to create, well, a Windows Service. It starts, stops, pauses etc. Works great. I added an Setup project. It builds an .msi (and .exe) file. I thought I...
2
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.