spark
Posts: 19
Joined: Tue May 16, 2006 5:06 am
Location: Austria

Regarding UPDATER

HI,
I have added an updater .exe using the New attached custom action in the commit in the cutom actions in project details .. I have choosen
'Synchronous execution , ignore return code' as the Execution properties...'Deferred' as Execution options and 'Always Execute' as the scheduling options... But the thing was what to specify in the command line box... I have inserted the reference in the command line (File Refernce as'[#updater.exe]. ... and it doesnt work .. It was showing me the Error Command line ... I have also build it by adding the Folder refernce also....Can anyone help me what are the essential parameters that have to specified in the command line arguments... What i have to specify in the 'Insert Refernce to a windows installer property' and what i have to do with the 'Edit custom Action parameters'....

Regards
Spark
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
I have added an updater .exe using the New attached custom action in the commit in the cutom actions in project details .. I have choosen
The updater.exe is added automatically in the "Files And Folder" page when you tick the "Enable Advanced Updater" checkbox in the "Updater" page. You don't need to use "New attached custom action" since the updater.exe is already in the package so use "New installed custom action" instead of "New attached custom action". For what "Command Line" parameters to use please follow this link: http://www.advancedinstaller.com/user-g ... dater.html

Regards,
Gigi
________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
spark
Posts: 19
Joined: Tue May 16, 2006 5:06 am
Location: Austria

Hi gigi,
I had modified all the installer updater requirements according to the terms what u had specified in the post..

But the thing was that previously it would automatically show the installer wizard. But now it is not showing the installation Wizard.. It is now showing that please wait while the windows configures......Then when it completes it is showing some Error in the ini file ...Actually i have not added any ini ..


The Error was some thing like there is no ; in the first line of the file ...

Could anyone please update me on this ... As i need it

Regards
Spark
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,

1. The Updater tool is included in your package by selecting "Enable Advanced Updater" checkbox in the Updater page. In the "Updates URL" field enter the URL of a valid updates configuration file. This file will reside on your webserver and will be downloaded each time the Updater is invoked to check for updates.

To test whether this URL is accessible, try to open it with a regular web browser.


2. The second step is to properly configure the updates configuration file that resides at this URL.

Please see the following page for example updates configuration files:
http://advancedinstaller.com/user-guide ... mples.html

The structure of the updates configuration file is specified here:
http://advancedinstaller.com/user-guide ... ation.html

Note that the configuration file must specify a criteria to determine if the update is already installed on the target computer or not. This criteria can be a file installed on the computer or a key in the registry. In other words, your "updates.ini" file must specify the "FilePath" or "RegistryKey" keys, one of which is compulsory.


3. In order to check for updates, the Updater must be launched. This can be done from your application (in the WM_TIMER message handler or a WM_COMMAND message handler, for example) or via a shortcut (if your package does not contain any executable programs).

See the following page for available command line options:
http://advancedinstaller.com/user-guide/updater.html

An example program (written in C++ and using ATL) for integrating the Updater is provided here:
http://advancedinstaller.com/user-guide/qa-updater.html


For a tutorial, see this pages:
http://advancedinstaller.com/user-guide ... dater.html
http://advancedinstaller.com/user-guide ... -file.html

Hope this helps.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”