remove publish?

Zexor

Well-known member
Joined
Nov 28, 2008
Messages
520
Programming Experience
3-5
after i put a installation folder url and publish, why cant i remove it again? app doesnt seem to update if i cange the url too.

can i move the project folder and the app still be able to get update?
 
When you publish the app, the URL you put in tells that version what URL to look at for the next version. If you want to publish to a different location then you will need to publish once and specify the new location, but upload that version to the old location. The existing app will look to the old location and download the new version. That new version now knows to look to the new location for the next version.
 
Thats what i did, the app saw the update and try to update but the old version opens. And if i hit update again, it try again and reopen to old version again. hmm but if i exit and restart, it updates... wonder why

VB.NET:
If My.Application.IsNetworkDeployed AndAlso My.Application.Deployment.CheckForUpdate Then
             NotifyIcon1.ShowBalloonTip(10, "Update", "Updating Application...", ToolTipIcon.Info)
              My.Settings.Save()
               Application.DoEvents()

                My.Application.Deployment.Update()

                System.Windows.Forms.Application.Restart()
End If
 
Back
Top