Simplifying .NET installation.

C

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.
 
C

CR

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top