Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VB.net self updating single exe application

Posted on 2007-04-10
9
Medium Priority
?
884 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 67

Accepted Solution

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

Author Comment

by:Rowdyone52
ID: 18882028
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
ID: 18882458
Oh, and to answer your question I am using Visual Studio 2005
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 67

Expert Comment

by:sirbounty
ID: 18883481
What's in the details when it crashes?
0
 

Author Comment

by:Rowdyone52
ID: 18883704
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
ID: 18883786
How are you looking to customize it?
0
 

Author Comment

by:Rowdyone52
ID: 18883818
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
ID: 18884631
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
ID: 19043605
Happy to help - thanx for the grade! :^)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

705 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