Configuración de la parte del usuario

Navigation:  Control de las actualizaciones >

Configuración de la parte del usuario

Previous pageReturn to chapter overviewNext page

If you do NOT want users to update from publisher’s web site, you can publish your own QDV, which may include your own files using the QDV Publishing Tool; refer to Setting up Publishing Tool.

On the user site, tell the application which address should be used for updates. QDV7 provides two different methods for this purpose:

Placing a file named QDVUpdateAddress.inf to QDV7 installation directory, with an address as first row

Writing a key to the LOCAL_MACHINE section.

 

warning Such a file has always precedence over a key: with this file, QDV7 doesn’t read the key.

 

When you use QDV Publishing Tool, using a file is a good an easy solution because you can deploy this file directly through the tool by installing it in the application directory of the "template application" machine.

 

Using a File

Create a text file named QDVUpdateAddress.inf with, in its very first line, the web address, e.g.: http://www.mydomain.com/myaddress

This address must be the root address used in the Publishing Tool. Refer to Setting up Publishing Tool.

You can force the user to update the software, so that the user cannot cancel the operation: as a consequence, s/he cannot run a software which is not in line with the version on the server. For this purpose, add a second line:

http://www.mydomain.com/myaddress

USERMUSTUPGRADE

 

Using a Registry Key

In HKEY_LOCAL_MACHINE\SOFTWARE\QDV\MAIN,

create a string value named UpdateAddress and place in it the root address as it is referenced by the QDV Publishing application.

 

registryaddress

 

To force the user to update the software (as detailed above), add a second string named UserMustUpgrade and give it the value YES.

 

warning Do not to alter any other key of this section.

 

Result

In the File>Help menu, a line is appended to the Updates section as follows:

 

UpdateMessageWAddress

When the address is not provided to the registry key, QDV7 searches for the publisher’s website and nothing is displayed here.