473,791 Members | 2,725 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_R TL__X86_---.msm), that contain the MSVCP71.DLL and MSVCR71.DLL's, to the System Folder. The [+]MergeModuleProp erties 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 7437
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********@noe mail.com> wrote in message
news:32******** *************** ***********@mic rosoft.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_R TL__X86_---.msm),
that contain the MSVCP71.DLL and MSVCR71.DLL's, to the System Folder. The
[+]MergeModuleProp erties 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_R TL__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********@noe mail.com> wrote in messag
news:32******** *************** ***********@mic rosoft.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_R TL__X86_---.msm)
that contain the MSVCP71.DLL and MSVCR71.DLL's, to the System Folder. Th
[+]MergeModuleProp erties 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********@noe mail.com> wrote in message
news:5F******** *************** ***********@mic rosoft.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_R TL__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********@noe mail.com> wrote in message
news:32******** *************** ***********@mic rosoft.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_R TL__X86_---.msm), that contain the MSVCP71.DLL and MSVCR71.DLL's, to the System Folder. The [+]MergeModuleProp erties 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********@noe mail.com> wrote in messag
news:5F******** *************** ***********@mic rosoft.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_R TL__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********@noe mail.com> wrote in messag news:32******** *************** ***********@mic rosoft.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_R TL__X86_---.msm) that contain the MSVCP71.DLL and MSVCR71.DLL's, to the System Folder Th [+]MergeModuleProp erties 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
2558
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 products, gpl'd or commercial; its hard to know where to start. In addition, I am not a particular expert in mysql installation. Anyone have any suggestion as to installers, where to start etc? thanks - Lou
12
2768
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 when trying to install it, I immediately got this error: This installation package cannot be installed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service.
0
1464
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. Whenever I try to delete a dll using a GAC removal utility (with a parameter to force the uninstallation even if there are dependancies) I get a message saying that the assembly is required by one or more applications and that there are pending...
7
3688
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 to it, using installutil.exe OR is it must to have an installer to the service project to be able to
3
1893
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 should be identicle. On one system the installer project will compile correctly, but on two others it will fail with this error. ------ Rebuild All started: Project: Installer, Configuration: Debug ------ Building file 'T:\Current Builds...
3
2337
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 two modifications to the sample in the document...both are in the "Protected Sub AddDBTable" (towards the bottom). I've changed ' Creates the database.
4
320
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 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...
1
1580
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 cannot find how to pass a Service Name to the installer, in the event we want to install multiple services on the same server. Would anyone be able to help?
6
2035
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 due to not having the correct administrator rights. I'm perplexed over this as I cannot reasonably ask corporations to allow the local secretary to have admin or power user rights just to install my software. My software is intended for user...
0
9515
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10426
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10207
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10154
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9993
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7537
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5558
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4109
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3713
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.