This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Register ComCTL32.ocx
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 10, 2010
08:00 AM
Register ComCTL32.ocx
Hi,
I have an installshield which uses a merge module(the one included with installshield) to install the comctl32.ocx file.
This seems to work except, when entering our application after install the tabstrip within our app does not function (selecting the different tabs, does not trigger a response).
If I then exit our app and run regsvr32.exe comctl32.ocx from the command prompt and re-run our App, the tab strip is working fine.
I have tried to run regsvr32 from a script within the installshield, sequencing so it is the last thing the installshield does, but although I get a message telling me that it has succeeded in registering. I have the same problem when entering my App, running the regsvr32 from the dos command, fixes the issue.
What is the best way to deal with the install and registering of the comctl32.ocx file?
This is occurring on XP,Vista and Win7 environments.
Thanks
Script:-
MsiGetProperty(hMSI,"SystemFolder",szSystemFolder,nvSize);
szExe = szSystemFolder ^ "Regsvr32.exe";
if (LaunchAppAndWait(szExe, "comctl32.ocx", WAIT) < 0) then
MessageBox ("Unable to launch",SEVERE);
endif;
I have an installshield which uses a merge module(the one included with installshield) to install the comctl32.ocx file.
This seems to work except, when entering our application after install the tabstrip within our app does not function (selecting the different tabs, does not trigger a response).
If I then exit our app and run regsvr32.exe comctl32.ocx from the command prompt and re-run our App, the tab strip is working fine.
I have tried to run regsvr32 from a script within the installshield, sequencing so it is the last thing the installshield does, but although I get a message telling me that it has succeeded in registering. I have the same problem when entering my App, running the regsvr32 from the dos command, fixes the issue.
What is the best way to deal with the install and registering of the comctl32.ocx file?
This is occurring on XP,Vista and Win7 environments.
Thanks
Script:-
MsiGetProperty(hMSI,"SystemFolder",szSystemFolder,nvSize);
szExe = szSystemFolder ^ "Regsvr32.exe";
if (LaunchAppAndWait(szExe, "comctl32.ocx", WAIT) < 0) then
MessageBox ("Unable to launch",SEVERE);
endif;
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 19, 2010
03:26 AM
try
szExe = SystemFolder^"Regsvr32.exe";
if (LaunchAppAndWait(szExe, "comctl32.ocx", WAIT) < 0) then
MessageBox ("Unable to launch",SEVERE);
endif;
szExe = SystemFolder^"Regsvr32.exe";
if (LaunchAppAndWait(szExe, "comctl32.ocx", WAIT) < 0) then
MessageBox ("Unable to launch",SEVERE);
endif;