Visual studio 2003 project c#
Setup project added afterwards.
Setup run on a clean VMWare virtual pc appears to do fine.
When I run my application from both desktop icon and in startup folder
straight after the initial install, the application runs.
When i open the application again later, firstly it reinstalls and after
that the application will run.
Something is screwy but I dont know how to find out what's gone wrong.
In my setup project, the desktop icons property point to primary output as
Id expect. Primary output I hope is my application executable.
Any ideas on tracking this down?
Phil Wilson - 18 May 2006 15:13 GMT
Does your running application remove any files or registry entries? If so,
repair is normal - that's the way Windows Installer works.
I never use primary output btw. You don't have to "hope" that it's your
executable. You can just add the exe by browsing to it and adding it.

Signature
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280
> Visual studio 2003 project c#
> Setup project added afterwards.
[quoted text clipped - 11 lines]
>
> Any ideas on tracking this down?
Chukkalove - 18 May 2006 15:29 GMT
I know what's happening.
I copy then delete a file from a subdirectory of the install when my
application is run.
Windows installer sees this deletion and reinstalls it again.
I wasnt aware that the installer monitors the files in the directory, which
is a bit of a nuisance.
I guess there's some way to turn this off but I'm not sure how to do it at
the moment.
thanks all anyway, this had me stumped all morning
Phil Wilson - 18 May 2006 18:49 GMT
Strictly speaking it doesn't monitor the files, but when you use a shortcut
that's when things get checked.

Signature
Phil Wilson [MVP Windows Installer]
----
>I know what's happening.
>
[quoted text clipped - 7 lines]
>
> thanks all anyway, this had me stumped all morning