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 we do not aid in the distribution or operation of illegal software

Bibin

If I running ComponentOne installer via InnoScript then how to make it run silent and automatically install custom component only? Example like I just want to install TrueDBNumber, TrueDBgrid and TrueDBList. What parameter do I have to use? Thanks. Need  help for the example script from u. After InnoScript Run the installer then I should replace the OCX with the cracked version right? So double job again?

Btw is there any other solution beside your solution before?
I would like InnoScript do the register component without installing from ComponentOne installer. I wondering how it can be done all using InnoScript. Btw I was a customer of InnoScript 10 and I was buy this sofware at 2009 or 2010 when it was still pay but now is free hahaha... So if u don't mind please help me with some example script to do that. Thanks mr Ralph.

Bibin

Quote from: Randem on March 09, 2016, 12:05:33 AM
It looks simple enough, If you are running on a 32bit system you run the MSI installer C1StudioActiveX_xxxx.msi. If on a 64bit system you run the installer C1StudioActiveX64_xxxx.msi. you remove all ComponentOne files from the script and let the installers do the work. Use the [Run] section to accomplish this. You can use the template function to automatically remove the ComponentOne files and add in the [Run] Section to install the files.
OK looks very simple and good solution, but how is the example script to do that? Can u help me please? Thanks

Randem

It looks simple enough, If you are running on a 32bit system you run the MSI installer C1StudioActiveX_xxxx.msi. If on a 64bit system you run the installer C1StudioActiveX64_xxxx.msi. you remove all ComponentOne files from the script and let the installers do the work. Use the [Run] section to accomplish this. You can use the template function to automatically remove the ComponentOne files and add in the [Run] Section to install the files.

Bibin

Quote from: Bibin on March 08, 2016, 11:34:41 PM
Dear Randem,

I also have component "Codejock.Controls.v15.3.1.ocx" in my script, but this component is success to installed on 64-bit target machine, but why ComponentOne like "tinumb8.ocx", tidate8.ocx" failed to register? What else do i need to try to register it on target machine? I think my problem is not with the OS ya but I cannot register ComponentOne using "regsvr32.exe", I also have try to register using "c1regsvr.exe" but also failed, so how do I register all the ComponentOne with InnoScript than I have to install it manually?

During this time I install these components manually because I do not understand how to make InnoScript in order to register ComponenOne. If it is using "c1regsvr.exe" then how should I type the script in InnoScript? Can u give the example script to do that? Many thanks

Btw I have the ComponentOne installer at my Dropbox if u want to try with InnoScript, so u can analyze how to register the ComponentOne. This is the link file https://www.dropbox.com/s/v9pwfsfdu7v5f3v/C1StudioActiveX_2011v2.zip?dl=0

Bibin

Dear Randem,

I also have component "Codejock.Controls.v15.3.1.ocx" in my script, but this component is success to installed on 64-bit target machine, but why ComponentOne like "tinumb8.ocx", tidate8.ocx" failed to register? What else do i need to try to register it on target machine? I think my problem is not with the OS ya but I cannot register ComponentOne using "regsvr32.exe", I also have try to register using "c1regsvr.exe" but also failed, so how do I register all the ComponentOne with InnoScript than I have to install it manually?

During this time I install these components manually because I do not understand how to make InnoScript in order to register ComponenOne. If it is using "c1regsvr.exe" then how should I type the script in InnoScript? Can u give the example script to do that? Many thanks

Randem

The general procedure for creating an application is to develop it on the highest OS that you will be deploying it to. So you should be developing on at least Windows 7 64bit. In theory a 32bit application does not know about a 64bit architecture and will fail.

Bibin

Quote from: Randem on March 08, 2016, 09:09:09 PM
You don't have to change anything. The installer will detect which OS you are on and if it is 32 or 64 bit and install the correct files as long as they have the Is32bit or Is64bit switch applied to the line.
If installing on a 32 bit system the lines with Is64bit will be skipped and if installing on a 64bit system the lines with Is32bit will be skipped. Lines that have no notation will be installed.

The installer is compatible with the OS you choose it for...
What I mean is if I create setup from my OS Win7 32-bit, is it compatibel if I deploy it to client who is using 64-bit? Why ComponentOne failed to registered in client computer? Is it the problem with my OS so take effect in InnoScript cannot automatically insert the dependency 64-bit file or what else? Is it necessary to register ComponentOne using "c1regsvr.exe" if it is so then how can I do that in InnoScript?

Randem

You don't have to change anything. The installer will detect which OS you are on and if it is 32 or 64 bit and install the correct files as long as they have the Is32bit or Is64bit switch applied to the line.
If installing on a 32 bit system the lines with Is64bit will be skipped and if installing on a 64bit system the lines with Is32bit will be skipped. Lines that have no notation will be installed.

The installer is compatible with the OS you choose it for...

Bibin

Quote from: Randem on March 08, 2016, 07:54:06 PM
Yes, you can add it t the same script with the Inno Setup is64Bit and is32bit switches on the files so that they only get installed on the correct OS. Search for the is64bit directive in the Inno Setup help documentation.
You can also set this directive in InnoScript in the Add Files section.
OK then I have to change from Win7 32-bit to Win7 74-bit right?

Is the installer still compatible if client using Win8/Win8.1 32/64-bit while I am using Win7 64-bit?

Randem

Yes, you can add it t the same script with the Inno Setup is64Bit and is32bit switches on the files so that they only get installed on the correct OS. Search for the is64bit directive in the Inno Setup help documentation.
You can also set this directive in InnoScript in the Add Files section.

Bibin

Quote from: Randem on March 07, 2016, 08:52:30 PM
Also you may need a license to redistribute ComponentOne files and they could be making it difficult is you do not obtain a License...
Do I have to create installscript using 64-bit machine for 64-bit client machine? Is it automatically work on 32-bit if I create the installer in 64-bit OS?

Randem

Also you may need a license to redistribute ComponentOne files and they could be making it difficult is you do not obtain a License...

Randem

Here is where to find the information in the "Help Documentation"

As for how to register ComponentOne files, that would be a question for ComponentOne if they require something special. We just supply a tool to help you create an installation.

Bibin

Quote from: Randem on March 07, 2016, 07:53:56 PM
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.

I have this template configuration.. 5 years ago I have questioning this same problem and I still don't get the solution.
[Files]
Source: {src}\tdbgpp8.dll; DestDir: {sys}; Flags: restartreplace sharedfile;
Source: {src}\tibase8.dll; DestDir: {sys}; Flags: restartreplace sharedfile;
Source: {src}\tishare8.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: {src}\todgub8.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;

So how can I register tinumb8.ocx and tidate8.ocx? Please help. Thanks