Work with IBProvider without registration in system

Discuss a software development with IBProvider

Work with IBProvider without registration in system

Postby Kovalenko Dmitry » 26 Jan 2010, 19:49

Original article Using IBProvider without registering in Windows describes the decision with the external manifest file.

This solution works at XP, but do not works at Vista system.

Common solution
  1. Extract the manifest from your application
    mt.exe -inputresource:YourApplication.exe;#1 -out:manifest.txt
  2. Add to manifest next info:
    Code: Select all
      <file name = "_IBProvider_v3_vc9_i.dll">
       <comClass progid="LCPI.IBProvider.3" clsid="{769A1280-04BF-11D8-AE8B-00A0C907DB93}" threadingModel = "Both" />
      </file>
  3. Put a manifest to back
    mt.exe -outputresource:YourApplication.exe;#1 -manifest manifest.txt

Or, if your application do not has the own manifest file:

  1. Create new manifest and put it to your EXE (#3)
    Code: Select all
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <assembly xmlns="urn:schemas-microsoft-com:asm.v1"        
      manifestVersion="1.0">

      <file name = "_IBProvider_x3_i.dll">
       <comClass progid="LCPI.IBProvider.3" clsid="{769A1280-04BF-11D8-AE8B-00A0C907DB93}" threadingModel = "Both" />
      </file>

    </assembly>

You can find a mt.exe in VS2005
  1. run cmd.exe
  2. call "%VS80COMNTOOLS%\..\..\vc\bin\vcvars32.bat"
  3. use mt.exe

-----
See: http://social.msdn.microsoft.com/Forums ... 9f33fa944/

I tested this method with win32 and x64 applications at Vista Ultimate x64 - it works.
Kovalenko Dmitry
Site Admin
 
Posts: 843
Joined: 17 Nov 2005, 20:51
Location: Russia, Lipetsk

Re: Work with IBProvider without registration in system

Postby Kovalenko Dmitry » 18 May 2015, 21:57

"LCPI ADO.NET Provider for OLE DB" contains the sample (#0023) with demonstration of using a (private) IBProvider without registration in system (Registration Free COM) in AnyCPU application.
Kovalenko Dmitry
Site Admin
 
Posts: 843
Joined: 17 Nov 2005, 20:51
Location: Russia, Lipetsk

Re: Work with IBProvider without registration in system

Postby jkomorowski » 25 May 2015, 14:10

Hi Dmitry,

It makes me think about our Delphi application (accessing IB Server 2009 via IBProvider) that we shall migrate from D5 to XE8 (our detailed tests are very encouraging) and, hopefully, to IB XE7 with the latest IBProvider.

Following your last post, should I understand that it's possible without extra license fees to set up quite rapidly a remote presentation of the application in just 2 simple steps:
- copying <the application install program> + <IBLite dll> + <IBProvider dll> + <the described manifest> + <demo DB> to the remote computer, and
- installing the the application remotely (10 seconds).
Do you approve my understanding ?

To keep presentations "cheap" is important because only few of them are converted into sales.

With kind regards,
JK
jkomorowski
 
Posts: 70
Joined: 18 Jan 2009, 12:36

Re: Work with IBProvider without registration in system

Postby Kovalenko Dmitry » 25 May 2015, 14:35

Hi Jacek

I not found any references about "extra license fees" in this topic.

This topic about using of IBProvider without it registration in system.
Kovalenko Dmitry
Site Admin
 
Posts: 843
Joined: 17 Nov 2005, 20:51
Location: Russia, Lipetsk

Re: Work with IBProvider without registration in system

Postby jkomorowski » 25 May 2015, 15:42

It seems that I misunderstood your expression "(private) IBProvider".

So, if somebody buys from you a license for using _IBProvider_v3_vc9_i.dll in his development (this is what I understood as "private" DLL), how much he has to pay you if he wants to follow your indications concerning the usage (via manifest) of "his" IBProvider DLL on the remote computer of a potential (future) customer ?
jkomorowski
 
Posts: 70
Joined: 18 Jan 2009, 12:36

Re: Work with IBProvider without registration in system

Postby Kovalenko Dmitry » 25 May 2015, 16:11

jkomorowski wrote:It seems that I misunderstood your expression "(private) IBProvider".

So, if somebody buys from you a license for using _IBProvider_v3_vc9_i.dll in his development (this is what I understood as "private" DLL), how much he has to pay you if he wants to follow your indications concerning the usage (via manifest) of "his" IBProvider DLL on the remote computer of a potential (future) customer ?


Developer license allows to distribute an IBProvider with your application without any additional fee. You should buy the licenses for each developer in your team.

"Private" IBProvider means the DLL with own CLSIDs and ProgIDs of components. This parameters defined in PROG_REG_PARAMS resource and can be changed. Purpose - distribution IBProvider as part of application without conflict with other (separated) installation of IBProvider.

----
For using IBProvider (without registration in system) in .NET AnyCPU application need to create a different (private) DLLs (for 32bit and 64bit) with own set of CLSIDs and ProgIDs.
Kovalenko Dmitry
Site Admin
 
Posts: 843
Joined: 17 Nov 2005, 20:51
Location: Russia, Lipetsk

Re: Work with IBProvider without registration in system

Postby jkomorowski » 25 May 2015, 17:01

Thank you Dmitry,
Developer license allows to distribute an IBProvider with your application without any additional fee.

I wasn't aware that you are so generous ;-) .

Anyway, the manifest trick permits to limit a remote presentation setup to *one* explicit (i.e. visible for the audience) installation, namely that of application. Do you agree ?
jkomorowski
 
Posts: 70
Joined: 18 Jan 2009, 12:36

Re: Work with IBProvider without registration in system

Postby Kovalenko Dmitry » 25 May 2015, 17:15

jkomorowski wrote:Anyway, the manifest trick permits to limit a remote presentation setup to *one* explicit (i.e. visible for the audience) installation, namely that of application. Do you agree ?


Formal - yes.
Kovalenko Dmitry
Site Admin
 
Posts: 843
Joined: 17 Nov 2005, 20:51
Location: Russia, Lipetsk

Re: Work with IBProvider without registration in system

Postby Kovalenko Dmitry » 20 Sep 2017, 21:07

Example of usage of IBProvider without registration in Windows Registry:

"c:\Program Files\LCPI\IBProvider.3\TestCode\ActiveX\IBP\oledb_test"
Kovalenko Dmitry
Site Admin
 
Posts: 843
Joined: 17 Nov 2005, 20:51
Location: Russia, Lipetsk

Re: Work with IBProvider without registration in system

Postby Kovalenko Dmitry » 22 Aug 2018, 20:04

Kovalenko Dmitry
Site Admin
 
Posts: 843
Joined: 17 Nov 2005, 20:51
Location: Russia, Lipetsk


Return to Programming with IBProvider

Who is online

Users browsing this forum: No registered users and 3 guests