473,395 Members | 1,488 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,395 software developers and data experts.

Installer cannot find required DLL

I am using VS.NET 2003 and trying to deploy a service program(c++) to a Windows 2000 Server system. I have also written a small DLL (USSsetup.dll) that is used to start/stop the service using a custom action. This dll is apparently dependent on the MSVCP71.DLL and MSVCR71.DLL's as per the Detected Dependencies folder visible in the deployment project

All this good except I am UNABLE to Retarget the output of the msm merge modules(VC_USER_CRT71_RTL__X86_---.msm and VC_USER_STL71_RTL__X86_---.msm), that contain the MSVCP71.DLL and MSVCR71.DLL's, to the System Folder. The [+]MergeModuleProperties does not allow for changes which may be the result of the merge module design(not sure)

In any event, the problem I encounter during the installation process is the following error message during the installation... "There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor.

The reason I believe that I need to Retarget the output of these two merge modules to the System Folder is, that when using VS.NET 2002 and two similar merger modules, retargeting the output solved the problem. Now with VS.NET 2003 I cannot seem to find any solution

Any help is appreciated
Bill Murray
Jul 21 '05 #1
4 7381
You're not supposed to retarget the merge modules.
http://support.microsoft.com/default...b;en-us;326922

Do you have any installer classes or custom actions? That sounds like it
might be the problem.
--
Phil Wilson
[MVP Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

"Bill Murray" <bi********@noemail.com> wrote in message
news:32**********************************@microsof t.com...
I am using VS.NET 2003 and trying to deploy a service program(c++) to a Windows 2000 Server system. I have also written a small DLL (USSsetup.dll)
that is used to start/stop the service using a custom action. This dll is
apparently dependent on the MSVCP71.DLL and MSVCR71.DLL's as per the
Detected Dependencies folder visible in the deployment project.
All this good except I am UNABLE to Retarget the output of the msm merge modules(VC_USER_CRT71_RTL__X86_---.msm and VC_USER_STL71_RTL__X86_---.msm),
that contain the MSVCP71.DLL and MSVCR71.DLL's, to the System Folder. The
[+]MergeModuleProperties does not allow for changes which may be the result
of the merge module design(not sure).
In any event, the problem I encounter during the installation process is the following error message during the installation... "There is a problem
with this Windows Installer package. A DLL required for this install to
complete could not be run. Contact your support personnel or package
vendor."
The reason I believe that I need to Retarget the output of these two merge modules to the System Folder is, that when using VS.NET 2002 and two similar
merger modules, retargeting the output solved the problem. Now with VS.NET
2003 I cannot seem to find any solution.
Any help is appreciated,
Bill Murray

Jul 21 '05 #2
Yes I have a DLL that has a custom action and its this dll that has a dependency on the Msvcr71.dll and Msvcp71.dll's. The knowledge base article you mention was helpful but the merge module provided with VS.NET 2003 do not seem to work (VC_USER_CRT71_RTL__X86_---.msm and VC_USER_STL71_RTL__X86_---.msm)

The only thing that I can determine is that the two dll's are NOT getting installed into the System Folder. I base this on the knowledge base article recommendations and the fact that by excluding the merge modules and directly Adding the two dll's directly into the System Folder DOES WORK

I would much rather use the merge modules and install the dll's in the Application Folder (as per recommendations in the knowledge base article) but I cannot seem to make this work and continue to get the missing dll error message

Any other suggestions are welcome
Bil

----- Phil Wilson wrote: ----

You're not supposed to retarget the merge modules
http://support.microsoft.com/default...kb;en-us;32692

Do you have any installer classes or custom actions? That sounds like i
might be the problem
--
Phil Wilso
[MVP Windows Installer
Definitive Guide to Windows Installe
http://apress.com/book/bookDisplay.html?bID=28

"Bill Murray" <bi********@noemail.com> wrote in messag
news:32**********************************@microsof t.com..
I am using VS.NET 2003 and trying to deploy a service program(c++) to

Windows 2000 Server system. I have also written a small DLL (USSsetup.dll
that is used to start/stop the service using a custom action. This dll i
apparently dependent on the MSVCP71.DLL and MSVCR71.DLL's as per th
Detected Dependencies folder visible in the deployment project
All this good except I am UNABLE to Retarget the output of the msm merg modules(VC_USER_CRT71_RTL__X86_---.msm and VC_USER_STL71_RTL__X86_---.msm)
that contain the MSVCP71.DLL and MSVCR71.DLL's, to the System Folder. Th
[+]MergeModuleProperties does not allow for changes which may be the resul
of the merge module design(not sure) In any event, the problem I encounter during the installation process i the following error message during the installation... "There is a proble
with this Windows Installer package. A DLL required for this install t
complete could not be run. Contact your support personnel or packag
vendor. The reason I believe that I need to Retarget the output of these two merg modules to the System Folder is, that when using VS.NET 2002 and two simila
merger modules, retargeting the output solved the problem. Now with VS.NE
2003 I cannot seem to find any solution Any help is appreciated

Bill Murra


Jul 21 '05 #3
1) I believe there's a bug in those merge modules related to retargetable
folders. If you scroll down here, this may be what you're seeing:

http://www.installsite.org/pages/en/bugs_msi.htm

2) Service installation by running code is a royal pain. What you're seeing
is exactly what happens when code needs to run during the install, whether
it's Service installation or COM registration. It can't find it's
dependencies and it fails (but the dependencies aren't supposed to be in the
system folder!). MSI setups don't really need this at all - the
ServiceInstall and ServiceControl tables in the MSI file can do Service
installs without running code, but VS setups don't use them, they use
Installer classes and you get these issues.

It looks like you'll have to ignore the KB and install the raw DLLs into the
system folder to make this work. I think that should work because the files
are copied there before your custom action is called.
--
Phil Wilson [MVP Windows Installer]
----
"Bill Murray" <bi********@noemail.com> wrote in message
news:5F**********************************@microsof t.com...
Yes I have a DLL that has a custom action and its this dll that has a dependency on the Msvcr71.dll and Msvcp71.dll's. The knowledge base article
you mention was helpful but the merge module provided with VS.NET 2003 do
not seem to work (VC_USER_CRT71_RTL__X86_---.msm and
VC_USER_STL71_RTL__X86_---.msm).
The only thing that I can determine is that the two dll's are NOT getting installed into the System Folder. I base this on the knowledge base article
recommendations and the fact that by excluding the merge modules and
directly Adding the two dll's directly into the System Folder DOES WORK.
I would much rather use the merge modules and install the dll's in the Application Folder (as per recommendations in the knowledge base article)
but I cannot seem to make this work and continue to get the missing dll
error message.
Any other suggestions are welcome,
Bill

----- Phil Wilson wrote: -----

You're not supposed to retarget the merge modules.
http://support.microsoft.com/default...b;en-us;326922

Do you have any installer classes or custom actions? That sounds like it might be the problem.
--
Phil Wilson
[MVP Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

"Bill Murray" <bi********@noemail.com> wrote in message
news:32**********************************@microsof t.com...
> I am using VS.NET 2003 and trying to deploy a service program(c++) to a
Windows 2000 Server system. I have also written a small DLL (USSsetup.dll) that is used to start/stop the service using a custom action. This dll is apparently dependent on the MSVCP71.DLL and MSVCR71.DLL's as per the
Detected Dependencies folder visible in the deployment project. >> All this good except I am UNABLE to Retarget the output of the msm
merge
modules(VC_USER_CRT71_RTL__X86_---.msm and VC_USER_STL71_RTL__X86_---.msm), that contain the MSVCP71.DLL and MSVCR71.DLL's, to the System Folder. The [+]MergeModuleProperties does not allow for changes which may be the result of the merge module design(not sure). >> In any event, the problem I encounter during the installation
process is
the following error message during the installation... "There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package
vendor." >> The reason I believe that I need to Retarget the output of these
two merge
modules to the System Folder is, that when using VS.NET 2002 and two similar merger modules, retargeting the output solved the problem. Now with VS.NET 2003 I cannot seem to find any solution. >> Any help is appreciated,

> Bill Murray


Jul 21 '05 #4
Thanks Phil you were very helpful. Its appreciated

I had already done as you suggested below and installed the dll's directl
in the system folder and all my preliminary tests are working

Cheers
Bil

----- Phil Wilson wrote: ----

1) I believe there's a bug in those merge modules related to retargetabl
folders. If you scroll down here, this may be what you're seeing

http://www.installsite.org/pages/en/bugs_msi.ht

2) Service installation by running code is a royal pain. What you're seein
is exactly what happens when code needs to run during the install, whethe
it's Service installation or COM registration. It can't find it'
dependencies and it fails (but the dependencies aren't supposed to be in th
system folder!). MSI setups don't really need this at all - th
ServiceInstall and ServiceControl tables in the MSI file can do Servic
installs without running code, but VS setups don't use them, they us
Installer classes and you get these issues

It looks like you'll have to ignore the KB and install the raw DLLs into th
system folder to make this work. I think that should work because the file
are copied there before your custom action is called
--
Phil Wilson [MVP Windows Installer
---
"Bill Murray" <bi********@noemail.com> wrote in messag
news:5F**********************************@microsof t.com..
Yes I have a DLL that has a custom action and its this dll that has dependency on the Msvcr71.dll and Msvcp71.dll's. The knowledge base articl
you mention was helpful but the merge module provided with VS.NET 2003 d
not seem to work (VC_USER_CRT71_RTL__X86_---.msm an
VC_USER_STL71_RTL__X86_---.msm)
The only thing that I can determine is that the two dll's are NOT gettin installed into the System Folder. I base this on the knowledge base articl
recommendations and the fact that by excluding the merge modules an
directly Adding the two dll's directly into the System Folder DOES WORK
I would much rather use the merge modules and install the dll's in th Application Folder (as per recommendations in the knowledge base article
but I cannot seem to make this work and continue to get the missing dl
error message Any other suggestions are welcome

Bil
----- Phil Wilson wrote: ----
You're not supposed to retarget the merge modules

http://support.microsoft.com/default...kb;en-us;32692
Do you have any installer classes or custom actions? That sounds lik

i might be the problem
--
Phil Wilso
[MVP Windows Installer
Definitive Guide to Windows Installe
http://apress.com/book/bookDisplay.html?bID=28
"Bill Murray" <bi********@noemail.com> wrote in messag news:32**********************************@microsof t.com..
I am using VS.NET 2003 and trying to deploy a service program(c++

to Windows 2000 Server system. I have also written a small DL (USSsetup.dll that is used to start/stop the service using a custom action. Thi dll i apparently dependent on the MSVCP71.DLL and MSVCR71.DLL's as per th
Detected Dependencies folder visible in the deployment project All this good except I am UNABLE to Retarget the output of the ms
merg
modules(VC_USER_CRT71_RTL__X86_---.msm an VC_USER_STL71_RTL__X86_---.msm) that contain the MSVCP71.DLL and MSVCR71.DLL's, to the System Folder Th [+]MergeModuleProperties does not allow for changes which may be th resul of the merge module design(not sure) In any event, the problem I encounter during the installatio
process i
the following error message during the installation... "There is proble with this Windows Installer package. A DLL required for this instal to complete could not be run. Contact your support personnel or package
vendor." The reason I believe that I need to Retarget the output of these
two merge
modules to the System Folder is, that when using VS.NET 2002 and two similar merger modules, retargeting the output solved the problem. Now with VS.NET 2003 I cannot seem to find any solution. Any help is appreciated,

Bill Murray

Jul 21 '05 #5

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

Similar topics

6
by: Lou Lipnickey | last post by:
I am looking to package a java / swing / mysql application so that it can be installed primarily on Window based systems. I googled for "java mysql installer" and came up with a large number of...
12
by: Richard Hanson | last post by:
Over the last few days, I reinstalled Win2kSP2 to a spare harddrive I had just swapped into my Fujitsu LifeBook P1120 (long story <wink>). Subsequently, I DL'ed the newest Python alpha (2.4a2), and...
0
by: Chris Pratt | last post by:
I need to be able to remove some dlls from the GAC in order to return to using an older version of a component but I do not seem to be able to delete anything from the GAC in order to do so. ...
7
by: sidd | last post by:
Hi All, i have some doubts on .net windows services.. please see if some one could help me understand this.. 1)is it possible to install a windows service which does not have a installer added...
3
by: Brian Henry | last post by:
This has worked perfectly for the past year now all the sudden it will not compile the installer project correctly. All our source code is in a Source Safe database so every system we do this on...
3
by: DC Gringo | last post by:
Hi, I'm trying to use a custom action to modify a database (rather than create one) using the VS.NET '03's help example called "Custom Action to Create Database During Installation". I've made...
4
by: Bill Murray | last post by:
I am using VS.NET 2003 and trying to deploy a service program(c++) to a Windows 2000 Server system. I have also written a small DLL (USSsetup.dll) that is used to start/stop the service using a...
1
by: Andy | last post by:
Hello Guys: I am not sure if this is the place for this question, but I can't find a proper place for it. We have a C# application that uses an installer to install a service. However: we...
6
by: Pep | last post by:
Firstly, I'm not sure if this is the right group for this query, so please forgive me if I am wrong. My problem is that most users I distribute my software to cannot install it on their systems...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.