Re: Simplifying .NET installation.

From: CR (cr113_at_hotmail.com)
Date: 06/17/04


Date: 17 Jun 2004 07:18:31 -0700


"Cor Ligthert" <notfirstname@planet.nl> wrote in message news:<uuFy7aFVEHA.2564@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.



Relevant Pages

  • Re: Macro Security Level - High Priority
    ... A macro can change that key, once enabled, so can probably a setup program ... and some network administrator weapons. ... > software automatically set the macro security level to HIGH and we know ...
    (microsoft.public.excel.programming)
  • Re: [Full-disclosure] [Windows XP] possible privilege escalation
    ... the setup program installs a classic ... "annoying" developpement app (the other day it was some Microsoft Office ... I doubt it would launch WMP for any reason, ...
    (Full-Disclosure)
  • Re: Reinstall of W2000
    ... If you replaced the registry from another machine then it probably wouldn't ... Even if it did the software installs would be trashed. ... "Tom Gunby" wrote: ... | Problem is the setup program cannot see the installed ...
    (microsoft.public.win2000.registry)
  • Homeworld 2
    ... I have 2 PCs, one of which Homeworld 2 installs fine on, but the other it wont! ... MSVCR70.dll is not a valid windows image, Please check this against your installation diskette. ... On the machine that it works on, the setup program has an icon, on the machine it doesnt install on, this file has the standard windows executable icon. ...
    (microsoft.public.windowsxp.games)
  • Re: Reinstall of W2000
    ... >If you replaced the registry from another machine then it ... Even if it did the software installs would be ... >| setup program to then see and overwrite the damaged OS? ...
    (microsoft.public.win2000.registry)