473,938 Members | 45,361 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Installed shortcut starts windows installer

1 New Member
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 1452
OuTCasT
374 Contributor
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
1966
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 the Visual Studio .NET Enterprise Archatect 2003 - English setup dialog box pops up starts the installer process for VS.NET and then asks for the VS.NET 2003 cd because it needs to install something and is looking for the file VS_SETUP.MSI that...
5
1566
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 is not installed then download framework and when that is done it will install my software. What installer package will do this the best/most easily. Please give me all options. Especially interested in hearing free ways to do this. Thanks,
2
2538
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
1
3805
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 administrator rights then it works, if we create a new administrator user then it does NOT work, Here is the MSI log, please help as this is causing problems as only 3 users on this box are able to run MSI where are about 15 other users
5
4682
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 Windows (NT, 2000, XP, 2003, ....) (97 also Cor ;-) ). Is there a way to Access the Desktop-object with VB.NET? How should I do this?
2
6786
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 alter the original contents of the directory. The next time you start the application by clicking the shortcut the MSI automatically tries to repair/restore the install back to the out of the box configuration. Any idea how to turn this feature...
1
1224
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 part of the installation is (re)done. What can I do to stop this behaviour? It was isntalled by an adminsitrator-account, for 'Everyone', and should work?
3
6607
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 was almost finished. I uninstalled my service (InstallUtil.exe via a External Tools macro I made- ask about that). I ran the newly created installation program. It indeed installed my service exe using the familiar installer wizard. However...
2
2790
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.
0
9963
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11098
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...
1
11282
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10651
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
9853
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...
1
8209
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7377
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
4442
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3495
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.