Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / May 2006

Tip: Looking for answers? Try searching our database.

Installer plus application run after installation. Only application should run.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chukkalove - 18 May 2006 12:15 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.