wodAppUpdate Object
    
 
Description

wodAppUpdate Class


Object Model






Remarks

wodAppUpdate component is used to allow your application quickly and easily update itself with latest version, from information found on any kind of WEB or FTP server that you provide.

Update is done is 3 steps - which can be as simple as calling methods

Check
Download
Update

but you also have full control over what's updated. Each of these methods provide with some information (such as collection of all Files available on the server) you can also inspect and change from the application before calling new method. Full process can be hidden, or you can let wodAppUpdate show progress window during download.

wodAppUpdate can be also used to provide "admin messages" to your users. You can prepare message and store them on the server, and your application can show them (whenever you want) to the user.




Members
Methods
About Shows aboutbox.
Cancel Cancels current download or update.
Check Checks for new updates.
Clear Clears any downloaded files.
Download Downloads update from the server.
Reset Resets component to initial state.
RestartApp Restarts your application.
Update Updates downloaded files.

Properties
AutoRestart Read-write property Determines if wodAppUpdate should restart application after update is made.
Blocking Read-write property Determines if methods are blocking.
CmdAfter Read-write property Command to execute after files are replaced.
CmdBefore Read-write property Command to execute before files are replaced.
CmdLine Read-write property Holds command line of currently running exe.
DebugFile Read-write property Name of the file where debug data from update process will be saved.
DialogNoteText Read-write property Holds text shown at the bottom of the progress dialog.
DialogNoteURL Read-write property Points to URL if user clicks on dialog note.
DialogText Read-write property Holds text shown on the dialog box.
Files Read-only property Returns reference to collection of files available on the server.
ForceRestart Read-write property Determines if application restart is forced.
GlobalTerminate Read-write property Determines if wodAppUpdate should kill other processes that lock your file.
Login Read-write property Holds login information.
Messages Read-only property Returns reference to collection of messages available on the server.
Notification Read-write property Fast notification interface to use instead of events.
Password Read-write property Holds password information.
PrevExist Read-only property Returns True if files from previous session are found.
ProxyHostname Read-write property Hostname of remote proxy.
ProxyLogin Read-write property Login/Username for remote proxy.
ProxyPassword Read-write property Password for remote proxy.
ProxyPort Read-write property Port on remote proxy.
ProxyType Read-write property Type of proxy used.
ReplaceRule Read-write property Determines file replace rules.
RequireAdmin Read-write property Determines if admin privileges are required.
ServiceIsRunning Read-only property Returns True if updater service is running.
Signature Read-write property Determines configuration file signature.
State Read-only property Holds current state.
StateText Read-only property Holds text description of the state.
Timeout Read-write property Timeout value, in seconds.
UpdaterName Read-write property Holds name of updater EXE file.
UpdaterTimeout Read-write property Timeout value for updater to wait for processes to die.
URL Read-write property Holds full URL to configuration page.
URLHandler Read-write property External object that will handle resource retrieval.
UserIsAdmin Read-only property Returns True if current process has administrator privileges.
Version Read-write property Holds component version information.
Visible Read-write property Determines if progress window is show while downloading.
WinVersion Read-only property Returns version of Windows currently running.

Events
CheckDone Fires when component has finished checking for new updates.
CloseApp Fires when application needs to be closed.
DownloadDone Fires when component finishes downloading all files.
FileDone Fires when component finishes downloading file.
FileProgress Fires during file download.
FileStart Fires when component starts downloading file.
PrevDetected Fires when component detects new files from previous run.
ReplaceInConfig Fires when component finds "" tags in config file.
StateChange Fires when component changes its state.
UpdateDone Fires when updating is done.