report designer manual - 15.smartupdate

Upload: euelvis1045

Post on 06-Jul-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/16/2019 Report designer Manual - 15.SmartUpdate

    1/3

    User Manual of Report Designer Smart Update

    1. Introduct ion

    With previous “Cabinet File” download, it is required to improve two problems. Firstly, when it

    takes a long time to download, your system seems not to be operated properly. Secondly,

    every file should be downloaded through “Cab file”, even in case updating one file. Report

    Designer Smart Update has neither problem. But, in Report Designer Smart Update, only each

    of updated files is compressed/ transmitted according to a file version in Report Designer OCX

    Viewer, and also shows downloading status precisely.

    2. Contents

    SmartUpdate.dll …………… Download program.

    3. Usage

    If you input “URL” of “information file which should be downloaded in “InfoFile”, the properties

    of a product, it is possible to read information on files and download necessary files only.

    1) Creating Information File

    Information File is divided into two sections, [Common] section and [File_#] section.

    [Common] section has “Overall Information” and [File_#] section has file information on each

    file. If necessary, not only “Report Designer OCX viewer file” but also file information

    regarding “Tee Chart” and “Tee Chart” can be added.

    (1) [Common] Section

    ① FileNum : The total number of files to be downloaded.

    (2) [File_#] Section

    # :① Index for each of files starting from 1(consecutive numbers)

    ② clsid : clsid for files to be registered in Registry. (can be omitted, without “clsid” for a

    file.)

    ③ FilePath : URL address in which each file can be downloaded (supporting “relative

    path”)

    ④ FileVersion : A version of each file(in case of a file not to have version information, it

    can be cancelled)

  • 8/16/2019 Report designer Manual - 15.SmartUpdate

    2/3

    ⑤ DestDir : A folder in which files will be installed

    10: Windows folder ex) c:\winnt

    11: System folder ex) c:\winnt\system32

    [Example : Information File for “ File connection” document] 

    [Common]

    FileNum=15

    // input dll file information for each DBs used by mrd document.

    [File_1]

    FilePath=./su50/rdfilex50.dll.su

    FileVersion=5.0u.0.127

    DestDir=11

    [File_2]

    FilePath=./su50/rdagentx50.dll.su

    FileVersion=5.0u.0.127

    DestDir=11

    // In case of using “save PDF” in mrd document, input file information for saving PDF.

    [File_3]

    FilePath=./su50/PDFExport20.dll.su

    FileVersion=2.0.0.11

    DestDir=11

    // In case of using “TeeChart” in mrd document, input file information for printing a chart.

    [File_4]

    FilePath=./su50/TeeChart7.ocx.su

    clsid={FAB9B41C-87D6-474D-AB7E-F07D78F2422E}

    FileVersion=7.0.0.5

    DestDir=11

    ( The rest is omitted ) 

  • 8/16/2019 Report designer Manual - 15.SmartUpdate

    3/3

     

    2) Create HTML Page

    (1)Input the followings into HTML page by using tag.

     

    (2) Properties to be provided

    ① InfoFile : URL of a file that has Version Information on the file to be installed.

    (supporting relative path)

    ② WndTitle : Title of download Dialog can be set as a desired string.

    ③ WndMsg : The Message of Download Dialog should be sat as desire string.

    ④ HideMsg : Hide MessageBox.

    (0: Show All, 1: Hide Completed Message, 2: Hide Completed Message and

    Error Message)

    ⑤ WriteLogFile  : Record installation information of each file into the Log

    File(c:\RD_SmartUpdate.log). (0: do not recoding log, 1: recoding log)

    4. Cautions

    ①  After 1,0,0,9 version, file name supplies not only the full path that includes http but also

    relative path that is based on ini file path. In case of using a relative path, the relative

    path is start with ‘.’, In case of a file is located at the same location as a basic path, it is

    an exception.

    ② Both of ‘.’and ‘,’ are supplied as separator of a file version, but never use both of them

    together.

    ③ In case own version does not exist (such as *.ini, *.tlb and etc.), it can not come at the

    first place of download list.

    ④  As installation is executed by a list of file index, pay attention to the order of files. In

    addition, you had better enter RD OCX Viewer file in the bottom of the list.