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: 621
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 1 guest

cron