473,326 Members | 2,136 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,326 software developers and data experts.

Desktop icon behaviour (deployment question)

When I first deployed my project, I set up the File System>User's Desktop to
display a shortcut to MyProgam.exe

When install completed from setup.exe the shortcut was there, and selecting
it started MyProgram.

No problems.

I have since been editing various things, and in the latest build (I don't
have any idea what I might have changed), but now after install completes
and the shortcut is placed on the desktop, the first time you click it, runs
MyProgam.

Any time you click it after that, instead of starting MyProgam it reRuns the
Install routine.
A progress bar appears and it says preparing to install files.

Any Idea what I might have done wrong. The setup now is:

File System on target machine>users desktop>create new shortcut>(application
folder)primary output(release.net)

Thanx.......joisey
Nov 21 '05 #1
2 1471
Hi,

The setup programs will monitor a program for changes and
automatically repair the installation. I suspect that the installer is
running the second time you click on the shortcut because it is trying to
repair the program you are running. Maybe you are deleting a file that was
installed or it is seeing the wrong version of the program. Hope that
helps.

Ken
------------------
<jo****@mindspring.com> wrote in message
news:OE**************@TK2MSFTNGP09.phx.gbl...
When I first deployed my project, I set up the File System>User's Desktop to
display a shortcut to MyProgam.exe

When install completed from setup.exe the shortcut was there, and selecting
it started MyProgram.

No problems.

I have since been editing various things, and in the latest build (I don't
have any idea what I might have changed), but now after install completes
and the shortcut is placed on the desktop, the first time you click it, runs
MyProgam.

Any time you click it after that, instead of starting MyProgam it reRuns the
Install routine.
A progress bar appears and it says preparing to install files.

Any Idea what I might have done wrong. The setup now is:

File System on target machine>users desktop>create new shortcut>(application
folder)primary output(release.net)

Thanx.......joisey

Nov 21 '05 #2
Ken, you found the problem right away!

I had introduced a dummy file which gets erased on first run!
When the program runs, it need to know if there is a fresh installation.
Uninstall removes all files except the . ini file which is added after
install.
I can work it out from here.
thanx.......joisey

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:OA**************@TK2MSFTNGP12.phx.gbl...
Hi,

The setup programs will monitor a program for changes and
automatically repair the installation. I suspect that the installer is
running the second time you click on the shortcut because it is trying to
repair the program you are running. Maybe you are deleting a file that
was
installed or it is seeing the wrong version of the program. Hope that
helps.

Ken
------------------
<jo****@mindspring.com> wrote in message
news:OE**************@TK2MSFTNGP09.phx.gbl...
When I first deployed my project, I set up the File System>User's Desktop
to
display a shortcut to MyProgam.exe

When install completed from setup.exe the shortcut was there, and
selecting
it started MyProgram.

No problems.

I have since been editing various things, and in the latest build (I don't
have any idea what I might have changed), but now after install completes
and the shortcut is placed on the desktop, the first time you click it,
runs
MyProgam.

Any time you click it after that, instead of starting MyProgam it reRuns
the
Install routine.
A progress bar appears and it says preparing to install files.

Any Idea what I might have done wrong. The setup now is:

File System on target machine>users desktop>create new
shortcut>(application
folder)primary output(release.net)

Thanx.......joisey

Nov 21 '05 #3

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

Similar topics

5
by: Eskimo Joe | last post by:
I am trying to create a desktop icon using VB6. is this possible? -p
22
by: owen | last post by:
I have been developing web-based applications for around 3 years, first using ASP, and more recently, ASP.NET. I am starting to wonder if web applications are really the way forward for...
4
by: NaterPotater | last post by:
I can't seem to get my head around the Visual Studio's Deployment Projects: I want the user, at install-time, to be able to specify if they want a icon placed on the desktop or not (I'm trying to...
2
by: Dickyb | last post by:
Extracting an Icon and Placing It On The Desktop (C# Language) I constructed a suite of programs in C++ several years ago that handle my financial portfolio, and now I have converted them to...
10
by: Doug Bell | last post by:
Hi Can someone tell me how you set the Icon that is visible in the Windows "Add/Remove Programs" Utility. I am trying to deploy a VB Dot Net Application and have its Icon display there rather...
3
by: Michael D. Murphy | last post by:
Hi, I am searching for a way to creat desktop shortcuts when running the setup files that were created within a VB solution using the setup wizard. Thanks, Michael
1
by: QBuildPete | last post by:
VB5 setup used to create the application icon on the desktop. I can't find anywhere in the VB6 deployment wizard where I can do this. Can anybody help please.
0
by: Steve | last post by:
After installing my application (which I developed using Visual Studio 2005) on a target desktop, the desktop icon shows the icon that is assigned to the application exe - which is what I want. ...
1
by: laredotornado | last post by:
Hi, When I save out an HTML file to my desktop (I'm using Windows XP), it saves with the Firefox icon, presumably because I have Firefox as the default application to open my HTML files. Is it...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.