안녕하세요?
xml을 통해서 다운로드 하는것이 아니고
Manager컴포넌트에 DownloadFile이라는 메소드가 존재합니다.
이 메소드를 통해 파일 다운로드등의 처리가 가능합니다.
메뉴얼 내용을 아래쪽에 넣어 드립니다.
Manager컴포넌트 1.0.0.6이후에만 사용가능합니다.
그럼 수고하세요.
Manager.DownloadFile
SECTION
Method
SINCE
1.0.0.6
DESCRIPTION
서버로부터 File을 Download 할 때 사용한다..
Download가 완료된 경우 OnDownloadCompleted Event를 발생시키며, 실패시 OnDownloadError Event를 발생시킨다.
(OnUpdateCompleted, OnUpdateError, OnDownloadCompleted, OnDownloadError Event내 에서 사용금지)
SYNTAX
Manager.DownloadFile(str DownloadURL, str LocalFilePath, bool OverWrite);
POSSIBLE VALUES
DownloadURL : 다운로드 할 주소(상대/절대 URL)
LocalFilePath : 다운로드 받을 위치.
OverWrite : 다운받을 파일을 덮어쓸지 설정. (기본값 False, 생략가능)
PARAMETERS
해당없음
RETURN VALUES
해당없음
EXAMPLE
[JavaScript]
<input type=Button value="Update" OnClick="Manager.DownloadFile('./File.dat','C:Temp', TRUE);">
SAMPLE
SEE ALSO
OnDownloadCompleted, OnDownloadError
>게시판을 이용해 주셔서 감사합니다.
>다음양식에 맞게 입력해주세요.
>
>* 고객시스템명 :
>* GAUCE 버전 : 4.0
>* WAS 종류(WebLogic 등등) : weblogic 8.1
>* DB 종류 : oralce 10 g
>* 문의 유형(질문/요청/참조) : 질문
>* 내용 :
>
>기존에 있는 install.xml 은 밑에와 같은 식으로 되어있는데요
>이건 activex 를 다운로드해서 설치하는 xml인데
>파일 다운로드는 여기에 추가해서 사용할 수는 없는건가요?
>아니면 주신 예제처럼 filelist.xml을 만들어 두개를 호출하면 installer가 자동으로 두개의 xml을 참조하여
>파일을 자동 다운로드 시켜주는것인지 ?
>밑에 있는 xml에 엑셀파일 다운로드를 설정하려면 구문이 어떻게 되는지 궁금하네요
>xml사용 구문을 알려주시기 바랍니다 ^^
>
>====================아래=========================================================
><?xml version="1.0" encoding="euc-kr"?>
><ActiveUpdate>
> <Options>
> <UpdateConfirm>No</UpdateConfirm>
> <FinishTimeout>0</FinishTimeout>
> <KillIEConfirm>No</KillIEConfirm>
> <CompletedMessage>설치가 완료 되었습니다.</CompletedMessage>
> <Registration>AfterAllDownload</Registration>
> <UpdateMode>NotSame</UpdateMode>
> <AutoStart>Yes</AutoStart>
> <DisplayMoreInfo ShowMore="No">UpdateOnly</DisplayMoreInfo>
> <OpenPage Mode="Alone">
> <OnCompleted></OnCompleted>
> <OnError></OnError>
> </OpenPage>
> </Options>
> <Update>
> <Component Name="MxDataSet" CLSID="{2506B38B-0FF7-4249-BA3E-8BC1DC399FBB}" CabFile="http://10.134.2.142/ente/DownloadFiles/activeinstall/cabfiles/MxDataSet.cab" Version="1,2,1,27"/>
> <Component Name="MxBinder" CLSID="{4A35BB2C-B831-4199-A486-FEA332D085D9}" CabFile="http://10.134.2.142/ente/DownloadFiles/activeinstall/cabfiles/MxBinder.cab" Version="1,2,1,2"/>
> <Component Name="MxChart" CLSID="{2A99B1B3-E263-4a00-A167-C1B967716DE2}" CabFile="http://10.134.2.142/ente/DownloadFiles/activeinstall/cabfiles/MxChart.cab" Version="1,2,1,4"/>
> <Component Name="MxCombo" CLSID="{D8BCC087-4710-427d-B2E4-A4B93B6EA197}" CabFile="http://10.134.2.142/ente/DownloadFiles/activeinstall/cabfiles/MxCombo.cab" Version="1,2,1,20"/>
> <Component Name="MxFileControl" CLSID="{C722848E-C7EE-4dc6-947E-C2CD49BBA9DE}" CabFile="http://10.134.2.142/ente/DownloadFiles/activeinstall/cabfiles/MxFileControl.cab" Version="1,2,1,1"/>
> <Component Name="MxGrid" CLSID="{EA8B6EE6-3DD8-4534-B4BB-27148CF0042B}" CabFile="http://10.134.2.142/ente/DownloadFiles/activeinstall/cabfiles/MxGrid.cab" Version="1,2,1,129"/>
> <Component Name="MxImageSet" CLSID="{2B0B1D8B-CAAA-4e06-BD9A-A09A916BD67A}" CabFile="http://10.134.2.142/ente/DownloadFiles/activeinstall/cabfiles/MxImageSet.cab" Version="1,2,1,7"/>
> <Component Name="MxLogicalTR" CLSID="{78E24950-4295-43d8-9B1A-1F41CD7130E5}" CabFile="http://10.134.2.142/ente/DownloadFiles/activeinstall/cabfiles/MxLogicalTR.cab" Version="1,2,1,24"/>
> <Component Name="MxMaskEdit" CLSID="{4AEAFD66-8D65-41ac-B1D1-57E7FF2A734F}" CabFile="http://10.134.2.142/ente/DownloadFiles/activeinstall/cabfiles/MxMaskEdit.cab" Version="1,2,1,27"/>
> <Component Name="MxMenu" CLSID="{216FC5D2-962D-4dd6-A000-02754CF91231}" CabFile="http://10.134.2.142/ente/DownloadFiles/activeinstall/cabfiles/MxMenu.cab" Version="1,2,1,6"/>
> <Component Name="MxRadio" CLSID="{B22DC058-80A2-438f-A64D-08B3B04AD7E0}" CabFile="http://10.134.2.142/ente/DownloadFiles/activeinstall/cabfiles/MxRadio.cab" Version="1,2,1,2"/>
> <Component Name="MxReport" CLSID="{CC26E2A9-760B-4ea6-8DDF-DB423FD24089}" CabFile="http://10.134.2.142/ente/DownloadFiles/activeinstall/cabfiles/MxReport.cab" Version="1,2,1,25"/>
> <Component Name="MxTab" CLSID="{6BA6E0F6-E3A1-45ed-9E03-CBFC682EC63C}" CabFile="http://10.134.2.142/ente/DownloadFiles/activeinstall/cabfiles/MxTab.cab" Version="1,2,1,1"/>
> <Component Name="MxTextArea" CLSID="{2F5DF8D9-F63C-460e-B5CB-399E816B0274}" CabFile="http://10.134.2.142/ente/DownloadFiles/activeinstall/cabfiles/MxTextArea.cab" Version="1,2,1,3"/>
> <Component Name="MxTree" CLSID="{6DD1CE9F-1722-46f0-AF93-B2BC58383CD2}" CabFile="http://10.134.2.142/ente/DownloadFiles/activeinstall/cabfiles/MxTree.cab" Version="1,2,1,12"/>
> <Component Name="ucButton" CLSID="{1C6A8943-CDF6-4F2C-917A-E1E44D3A0C73}" CabFile="http://10.134.2.142/ente/DownloadFiles/activeinstall/cabfiles/ucButton.CAB" Version="1,0,0,37"/>
> <Component Name="Forms" CLSID="" CabFile="http://10.134.2.142/ente/DownloadFiles/activeinstall/files/Forms.xls" Version="1,0,0,37"/>
> </Update>
></ActiveUpdate>
>====================아래 끝=========================================================
>