all groups > visual studio .net enterprise tools > january 2005 >
You're in the

visual studio .net enterprise tools

group:

Can't install EIF instrumented application using VS Installer (MSI)


Can't install EIF instrumented application using VS Installer (MSI) P V
1/18/2005 8:06:45 AM
visual studio .net enterprise tools:
I would like have my application automatically install (including the steps
normally performed by InstallUtil). So, I added a CustomAction that calls
the ProjectInstaller class.

I know that there is a problem with EIF installation loading the assemblies
if they are not in the working directory, so I added some code that sets the
current directory to the TARGETDIR.

However, when I run setup.exe, I get a messagebox "Usage InstalUtil
[/u]...".

Without setting the current directory, I just get a general
"exception...examine the log..." message, but there is nothing intelligible
in either the setup log, or the windows event log. It seems the windows
event log message dll is not installed properly.

How can I get the InstallUtil stuff to automatically run?

I saw some posts suggesting that Mike Hayton has a "hack" for this. How do
I get a hold of this code?

RE: Can't install EIF instrumented application using VS Installer (MSI) mikehayt_ NO[at]SPAM online.microsoft.com
1/21/2005 12:19:22 AM
Hi there,

I've attached the sample to this posting.

Note that web base news reader normally strip out attachments - so you'll
probably need to use some other type of newsgroup reader (e.g. outlook
express)

If you still cant get hold of it send me an email (strip out the 'online'
and any funny characters in my address) and I'll email it back as an
attachment.

Cheers

Mike


--

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
|
| I would like have my application automatically install (including the
steps
| normally performed by InstallUtil). So, I added a CustomAction that calls
| the ProjectInstaller class.
|
| I know that there is a problem with EIF installation loading the
assemblies
| if they are not in the working directory, so I added some code that sets
the
| current directory to the TARGETDIR.
|
| However, when I run setup.exe, I get a messagebox "Usage InstalUtil
| [/u]...".
|
| Without setting the current directory, I just get a general
| "exception...examine the log..." message, but there is nothing
intelligible
| in either the setup log, or the windows event log. It seems the windows
| event log message dll is not installed properly.
|
| How can I get the InstallUtil stuff to automatically run?
|
| I saw some posts suggesting that Mike Hayton has a "hack" for this. How
do
| I get a hold of this code?
|
|
AddThis Social Bookmark Button