Solved

VB.net self updating single exe application

Posted on 2007-04-10
9
864 Views
Last Modified: 2008-01-09
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.
0
Comment
Question by:Rowdyone52
  • 5
  • 4
9 Comments
 
LVL 67

Accepted Solution

by:
sirbounty earned 500 total points
Comment Utility
What version of vb.net?
Have you considered using ClickOnce? http://visualbasic.about.com/b/a/235537.htm
0
 

Author Comment

by:Rowdyone52
Comment Utility
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?
0
 

Author Comment

by:Rowdyone52
Comment Utility
Oh, and to answer your question I am using Visual Studio 2005
0
 
LVL 67

Expert Comment

by:sirbounty
Comment Utility
What's in the details when it crashes?
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:Rowdyone52
Comment Utility
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?
0
 
LVL 67

Expert Comment

by:sirbounty
Comment Utility
How are you looking to customize it?
0
 

Author Comment

by:Rowdyone52
Comment Utility
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.
0
 
LVL 67

Expert Comment

by:sirbounty
Comment Utility
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...
0
 
LVL 67

Expert Comment

by:sirbounty
Comment Utility
Happy to help - thanx for the grade! :^)
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now