Desktop icon behaviour (deployment question)

G

Guest

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
 
K

Ken Tucker [MVP]

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
------------------
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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top