Click on cancel button on wodAppUpdate window (General questions)
How to get back the click on the button Cancel on wodAppUpdate window. ?
In the process of FileDone Event I have not the error code 30004 (i have 0)
I succeeded by testing with Fileprogress event and by comparing the values of Position and Total but I think that it is not an ideal solution
Re: Click on cancel button on wodAppUpdate window
Hi TP,
I'm not sure what exactly you mean. You don't get an error when you click the cancel?
If so, can you check DownloadDone event? Does it contain error?
Regards,
Damba
Re: Click on cancel button on wodAppUpdate window
Hi,
I would like to know when the user clicked the button Cancel during a download of exe to avoid updating it and restarting it while he is not complete
It seemed to me nevertheless that before I had the code error 30004 in the event Filedone
DownloadDone event does not contain code error:
Thanks
Re: Click on cancel button on wodAppUpdate window
Hi TP,
Would you please be so kind to download the latest version and try it out?
I managed to duplicate this behaviour in the meantime, and it should now be fixed.
Regards,
Damba
Re: Click on cancel button on wodAppUpdate window
Hi TP,
Would you please be so kind to download the latest version and try it out?
I managed to duplicate this behaviour in the meantime, and it should now be fixed.
Regards,
Damba
Yes !!!
With version 1.4.4 event DownloadDone contains the error 30404
Now I have to watch updating how my 2000 users!-o))
But it should go!
Congratulations!
Thanks
Re: Click on cancel button on wodAppUpdate window
I wanted to say error 30004 and not 30404 !
Re: Click on cancel button on wodAppUpdate window
Hi TP,
Would you please be so kind to download the latest version and try it out?
I managed to duplicate this behaviour in the meantime, and it should now be fixed.
Regards,
DambaYes !!!
With version 1.4.4 event DownloadDone contains the error 30404
Now I have to watch updating how my 2000 users!-o))
But it should go!Congratulations!
Thanks
Hi ,
After the correction above it seems now that I have in certain cases the code error 30004 wrongly!
In my config file i have
[File]
Name=Aidecons.chm
Date=20090604130600
ModificationDate=20090604130600
URL=ftp://ftp.trot-pedigree.fr/soft/Aidecons.chm
Size=288975
In my debug file i have
Found new [File] definition
Adding file Aidecons.chm
File located at C:Mes Projets 14TROT-PEDIGREEExeAidecons.chm
File Aidecons.chm will be replaced (old version does not exist)
CHECKDONE fired, total new files 3
Downloading file ftp.trot-pedigree.fr, /soft/Aidecons.chm
Download success? YES, was saved to Aidecons.chm
Download done, err=30004
GlobalTerminate 0
File C:DOCUME~1LACROIXLOCALS~1TempWAUE6.tmp ==> C:Mes Projets 14TROT-PEDIGREEExeAidecons.chm
I verified and the size of the file WAUE6.tmp which was downloaded is correct ! It is equal 288975
Where maybe my error to your opinion?
Re: Click on cancel button on wodAppUpdate window
TP,
I just tried to duplicate your problem using our FTP server but unfortunately didn't have luck.
Did you receive error with our samples maybe using in samples only your configuration file?
You mention that you receive 30004 error. Did you click on Cancel button during file download?
Drazen
Re: Click on cancel button on wodAppUpdate window
I believe to have an idea but I would like that you can confirm it to me
At the level of the check method I determine 3 files to update but by program and according to readings of keys of register I hold only one to download
And thus at level filedone I have no error 30004
But for DownloadDone I have this error 30004 because the expected size there was the sum of the size of 3 files
If it is it how I may make?
Because I indeed have to continue to test the code 30004 in DownloadDone for the case of the click on the button Cancel
Re: Click on cancel button on wodAppUpdate window
TP,
I just tried to duplicate your problem using our FTP server but unfortunately didn't have luck.Did you receive error with our samples maybe using in samples only your configuration file?
You mention that you receive 30004 error. Did you click on Cancel button during file download?
Drazen
My server FTP has a login and password !
I add it in my program only so that they do not appear in the config file by adding before the URL ftp: // login:password
And this thanks to you!!!
See Ticket ID 4A3B3B6E
Re: Click on cancel button on wodAppUpdate window
Guy,
I remember you now :)
About your issue I'm not sure that I understand what's wrong here.
When DownloadDone Event is fired you should call there Update Method. If some error occur during files download that error should be received in DownloadDone Event.
I'm not sure why you are mentioning size of files. Can you explain maybe?
Maybe you can send us your code and configuration file to techsupport to better understand your issue.
Drazen
Re: Click on cancel button on wodAppUpdate window
Guy,
I'm not sure why you are mentioning size of files. Can you explain maybe?
Drazen
It is a very good question!
Maybe I did not enough read the manual !
But the size does not allow to check that the downloaded file is correct!
Before the new version of last Saturday all my program worked without problem (except naturally for the cancel button!)
For a long time and with a little more than 2000 users I just had last week a user who exactly had used the cancel button and that's why I had contacted you
When the size in the config file did not correspond to that of the downloaded file I had a code error 30004 in Filedone
But when everything was OK for my files I had not code error
Normal not?
Today with the new version of the ocx and with the same files and the same config file I have the code error 30004 in DownloadDone!
In entry CheckDone
I had NewFiles = 3
For 2 files I put needreplace = 0
for the 3rd ( Aidecons.chm) I put Needreplace = 1
Then I run Download
The file aidecons.chm is downloaded well,
it is indeed in the temporary file indicated by the debug!
But DownloadDone has the code error 30004 positioned wrongly!!!
I believe more and more that it corresponds to an error of the ocx
You are certain that the size used for the check is not the total size of 3 files and not only that of the downloaded file
I have just made a test which confirms it to me almost!
If in entry of CheckDone newfiles is equal to 1 (the aidecons.chm file only ) everything works perfectly!!!
My program is a windev program and thus the code will not be very useful for you!
Re: Click on cancel button on wodAppUpdate window
Guy,
I try to duplicate problem using details from your reply but unfortunately everything is working as expected on my side. I didn't receive error 30004 or any other error.
If you can please send us your configuration file and paste your wodAppUdpate code in some txt file. Maybe that will help us to duplicate your problem.
You can send that information to techsupport@weonlydo.com
Drazen
Re: Click on cancel button on wodAppUpdate window
By reading again the manual I see that I said a stupidity because an error of size it is the code 30010
What what is even more incomprehensible then it is to have this error 30004 which I did not have last week and nevertheless I guarantee you that there was no click on the button Cancel!
By examining a little more the problem The code error 3004 is wrongly positioned when files which have Needreplace = 1 at the beginning of the method CheckDone have Needreplace in 0 at the end of this method
I continue to look
Re: Click on cancel button on wodAppUpdate window
Guy,
I try to duplicate problem using details from your reply but unfortunately everything is working as expected on my side. I didn't receive error 30004 or any other error.If you can please send us your configuration file and paste your wodAppUdpate code in some txt file. Maybe that will help us to duplicate your problem.
You can send that information to techsupport@weonlydo.com
Drazen
I posted my answer without seeing your post last one
For the moment I have to find at first a solution for the users! Because all those who had by the automatic update the new component of the version 1.4 (and they are many) can no more blow download no update
Later I repeat I do not see how my code which is of Windev could be useful and especially understandable to you
I shall inform you
Thanks
Re: Click on cancel button on wodAppUpdate window
Guy,
We will probably understand your code and try to recreate same sample in Visual Basic.
Did you call maybe Cancel Method in your code somewhere?
More help for Cancel Method you can find here:
http://www.weonlydo.com/AppUpdate/Help/wodAppUpdateLib~wodAppUpdate~Cancel.html
I'm asking this because Cancel Method will produce same thing as clicking on Cancel button during update.
Drazen
Re: Click on cancel button on wodAppUpdate window
You are a chief and me stupid!!! [:happy:]
I confirm! It is exactly it !
In fact I found it in the middle of the night but I had no courage To retranslate in English at this moment
I had a test which remained wrongly when just I studied the impact of this method further to the found problem with the click on the button Cancel!
What is very useful it is that even in case the download is aborted further to the error 30004 the users receive nevertheless the messages of the config file what so allowed me to contact them to tell them to go to download exceptionally the correction of program on the site! [:smile:]
Thank you for your ability to react, your patience and your skill [:smile:]
Guy