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

Simplifying .NET installation.

CR
To prepare a PC for my .NET apps I have to run dotnetfx.exe,
mdac_typ.exe and .NET setup programs for every single application. I
don't mind the dotnetfx.exe and mdac_typ.exe intalls because you only
have to do it once. What is annoying is having to run the setups for
each individual app. Is there an easier way to do this? In VB6 I was
able to run 1 setup program and that covered everything.

My apps "almost" work without running individual setup programs,
except when I try to call an excel macro. Then I get this error: "File
or assembly name Interop.Excel, or one of its dependencies was not
found."

Could I be calling my excel macro incorrectly?

Here is my code for calling a macro:

Dim objExcel As Excel.Application
objExcel = New Excel.Application
objExcel.Workbooks.Open(FileName:="c:\test.xls", ReadOnly:=True)
objExcel.Run("test.xls!test.test")
objExcel.Quit()
objExcel = Nothing

Chuck.
Nov 20 '05 #1
2 1339
Hi CR,

And you have build an MSI file?

Cor
To prepare a PC for my .NET apps I have to run dotnetfx.exe,
mdac_typ.exe and .NET setup programs for every single application. I
don't mind the dotnetfx.exe and mdac_typ.exe intalls because you only
have to do it once. What is annoying is having to run the setups for
each individual app. Is there an easier way to do this? In VB6 I was
able to run 1 setup program and that covered everything.

My apps "almost" work without running individual setup programs,
except when I try to call an excel macro. Then I get this error: "File
or assembly name Interop.Excel, or one of its dependencies was not
found."

Could I be calling my excel macro incorrectly?

Here is my code for calling a macro:

Dim objExcel As Excel.Application
objExcel = New Excel.Application
objExcel.Workbooks.Open(FileName:="c:\test.xls", ReadOnly:=True)
objExcel.Run("test.xls!test.test")
objExcel.Quit()
objExcel = Nothing

Chuck.

Nov 20 '05 #2
CR
"Cor Ligthert" <no**********@planet.nl> wrote in message news:<uu**************@TK2MSFTNGP11.phx.gbl>...

Yes. When I build the setup program it creates a setup.exe, setup.ini
and program_name.msi. When I run the setup.exe it installs the
application and then that application will successfully run excel
macros. But if I try to run a different app I get that error message
when I call a macro.

Hi CR,

And you have build an MSI file?

Cor
To prepare a PC for my .NET apps I have to run dotnetfx.exe,
mdac_typ.exe and .NET setup programs for every single application. I
don't mind the dotnetfx.exe and mdac_typ.exe intalls because you only
have to do it once. What is annoying is having to run the setups for
each individual app. Is there an easier way to do this? In VB6 I was
able to run 1 setup program and that covered everything.

My apps "almost" work without running individual setup programs,
except when I try to call an excel macro. Then I get this error: "File
or assembly name Interop.Excel, or one of its dependencies was not
found."

Could I be calling my excel macro incorrectly?

Here is my code for calling a macro:

Dim objExcel As Excel.Application
objExcel = New Excel.Application
objExcel.Workbooks.Open(FileName:="c:\test.xls", ReadOnly:=True)
objExcel.Run("test.xls!test.test")
objExcel.Quit()
objExcel = Nothing

Chuck.

Nov 20 '05 #3

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

Similar topics

1
by: Hai-Chu Hsu | last post by:
Hi, I want to restore my databases from the old SQL Server installation into a new installation of SQL Server. My new installation of SQL Server has different data path from the old...
1
by: 3f | last post by:
Hello; We have made a web application that people can download from our web site and installed on: Windows XP Windows 2000 Professional Windows 2003 Server Windows 2000 Server
5
by: InstallAware | last post by:
For Press Inquiries: Sinan Karaca InstallAware Software Corporation 336 Guerrero Street, San Francisco CA 94103 415 358 4094 (voice/fax) sinank@installaware.com http://www.installaware.com/ ...
2
by: mb12036 | last post by:
All- Having a problem installing a DB2 client on a machine running AIX version 5.0. Client appeared to install one time succesfully, then was uninstalled and a reinstall was attempted. For...
1
by: Hul Tytus | last post by:
comp.infosystems.www.authoring.html simplifying mailto In form entry code, the "POST action=mailto:xxx@xxx.xxx" command requests a Subject and a CC heading from the reader -- in lynx that is, I...
1
by: ImageAnalyst | last post by:
Yay!!! They fixed this for VS2005. You can now set the default installation to be "Everyone" instead of "Just Me" and you can control whether you even want those radio button installed in your...
2
by: salad | last post by:
Hi. I have some questions regarding the distribution and installation of an application. My current application is written in A97. I figure its time the application is upgraded to A2003 to...
0
by: steve | last post by:
If you think you can easily translate most relational division problems to sql you should write a book. If your not even sure what relational division even is or how it can do done in a sane way...
0
by: Now You Know | last post by:
Best Christmas Lights Decoration Sale Installation in Los Angeles 818-386-1022 (These types of Innovative lights will definetly add to your Christmas decor) Here are the tips to use: The most...
0
by: Now You Know | last post by:
Best Christmas Lights Decoration Sale Installation in Los Angeles 818-386-1022 (These types of Innovative lights will definetly add to your Christmas decor) Here are the tips to use: The most...
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:
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
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
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...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.