473,606 Members | 2,877 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dependencies in my Setup project


I have created a setup project for my application. Within this setup
project I need to install another .exe file. When I add the .exe file to
the setup program, I get a message "unable to find
dependency 'MICROSOFT.OFFI CE.INTEROP.EXCE L'. So I added this interop dll
but it is not adding it to the dependencies but is just adding it to the
setup project. So when I build it still gives me the same error message.
How can I get it to see that this file is a dependency to my .exe file
that I added. If I right click on the .exe file and select dependency,
It shows the interop file as being a dependency. Any help would be
appreciated.

Thanks
Carol
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #1
3 6010
Carol, it sounds like you are having trouble building your application not
the setup project. It looks like you need to add a reference to the file
in your application project. Adding the reference to the other project
should take care of your problems, if it does not please respond to this
thread.

--------------------
Todd Derksen
Visual Basic Deployment Test Team
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
From: hangten <no******@pacbe ll.net> I have created a setup project for my application. Within this setup
project I need to install another .exe file. When I add the .exe file to
the setup program, I get a message "unable to find
dependency 'MICROSOFT.OFFI CE.INTEROP.EXCE L'. So I added this interop dll
but it is not adding it to the dependencies but is just adding it to the
setup project. So when I build it still gives me the same error message.
How can I get it to see that this file is a dependency to my .exe file
that I added. If I right click on the .exe file and select dependency,
It shows the interop file as being a dependency. Any help would be
appreciated.

Thanks
Carol
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Nov 16 '05 #2

Thanks Todd - The problem is that I only have this .exe and not the
project that it is built in. This exe is not part of my application but
is a seperate file and if I try to include it as a reference to my
project I get an error saying that the referenced file has to be a valid
assembly or com component. So I just added it to the setup program so
that the file gets placed in the correct folder on the target machine.
But that is when I get the dependency error that this exe is associated
with. I tried including those dependencies into my project but it still
gives me the error Unable to find dependency and the interop files it is
looking for. This error only occurs when I do a rebuild of the setup
project. So do I even need to worry about this. I ran the setup and it
did place the exe on the target machine. But does the exe have to get
registered ?
Thanks for your help.
Carol
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #3
Carol, sorry this one slipped past my radar for so long, It sounds like
the exe may not be registered on your development machine (Like ly cause of
"referenced file has to be a valid assembly or com component" error). I
would try registering it on your development machine. If that does not fix
the problem, you probably still have to register it on the target machine
so set the register property of the added file to vsdrfCom.

Todd Derksen
--------------------
Visual Basic Deployment Test Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: hangten <no******@pacbe ll.net>
Thanks Todd - The problem is that I only have this .exe and not the
project that it is built in. This exe is not part of my application but
is a seperate file and if I try to include it as a reference to my
project I get an error saying that the referenced file has to be a valid
assembly or com component. So I just added it to the setup program so
that the file gets placed in the correct folder on the target machine.
But that is when I get the dependency error that this exe is associated
with. I tried including those dependencies into my project but it still
gives me the error Unable to find dependency and the interop files it is
looking for. This error only occurs when I do a rebuild of the setup
project. So do I even need to worry about this. I ran the setup and it
did place the exe on the target machine. But does the exe have to get
registered ?
Thanks for your help.
Carol
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Nov 16 '05 #4

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

Similar topics

3
313
by: Sam Loveridge | last post by:
Hi all. I have a Web Service that I'm writing that needs to reference a VB.NET dll. The catch is that the VB.NET dll has a dependency on a COBOL dll which I can't load in my development environment (not a COBOL programmer), so when I try to build a setup project for the Web Service I run into problems because all the dependencies can't be imported. Does anyone have suggestions on how I might get around this?
1
4412
by: mp | last post by:
Hi, I have problem with project dependencies. I have made new setup application and everything works perfectly on my comp with VS 2003. On another computer with VS 2002 it does not work. Normally it does not work on computer without VS framework. I am not sure what proper way is to include dependencies. I know how VS automatically discovering all dependencies and add it to
1
2652
by: bob | last post by:
Hello, I have a SetUp project in my solution. When I add the primary output of certain projects to it they add their project dependencies twice - the debug and the release. Anyone known what I'm doing wrong? I'm worried that I'll end up shipping the debug version. Thanks,
2
13851
by: JT Lovell | last post by:
I have a solution with 5 projects and I need them to build in a particular order. I understand that setting the project dependencies will allow this, but when I go to the Project Dependencies dialog, the "Depends on" checkboxes are grayed out. Is there something else required in order to enable these? Thanks, -- JT Lovell
0
1140
by: Nick Zdunic | last post by:
When creating a Web Setup Project in VS 2005 and adding the project output from a web project, it doesn't appear that the dependencies are being added. The folder is blank when there should be several items in the list. Is there something missing or a new deployment model?
6
5383
by: =?Utf-8?B?YXByMDUyNA==?= | last post by:
I am wondering if there is a devenv switch that will ignore build dependencies that are set in .xxproj files. At the command line I am attempting to build individual projects that I do not want subjected to the build dependencies set in the project files.
1
301
by: Tim Zych | last post by:
I posted a question last week about this, but would like to ask again due to a fresh perspective. I only get this error in 2005, not 2003. In 2003 everything works as expected. If I create a Class Library project, with only a Windows Form and a ComClass module with fresh GUIDs in VS 2005, checking "Register for COM interop", and create a Setup project (msi) for the installation, and install it on another machine than mine, there is an...
6
4884
by: Miro | last post by:
I can run an exe ( and its install ) i have created on my machine. The exe has a button that populates a dataset and then shoots it to a crystal report. But... Installing the setup.exe on my other pc, and running it I get an error. The Dataset loads properly, but when the button is pushed to view the report I get this error: ************** Exception Text **************
4
3295
by: Miro | last post by:
<i have also added this reply to the other newsgroup - now that I have realizd ( and assuming ) it is not a localized error directly to vb.> I have found this link on the website: https://www.sdn.sap.com/irj/sdn/businessobjects-downloads ..NET Utility CR 2008 Merge Modules for the .NET Framework ZIP 74.716 Windows English 12.03.2008 and it states:
0
8031
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7962
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
8456
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
8443
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
8107
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
3945
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3989
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1565
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1309
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.