473,387 Members | 3,820 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,387 software developers and data experts.

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.OFFICE.INTEROP.EXCEL'. 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 6001
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******@pacbell.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.OFFICE.INTEROP.EXCEL'. 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******@pacbell.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
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...
1
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....
1
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...
2
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...
0
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...
6
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...
1
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...
6
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...
4
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:...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
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...
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...

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.