Using Installutil.exe for a 2nd location of the Execption Management Block

  • Thread starter Thread starter moondaddy
  • Start date Start date
M

moondaddy

I installed the exception management block on my computer and it defaulted
to:
C:\Program Files\Microsoft Application Blocks for .NET\Exception
Management\Code\VB\

Now I want to make a copy of that project in a different location where I
can experiment with customizing it while leaving the original project safe
and intact. So I copied everything to its new location OK, but now I need
to run:
Installutil.exe Microsoft.ApplicationBlocks.ExceptionManagement.dll

to complete the process and get it to compile. My question is; in the above
command line, how does it know to use the
Microsoft.ApplicationBlocks.ExceptionManagement.dll in the new location and
not the original? How would I write the command line for the new project's
folder is:
C:\Inetpub\wwwroot\ExceptionManagementBlock\

This is just a temporary location so its close to the project using it.
Normally I wouldn't stick it in wwwroot.

Can anyone advise me on how to do this?

Thanks.
 
Hi,

From the MSDN, we will know that the installutil tool is used to Installing
and Uninstalling Services.
So if you have moved the location of the service assembly dll, we have to
rerun the tool to reregister the service or the windows service control
manager can not find the service assembly dll image file which is necessary
for running the windows service.

If you have any concern on this issue,please feel free to post here.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi

I am sorry for my mistake.
More accurate, the installutil tool allows you to install and uninstall
server resources by executing the installer components in a specified
assembly. This tool works in conjunction with classes in the
System.Configuration.Install Namespace.

That is to say we installutil tool is used to run the code (installer
components) to do the install issue to simplify the install process.
And windows service also use the installer components to do the install
issue.

Here I have to say the Exception Management Block is just run as an
component not an windows service.

If you still have any concern, please feel free to post here.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
OK Thanks. I don't know what they made the block to you have to use this
tool to install the block correctly. it seems that the way they did it,
makes it difficult to have several versions running on one pc, or at least
they didn't document it very well explaining how to have several installs.
 

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

Back
Top