473,382 Members | 1,635 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

.net installers


I wrote a little c# app to send SQL queries to a iSeries 830 and return
the results in a data grid.

Now I want to create a deployment program.

It's using the iSeries DB2 Provider for .NET which is part of a CD
install. The key DLL is:

ibm.data.db2.iseries.dll

I created a Setup program, and since ibm.data.db2.iseries.dll is part of
the references, the Setup project recognized that.

On compile, Setup created a directory containing:

Setup.exe
..msi
ibm.data.db2.iseries.dll

After installing on a /virgin/ machine, when running the application, an
error was thrown,

"System.TypeInitializationException: The type initializer for
"IBM.Data.DB2.iSeries.iDB2Constants" threw an exception. ---> An
unexpected exception occurred. Type: System.DllNotFoundException,
Message: Unable to load DLL (cwbdc.dll)."

I tried to manually register the DLL but regsvr32 reported:

"IBM.Data.DB2.iSeries.dll was loaded, but the DLLRegisterServer entry
point was not found."

Questions:

It looks like not all the needed components to install were put into the
setup program. How can I take care of this?

Does a Setup Program automatically find all the needed components and
their DLL dependencies?

Do I need an MSM file instead?

--
Texeme
http://texeme.com

incognito () Updated Almost Daily
http://kentpsychedelic.blogspot.com
Nov 16 '05 #1
3 1283
Click dlls under primary output, see the property - register, I think you
need control how are they registered.

"C.E.O. Gargantua" <us*@cord.blah> wrote in message
news:35*************@individual.net...

I wrote a little c# app to send SQL queries to a iSeries 830 and return
the results in a data grid.

Now I want to create a deployment program.

It's using the iSeries DB2 Provider for .NET which is part of a CD
install. The key DLL is:

ibm.data.db2.iseries.dll

I created a Setup program, and since ibm.data.db2.iseries.dll is part of
the references, the Setup project recognized that.

On compile, Setup created a directory containing:

Setup.exe
.msi
ibm.data.db2.iseries.dll

After installing on a /virgin/ machine, when running the application, an
error was thrown,

"System.TypeInitializationException: The type initializer for
"IBM.Data.DB2.iSeries.iDB2Constants" threw an exception. ---> An
unexpected exception occurred. Type: System.DllNotFoundException,
Message: Unable to load DLL (cwbdc.dll)."

I tried to manually register the DLL but regsvr32 reported:

"IBM.Data.DB2.iSeries.dll was loaded, but the DLLRegisterServer entry
point was not found."

Questions:

It looks like not all the needed components to install were put into the
setup program. How can I take care of this?

Does a Setup Program automatically find all the needed components and
their DLL dependencies?

Do I need an MSM file instead?

--
Texeme
http://texeme.com

incognito () Updated Almost Daily
http://kentpsychedelic.blogspot.com

Nov 16 '05 #2

Thanks, good tip.

I found another route...I think there's a lot more *stuff* needed to be
able to use the IBM.Data.DB2.iSeries.dll

Luckily, I decided to inspect the iSeries Access CD and there is a
utility there that lets you build a deployment/setup build for just the
components needed. To access it click on:
-> Additional information and Tools
-> Create tailored installation image for iSeries Access for Windows

I deselected everything except the DB Provider for .NET there was still
a truckload of "Required" components that couldn't be
deselected....still, it's a whole lot smaller ( 16 MB ) than a normal
install AND I can put it in a folder, copy it to a server and install
via terminal server on the target.
david wrote:
Click dlls under primary output, see the property - register, I think you
need control how are they registered.

"C.E.O. Gargantua" <us*@cord.blah> wrote in message
news:35*************@individual.net...
I wrote a little c# app to send SQL queries to a iSeries 830 and return
the results in a data grid.

Now I want to create a deployment program.

It's using the iSeries DB2 Provider for .NET which is part of a CD
install. The key DLL is:

ibm.data.db2.iseries.dll

I created a Setup program, and since ibm.data.db2.iseries.dll is part of
the references, the Setup project recognized that.

On compile, Setup created a directory containing:

Setup.exe
.msi
ibm.data.db2.iseries.dll

After installing on a /virgin/ machine, when running the application, an
error was thrown,

"System.TypeInitializationException: The type initializer for
"IBM.Data.DB2.iSeries.iDB2Constants" threw an exception. ---> An
unexpected exception occurred. Type: System.DllNotFoundException,
Message: Unable to load DLL (cwbdc.dll)."

I tried to manually register the DLL but regsvr32 reported:

"IBM.Data.DB2.iSeries.dll was loaded, but the DLLRegisterServer entry
point was not found."

Questions:

It looks like not all the needed components to install were put into the
setup program. How can I take care of this?

Does a Setup Program automatically find all the needed components and
their DLL dependencies?

Do I need an MSM file instead?

--
Texeme
http://texeme.com

incognito () Updated Almost Daily
http://kentpsychedelic.blogspot.com


Nov 16 '05 #3
C.E.O. Gargantua wrote:

[I asked this of someone outside the newsgroup and am embedding his
answers.]
I wrote a little c# app to send SQL queries to a iSeries 830 and return
the results in a data grid.

Now I want to create a deployment program.

It's using the iSeries DB2 Provider for .NET which is part of a CD
install. The key DLL is:

ibm.data.db2.iseries.dll

I created a Setup program, and since ibm.data.db2.iseries.dll is part of
the references, the Setup project recognized that.

On compile, Setup created a directory containing:

Setup.exe
.msi
ibm.data.db2.iseries.dll

After installing on a /virgin/ machine, when running the application, an
error was thrown,

"System.TypeInitializationException: The type initializer for
"IBM.Data.DB2.iSeries.iDB2Constants" threw an exception. ---> An
unexpected exception occurred. Type: System.DllNotFoundException,
Message: Unable to load DLL (cwbdc.dll)."
This seems to be the problem. cwbdc.dll is missing and it is needed by
ibm.data.db2.iseries.dll. The install image must contain all needed
dll's.
I tried to manually register the DLL but regsvr32 reported:

"IBM.Data.DB2.iSeries.dll was loaded, but the DLLRegisterServer entry
point was not found."

Questions:

It looks like not all the needed components to install were put into the
setup program. How can I take care of this?
You need to indetitfy the needed dll/s on a test system first and then
including all the required files in the install image. You can find
which dll/s are requiured by another dll using the depends.exe tool.
Make sure that the app you are creating an install for is complete and
runnable first.
Does a Setup Program automatically find all the needed components and
their DLL dependencies?
Not at all.
Do I need an MSM file instead?


No

Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Brian Elmegaard | last post by:
Hi, I can find a few questions regarding the use of distutils for making non-python windows installers, but none of them really helps. Are there any pointers on how to do this? Can it be done? ...
2
by: Marius Horak | last post by:
I have to modify an existing window service. I runs on a PC at different location (France). After modification I tried to install on my PC (W2K, SP3) and VS2003. I'm getting 'No public...
0
by: Peter Steele | last post by:
I've been using Visual Studio Setup projects to create my application installers but Setup projects seem to be a tad limited. What's a good alternative? I'd prefer something that doesn't cost an...
5
by: darkrats | last post by:
I'm running Windows XP at the moment, and occasionally Windows ME. I've downloaded the following Net Framework installers, and I'd like to know which ones are necessary, and whether I'm...
0
by: Marcus | last post by:
I'm having a problem with the .NET installers that I create using Visual Studio .NET. I'm able to create the installers and deploy them on the target machine, however, when I run the installed...
1
by: SPE - Stani's Python Editor | last post by:
A SPE user reported this on the SPE users forum (http://developer.berlios.de/forum/message.php?msg_id=21944): >My setup is as follows: >SPE-0.7.5 >Python 2.4 (from the Cygwin packages) >...
1
by: Dhruba Bandopadhyay | last post by:
I wasn't sure where to post this since it's not 100% programming related. I need advice on installers to give to my company clients so that it installs: - .NET 2.0 Framework Run-time (22MB) -...
2
by: K.S.Wong | last post by:
Hi all, I am trying to find out what tools (platform-independent if possible) that I can use to package a goup (few) of installers to become an exe application. I have heard of Py2exe but have...
0
by: 33223 | last post by:
Installers Each device within the wireless network (computer, printers, auxiliaries) must be installed with a Network Interface Card, or NIC. The NIC transmits wireless signals from the access...
1
by: baburk | last post by:
Hi all, Iam getting this errormessage when i called this function. This function is for to log the error message. Generic.EventLogManager' does not contain a definition for...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.