Help setting component (wodAppUpdate)

by Nilton @, (4182 days ago)

Sorry for the mistakes in grammar ... I'm from Brazil and I am trying to implement the wodAppUpdate on my system. I do not understand how to configure the component so that it can check versions on my web server with my local file.

Can anyone help me?

locked

Help setting component

by Jasmine, (4182 days ago) @ Nilton

Hi Nilton,


You can save your configuration file to some local file and load it inside Check Method.

Something like this:
--------------------------------
wodAppUpdate1.Check App.Path & "\config.txt"
--------------------------------

For example you can save this inside config.txt file. This is configuration file from our sample:
--------------------------------
#Update file signature

[File]
Name=UpDemo.dll
Size=53248
URL=http://www.weonlydo.com/AppUpdate/test/UpDemo.dll
Date=20061026192600
MD5=662bf45af0b60e2d83c7c8ebf35545fd
Register=1
Compressed=0
Version=1.0.0.2

[Message]
ID=0
Caption=something
Text=some text
--------------------------------

Let us know how it goes.


Regards,
Drazen

locked

Help setting component

by Nilton @, (4182 days ago) @ Jasmine

I did just that ... But this config.text file refers to the file that is on my web server?

locked

Help setting component

by Jasmine, (4182 days ago) @ Nilton

Nilton,


Where do you want to have that file? On same machine where wodAppUpdate is?


Drazen

locked

Help setting component

by Nilton @, (4182 days ago) @ Jasmine

Exactly, it will be a desktop application that will change some files on it. But these files are in a web server

locked

Help setting component

by Jasmine, (4182 days ago) @ Nilton

Nilton,


Then you need to try code snippet that I sent you in my first reply.

Something like this:
--------------------------------
wodAppUpdate1.Check "c:\config.txt"
--------------------------------


Drazen

locked

Help setting component

by Nilton @, (4182 days ago) @ Jasmine

I do not understand the following:

  This Config.txt file refers to the file that will be on the web (which will be used to upgrade my system)? If I'm doing exactly what I said in the first post.


  And the object properties wodAppUpdate in source code, for example, version? The same is used to compare with the version that is on file Config.txt? Or is he the internal wodAppUpdate?

  I also realized that there is a class named UpdFile, which has several properties that in my testing was not any difference ... These properties me the source code I have to fill out?

locked

Help setting component

by Jasmine, (4182 days ago) @ Nilton

Nilton,


You can put config file on web or you can use it locally. It's on you to decide from where you want to load config file.

wodAppUpdate will compare details inside config file and file on local system which you want to update.

You don't need to use UpdFile if you don't want to. However it's there if you need to change something about update files inside your code.


Drazen

locked

Help setting component

by Niltonniltonb2@gmail.com, (4182 days ago) @ Jasmine

Alright! Did some testing here and it worked!

In HelpOnline see it has several properties such as NewVersion. If I put this property in Config.txt file will automatically identify the component?

locked

Help setting component

by Jasmine, (4182 days ago) @ Niltonniltonb2@gmail.com

Nilton,


Yes it should. Let us know if you find some problem.


Drazen

locked

Help setting component

by Nilton @, (4182 days ago) @ Jasmine

yes speak ...

Another problem I'm experiencing is that when I put the file on the server Config.txt he replies that failed in the signature, and it works perfectly when found locally.

locked

Help setting component

by Nilton @, (4182 days ago) @ Jasmine

I write like this:

#Update file signature

[Global]
AutoRestart=0

[File]
Name=projMaqplanUpdate.exe
UncompressedSize=0
Size=0
Version=2.0
Date=20131126124220
Compressed=0
path=C:/
URL=https://www.dropbox.com/s/myk20cyi73fiifs/projMaqplanUpdate.exe


But it is a txt file and is in dropbox and step the download link. perhaps that is what is wrong

locked

Help setting component

by Jasmine, (4182 days ago) @ Nilton

Nilton,


What happens if you use some other file that isn't on Dropbox?


Drazen

locked

Help setting component

by Nilton @, (4182 days ago) @ Jasmine

When the file is Config.txt site, it can run successfully the update! When I put the same file in DropBox Config.txt it the fault in the signature. Recalling that literally put the txt file in DropBox and I share the link to check the function of your component!

In Config.txt file at the URL, the link step of a Archiving for download which is also in DropBox.

locked

Help setting component

by Jasmine, (4182 days ago) @ Nilton

Nilton,


When you open URL in Dropbox you actually receive webpage where you need to click on download button to download that file.

What happens if you add your config file somewhere where you can open it directly (in browser for example)?


Drazen

locked

Help setting component

by Nilton @, (4182 days ago) @ Jasmine

When you open URL in Dropbox you actually receive webpage where you need to click on download button to download that file.
A: Yes.

What happens if you add your config file somewhere where you can open it directly (in browser for example)?
R: How would I do this option?

locked

Help setting component

by Jasmine, (4182 days ago) @ Nilton

Nilton,


You need to run your server or put it somewhere on Internet from where you can access this file.

Inside our example we use our online configuration file.

You can find it here:
http://www.weonlydo.com/AppUpdate/test/update.php


Drazen

locked