Entry
I wouls like to launch an windows application from a webpage (i'm running on winXP and Apache 1.3.20
Feb 15th, 2002 12:33
Arsen Yeremin, Roberto Ortelli,
1. download cabinet sdk from
http://msdn.microsoft.com/workshop/management/cab/cabdl.asp
2. download Authenticode tools from
http://msdn.microsoft.com/downloads/tools/authenticode/codesign.exe
(assuming you running ie5, otherwise search msdn of other version)
3. obtain digital signature from www.thawte.com You will need digital
signature to eliminate warnings when user installs component. Also,
user may
disable running unsigned components and execution fail.
;----- begin notepad.inf file ---------
[Version]
Signature="$CHICAGO$"
AdvancedINF=2.0
[Setup Hooks]
hook1=hook1
[hook1]
run=%notepad.exe
;------------end notepad.inf --------
7. execute following command lines to create and sign cab archive:
cabarc n notepad.cab notepad.inf
signcode -t http://timestamp.verisign.com/scripts/timstamp.dll -spc
c:\certification\ak.spc -v c:\certification\ak.pvk notepad.cab
you will need to change certification file name (spc/pvk) according to
your
files. if you do not have digital sig, skip signcode command
8. HTML file to install:
<HTML>
<HEAD>
<TITLE>Run EXE from cab file</Title>
</HEAD>
<BODY>
<object
id="Dummy"
standby="Please wait while loading cabinet..."
classid="clsid:15C3C7A4-9676-11D3-9799-0060087190B9"
codebase="notepad.cab"
height=100
width=600
>
</object>
<br>
</BODY>
</HTML>