Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Run a setup.exe before register an ActiveX

2 views
Skip to first unread message

eusebiu

unread,
Jan 15, 2008, 3:24:55 AM1/15/08
to
Hello.
I have this problem: I've built an ActiveX(MFC) that is using some
drivers(sys and dll). I have packed that drivers into an
setup.exe(with Install Shield 11). If I I run setup.exe and install
the drivers normally, everything is working. I want to install the
drivers(run setup.exe) when I install the ActiveX.

The inf file for the ActiveX is:

[Add.Code]
myactivex.ocx=myactivex.ocx
myactivex.inf=myactivex.inf
setup.exe=setup.exe

[myactivex.ocx]
file-win32-x86=thiscab
clsid={36299202-09EF-4ABF-ADB9-47C599DBE778}
RegisterServer=yes
FileVersion=1,0,1,0

[myactivex.inf]
file-win32-x86=thiscab

[Setup Hooks]
setup=setup

[setup]
run=%EXTRACT_DIR%\setup.exe

[Version]
; This section is required for compatibility on both Windows 95 and
Windows NT.
Signature="$CHICAGO$"
AdvancedInf=2.0


The problem is that I don't get the install dialog when I install the
ActiveX and because the drivers aren't installed, the ActiveX is not
displayed.

Can someone help me with this?

0 new messages