cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
asherm
Level 3

InstallShield 2012 Self-Register problem for TeeChart Pro ActiveX version 2012/19

Hello.

I built an installation package using InstallShield 2012 Professional Edition, with setting for a 64bit target machine, using "Template Summary" with value "AMD64;1033".

I include the file TeeChart201964.ocx in my packaging, and set its Properties to "Self Register".
When I run the installation setup, I get the following error: "Error 1904. Module C:\...\TeeChart201964.ocx failed to register. HRESULT -2147220473."

Also, the engineer tells me that I need to run an additional package on the target machine in order for the EXE to run: vcredist_x64.exe, Microsoft Visual C++ 2008 Redistributable.

I have a few questions, and would most appreciate any help you can offer.

1. Can someone suggest how to get around this "self register" problem ?

2. I searched on the internet and saw the following possible explanation for the error code:
- The request or function call is out of sequence. Check for programming errors.
- The object can't accept the call because its initialize function or equivalent has not been called.
Does this indicate that I need to run the install of the "Microsoft Visual C++ 2008 Redistributable" before the self register occurs ?
If yes, can you suggest how I can force the install of the redistributable (e.g., as a customer action) before the self register kicks in ?

3. I tried a few other options which also gave me problems:
I first created a batch file which opens a command prompt, requests administrator privileges, and then runs "Regsvr32 TeeChart201964.ocx" to register the file in the Registry.
(a) I called LaunchApp or LaunchAppAndWait with this batch file.
(b) I added a Custom Action to run the batch file.
Results: I would get a command prompt which starts running the batch file, but runs multiple times, over & over again, until the installation completes or I kill it.

Thank you for any suggestions !
Asher Meth
Excalibur Systems
Labels (1)
0 Kudos
(0) Replies