Runtime error 339 at target client (ComponentOne tinumb8.ocx)

Started by Bibin, March 07, 2016, 05:37:20 AM

Previous topic - Next topic

Randem

Sorry cannot do step-by-step, that is considered training and consulting work (which we can do) but I can tell you that the step-by-step information about the template files is in the documentation...

The template file is just a chopped down version of the script file so you can add files and functions into the regular script.

Bibin

Quote from: Randem on March 07, 2016, 07:38:04 PM
I believe that means that if you are installing on a 32bit system you have to use the 32bit files and the same goes for the 64bit files. you will need to setup in Inno Setup a conditional check for the OS then install the correct version of those files. You can add this function to InnoScript using the template functionality.
What should be typed in the template file? can u explain more details the step by step? Thanks

Randem

I believe that means that if you are installing on a 32bit system you have to use the 32bit files and the same goes for the 64bit files. you will need to setup in Inno Setup a conditional check for the OS then install the correct version of those files. You can add this function to InnoScript using the template functionality.

Bibin

Dear Randem,
I found this readme.txt in my installer folder ComponentOne. I don't know what this means. Do I must install both 32-bit and 64-bit in client machine? Cause I am using 32-bit, but client use 64-bit. If that so, then how InstallScript do this automatically without installing ComponentOne in target machine?


COMPONENTONE STUDIO FOR ACTIVEX
--------------------------------------------------------------------------------------------
To Install 32-bit Studio for ActiveX:
--------------------------------------------------------------------------------------------
1. Run C1StudioActiveX_xxx.msi

--------------------------------------------------------------------------------------------
To Install 64-bit Studio for ActiveX:
--------------------------------------------------------------------------------------------
1. Run C1StudioActiveX_xxxx.msi
2. Run C1StudioActiveX64_xxxx.msi*

*This setup only installs these 64-bit controls:
-olch2x8.ocx
-olch2xu8.ocx
-olch3x8.ocx
-olch3xu8.ocx
-VSDraw8.ocx
-vsFlex8.ocx
-vsFlex8d.ocx
-vsFlex8l.ocx
-vsFlex8n.ocx
-vsFlex8u.ocx
-VSPdf8.ocx
-VSPrint8.ocx
-vsvport8.ocx

Samples, Licensing and Documentation are installed when installing the 32 bit setup.
Installation of 32-bit setup is REQUIRED for Visual Studio 2008 VC++ Design Time.

--------------------------------------------------------------------------------------------
Samples Installation Location:
--------------------------------------------------------------------------------------------
C:\Program Files\ComponentOne\Studio for ActiveX (32-bit OS)
C:\Program Files (x86)\ComponentOne\Studio for ActiveX (64-bit OS)

--------------------------------------------------------------------------------------------
Documentation Installation Location:
--------------------------------------------------------------------------------------------
C:\Windows\Help

--------------------------------------------------------------------------------------------
32-bit Control Assemblies (OCX) Installation Location:
--------------------------------------------------------------------------------------------
C:\Windows\System32 (32-bit OS)
C:\Windows\SysWOW64 (64-bit OS)

--------------------------------------------------------------------------------------------
64-bit Control Assemblies (OCX) Installation Location:
--------------------------------------------------------------------------------------------
C:\Windows\System32 (64-bit OS)

64 bit platform notes:
Visual Studio supports 64 bit development with a cross-compiler (VS runs under 32 and produces 64-bit code).
To support this, VS automatically loads and runs the 32 bit version of controls at design time, and switches to use the 64 bit version at run time.
In order to use the 64-bit ActiveX controls in VS, you must do the
following:

1) Register the 32-bit version of the control (using regsvr32.exe). This will be used by VS at design time.
2) Register the 64-bit version of the control (using regsvr32.exe, it will be automatically registered in a different section in the registry). This will be used by the output application at run time.
3) When you create a new project, create the 64-bit configuration before you add any ActiveX controls to the project.

The setup for our ActiveX controls automatically registers the 32 and 64 bit versions of the controls, so steps 1 and 2 above are automatically handled for you. You only need to remember step 3.

Bibin

I got this error : http://our.componentone.com/groups/topic/run-time-error-339-at-client-machine/

Run-time error '339': component 'tinumb8.ocx' or one of its dependencies not correctly registered: a file is missing or invalid

Yes I have already try to register "tinumb8.ocx" using regsvr32.exe and c1regsvr.exe (both running as administrator) still failed to register.

If I also installed the componentone at client machine its successfull on Win8 or Win8.1 so the problem is I never get successfull install it using VB Development Package or any other tools cause I don't know how to do it.

Bibin

I got this error : http://our.componentone.com/groups/topic/run-time-error-339-at-client-machine/

Run-time error '339': component 'tinumb8.ocx' or one of its dependencies not correctly registered: a file is missing or invalid

Yes I have already try to register "tinumb8.ocx" using regsvr32.exe and c1regsvr.exe (both running as administrator) still failed to register.

Randem

This issue has been documented - https://randemsystems.support/innoscript-undocumented-hints-tips/innoscript-undocumented-hints-tips/msg4940/#msg4940

Sometimes ComponentOne requires you to register their components with their special program.

Is your ComponentOne file supported on Windows 8? If you are using the Windows 7 version it may not be supported on Windows 8. What error message did you get?

Bibin

Dear Randem,

How can I fixed this error problem? I can't register "tinumb8.ocx" in client machine Win8.1 64-bit. I am using Win7 32-bit. I have copied "tinumb8.ocx", "tibase8.dll", "tishare8.dll" in SysWOW64 and tried to register using Administrator still can not.

Help in advance... Thanks