0% found this document useful (0 votes)
146 views3 pages

Report Designer Manual - 15.SmartUpdate

This document provides instructions for using Report Designer Smart Update to download and install updated files. Smart Update allows individual files to be downloaded as needed rather than entire packages. It creates an information file that lists each file's location, version, and installation folder. This file is used by the Smart Update ActiveX control embedded in a web page to determine what needs updating. The control downloads only the specified files, compressing and tracking their installation. Cautions are provided about file paths, version separators, and installation order.

Uploaded by

euelvis1045
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
146 views3 pages

Report Designer Manual - 15.SmartUpdate

This document provides instructions for using Report Designer Smart Update to download and install updated files. Smart Update allows individual files to be downloaded as needed rather than entire packages. It creates an information file that lists each file's location, version, and installation folder. This file is used by the Smart Update ActiveX control embedded in a web page to determine what needs updating. The control downloads only the specified files, compressing and tracking their installation. Cautions are provided about file paths, version separators, and installation order.

Uploaded by

euelvis1045
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

User Manual of Report Designer Smart Update

1. Introduction
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)

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 )

2) Create HTML Page


(1)Input the followings into HTML page by using <object> tag.
<OBJECT id=SmartUpdate

classid="clsid:F37520B6-4FBE-4814-9022-9AD83EF3E203"

codebase="http://www.m2soft.co.kr/report/SmartUpdate/SmartUpdate.cab#version=1,0,0,9">
<PARAM NAME="InfoFile" VALUE="http://www.m2soft.co.kr/report/SmartUpdate/SmartUpdate50.ini">
</OBJECT>

(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.

You might also like