bright, fresh software
Downloads  |  Buy

It does not update file

It does not update file

Postby dcordero » April 11th, 2012, 5:23 pm

I followed the tutorial to allow automaic updates in my windows form app. But wybuild download the update closes de app and it supposed to update the app. But it did not updated. I checked the right files in the proyect and also run the app from the folder I copy the new files and the app in thos folder runs correctly. What am I doing wrong?
dcordero
 

Re: It does not update file

Postby Wyatt » April 11th, 2012, 5:46 pm

Does the wyUpdate window show and does it "do something"? That is, has the update process taken place?

Also, did you follow the step-by-step walkthrough? This covers everything you need to know in an easy to follow way. Don't skip any steps.


My guess is either you're not including the correct files in wyBuild (make sure you include [*]all files[*] for [*]all versions[*] in the version tabs in wyBuild). Also, make sure you're not getting any warning in wyBuild when you build your updates.

Lastly, double click the client.wyc file in the folder you're using to test your app. Does the version in the client.wyc file match the version of your software?
User avatar
Wyatt
Site Admin
 
Posts: 2558
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: It does not update file

Postby dcordero » April 13th, 2012, 3:58 pm

I followed the step-by-step as is it. I copied all the files that are in the release folder then I created the new version. wybuild did not give any warnind and said that everything is ok.
The program detects that there is a new version. The program downloaded the new version and said that you have the last version but the files have not be updated.
dcordero
 

Re: It does not update file

Postby Wyatt » April 13th, 2012, 4:50 pm

Can you send me your wyBuild project file (*.wyp) and the "client.wyc" file you're including with the old version of your app? Send them to wyatt@wyday.com.
User avatar
Wyatt
Site Admin
 
Posts: 2558
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: It does not update file

Postby ibrahimÖ » April 26th, 2012, 11:44 am

Helo,

I have the same problem. the AutomaticUpdater (AutomaticUpdaterWPF.dll v2.6.16) fire the UptoDate Event although there is a new version available ? Via wyUpdate.exe the Update is possible ...
ibrahimÖ
 

Re: It does not update file

Postby Wyatt » April 26th, 2012, 11:48 am

When you double click wyUpdate.exe does it show there are updates available?
User avatar
Wyatt
Site Admin
 
Posts: 2558
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: It does not update file

Postby ibrahimÖ » April 27th, 2012, 12:05 pm

yes, the wyUpdate.exe show that update availabe. The AutomaticUpdater fire Uptodate and UpdateAvailable Event ... in my opinion it's since the update in March. we're using AutomaticUpdater since one year w/o problems ..
ibrahimÖ
 

Re: It does not update file

Postby Sam » April 27th, 2012, 12:15 pm

On the computer where wyUpdate says there are updates available, in your app when you call ForceCheckForUpdates() does it show there are updates available or UpToDate?
User avatar
Sam
 
Posts: 1986
Joined: March 8th, 2010, 3:01 am
Location: New Hampshire

Re: It does not update file

Postby ibrahimÖ » April 27th, 2012, 12:21 pm

the events Available AND UpToDate fire ...
ibrahimÖ
 

Re: It does not update file

Postby Sam » April 27th, 2012, 12:25 pm

It sounds like you have something configured incorrectly -- that shouldn't happen (and doesn't in any of our tests).


  1. Is the AutomaticUpdater on the main form of your application?
  2. Does the main form of your application only get called once? (That is, you're not creating more than one copy of the window within your process)
  3. Are you only using 1 AutomaticUpdater instance in your app?
User avatar
Sam
 
Posts: 1986
Joined: March 8th, 2010, 3:01 am
Location: New Hampshire

Next

Return to wyBuild, wyUpdate, & AutomaticUpdater Support