Commandline Options For Invoking

Top  Previous  Next

When you invoke DcUpdater.exe from your program, you should pass some commandline options:

 

  -show

     show the updater check form immediately

  -shownew

     show the updater check form ONLY if there is an update available

  -check

    start checking immediately

  -nothingexit

     exit if nothing found that needs updating

  -scandir=fulldirpathwithspaces

     scan ONLY the provided directory for .dcupdate files

 

A normally-silent background periodic check for updates would be:

dcupdater.exe -shownew -check -nothingexit "-scandir=C:\Program Files\YourAppDir"

 

Or if user manually requests a check, then show the updater progress and don't exit immediately:

dcupdater.exe -shownew -check -nothingexit "-scandir=C:\Program Files\YourAppDir"