G
Guest
Hi
I want to distribute a signed .cab file with an embedded .hta file
The .hta file uses capicom.dll and thus I would like to install and register
capicom.dll on the fly
my cab file looks like
mycab.cab
myapp.hta
mycab.inf
capicom.dll
mycab.inf looks like
[version]
signature="$CHICAGO$"
AdvancedINF=2.0
[Add.Code]
capicom.dll=capicom.dll
myapp.hta=myapp.hta
[myapp.hta]
clsid={8e65d418-b2f5-4925-8e6e-670a58f4ae0c}
FileVersion=1,0,0,0
hook=installer
[installer]
run=%11%\mshta.exe %EXTRACT_DIR%\myapp.hta
[capicom.dll]
file-win32-x86=thiscab
clsid={A996E48C-D3DC-4244-89F7-AFA33EC60679}
RegisterServer=yes
DestDir=11
FileVersion=2,1,0,1
The following <OBJECT> tag causes my .hta to load
<OBJECT CLASSID='CLSID:8e65d418-b2f5-4925-8e6e-670a58f4ae0c'
CODEBASE='mycab.cab"></OBJECT>
- but capicom.dll has not been installed/registered
Does anybody know the correct mycab.inf syntax?
/Peter
I want to distribute a signed .cab file with an embedded .hta file
The .hta file uses capicom.dll and thus I would like to install and register
capicom.dll on the fly
my cab file looks like
mycab.cab
myapp.hta
mycab.inf
capicom.dll
mycab.inf looks like
[version]
signature="$CHICAGO$"
AdvancedINF=2.0
[Add.Code]
capicom.dll=capicom.dll
myapp.hta=myapp.hta
[myapp.hta]
clsid={8e65d418-b2f5-4925-8e6e-670a58f4ae0c}
FileVersion=1,0,0,0
hook=installer
[installer]
run=%11%\mshta.exe %EXTRACT_DIR%\myapp.hta
[capicom.dll]
file-win32-x86=thiscab
clsid={A996E48C-D3DC-4244-89F7-AFA33EC60679}
RegisterServer=yes
DestDir=11
FileVersion=2,1,0,1
The following <OBJECT> tag causes my .hta to load
<OBJECT CLASSID='CLSID:8e65d418-b2f5-4925-8e6e-670a58f4ae0c'
CODEBASE='mycab.cab"></OBJECT>
- but capicom.dll has not been installed/registered
Does anybody know the correct mycab.inf syntax?
/Peter