Link to home
Start Free TrialLog in
Avatar of Rowdyone52
Rowdyone52

asked on

VB.net self updating single exe application

Experts,

I have written a small vb.net app that maps drives for our remote users.  I have also written some code to allow it to check for an updated version of this exe.  All of this works fine, but is there an easy way to copy the new exe down to the client machine then delete the old one and replace it with the new exe?  I would like for all of this to work without having to use another exe file.
ASKER CERTIFIED SOLUTION
Avatar of sirbounty
sirbounty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rowdyone52
Rowdyone52

ASKER

Acutally everytime I tried to use ClickOnce and publish the application that way it would crash when it actually tried to run the app.  The updating would work but as soon as it tried to open the app it would crash and I would get the screen that asks me to send the error to microsoft.  Also I don't see where I can configure ClickOnce like I can if I just use a deployment project.  Am I missing something?
Oh, and to answer your question I am using Visual Studio 2005
What's in the details when it crashes?
Ok, yesterday it was crashing everytime without fail.  Today I can't seem to make it crash.  So that appears to be working now.  However I still can't customize the install like I can with a Deployment project, or can I?
How are you looking to customize it?
well I would like to change the start menu folders and I would like to add an icon on the desktop.  Also I want the app to check for updates before it actually starts but I don't want that pop up screen showing that it is checking.
Hmm - I don't think 'most' of that's possible using clickonce.
I can think of a way to perhaps get the shortcut on the desktop, but still - not using clickonce.  I, myself, would like to see a solution on some of this...perhaps another expert will chime in...
Happy to help - thanx for the grade! :^)