Create QR-Code!

FAQ: TBarCode Setup & Distribution

FAQ TBarCode: Missing C/C++ Runtime Libraries, Automatic ActiveX Controls Roll-Out and Deployment, How to Create a Silent Setup?
 

Distribution

Missing Visual Studio (C/C++) Runtime Libraries

TBarCode V7-V10 requires the Common Runtime Libraries from Visual Studio 2005 or 2008. These runtime files are installed by the TBarCode setup program automatically.

These libraries are not part of a Windows standard installation. But it is possible to install these libraries from an extra package available from Microsoft:

If you use an installer (e.g: Installshield or WIX) you can also include so called MSM modules, which contain these runtime libraries. MSM modules (merge modules) are installed into the correct folders automatically by your setup application.

For more information regarding redistributing TBarCode, see section Redistribution in the Developer Manual.

Download

Microsoft .NET Framework

You can download the .NET Framework 3.5 Redistributable from this location:

Download Microsoft .NET Framework 3.5 Service pack 1 (Full Package)

Silent Setup

How to Create a Silent Setup?

TBarCode V7

Use the MSI package provided on request by our support team. To run the setup in silent mode use the following parameter:

TBarCode_Setup.msi  /quiet

TBarCode V8, V9, V10, V11

Use the standard MSI setup package, which is available for public download. You can select the feature you want to install through the ADDLOCAL parameter. E.g. if you want to install only the TBarcode OCX component run the setup this way.

msiexec /i TBarCode_Setup.msi ADDLOCAL=FeatTBarCode,FeatOCX /qn

Optional: add parameter INSTALLDIR=C:\MyInstallDir for installation into a specific directory.
Other features: FeatDLL, FeatNET

Uninstall

You can suppress the feedback page during uninstall with the NO_UI property set to 0.

msiexec /x TBarCode_Setup.msi /qb NO_UI=0
The Windows Installer (MSI) must be pre-installed on the target system.

TBarCode .NET

System.DllNotFoundException on Windows x64

If TBarCode9.dll cannot be found (required by the TECIT.TBarCode.dll assembly) try the following:

  • Add the installation path of TBarCode9.dll to your PATH environment variable.
  • Make sure that the Visual Studio Runtime DLLs are installed (see FAQ above).
  • Using TBarCode 32-Bit: Make sure that your application is compiled for the x86 platform (or at least is running in a 32 Bit process). You can verify your binary with the corflags utility from Visual Studio.
  • Make sure that you have installed all .NET service packs (SP1 for .NET 2.0 x64 required)

TBarCode OCX

No Object Available, RegSvr32 failed

No Object available

An ActiveX® Control has to be registered within the Windows operating system, before it can be used. That's especially important for distributing the OCX file within your applications. Registering can be either done by the installer (e.g. Install-Shield...) or manually by calling RegSvr32.exe. Registering an OCX file needs Admin rights!

Admin Rights

If the ActiveX® Control wasn't installed properly: make sure that your current user has admin-rights (or logged in as admin) on your machine. Then run the setup program again.

RegSvr32 - DLL Register Server failed (0x80020009)

Starting with Microsoft Windows 2000 you need Administrator privileges to register an ActiveX® control in the Windows registry. This is also important if you re-distribute the OCX within your application!

© TEC-IT Datenverarbeitung GmbH, Austria  |  Site Map  |  RSS  |  Imprint  |  Legal Conditions and Privacy  |  Contact