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

Automate GAC and REGASM process by code

is it possible to automate GAC and REGASM process byt code?
i need to do the following procedure using code ,is it possbile?

1. gacutil - i assemblyname
2. regasm assmebname /tlb:name/codebase
Nov 17 '05 #1
2 3643
Process.Start(new ProcessStartInfo("gacutil", "-i " + assemblyPath));

"Raed Sawalha" <Ra*********@discussions.microsoft.com> wrote in message
news:62**********************************@microsof t.com...
is it possible to automate GAC and REGASM process byt code?
i need to do the following procedure using code ,is it possbile?

1. gacutil - i assemblyname
2. regasm assmebname /tlb:name/codebase

Nov 17 '05 #2
In message <62**********************************@microsoft.co m>, Raed
Sawalha <Ra*********@discussions.microsoft.com> writes
is it possible to automate GAC and REGASM process byt code?
i need to do the following procedure using code ,is it possbile?

1. gacutil - i assemblyname
2. regasm assmebname /tlb:name/codebase


It is possible, yes. Alternatively, write a program which creates batch
files to do the job. I wrote something similar for a former employer
which used reflection and a few custom attributes to generate scripts
which the admins could run to register components in the GAC and for
COM+.

I started writing something else to validate and correct the COM+
catalog settings (because sometimes it's asking too much to expect
someone to read, understand and implement a set of simple instructions)
but never had time to finish it. It would be fairly trivial to write a
program which managed the whole process in a more idiot-proof manner
than relying on command line tools and the COM+ explorer.

--
Steve Walker
Nov 17 '05 #3

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

Similar topics

4
by: Michael Riggio | last post by:
Hello, Part of the installation process for our program requires regasm.exe to be run. However, I can't find any specific information that says it is freely distributable. I would image it is,...
3
by: Brad Burke | last post by:
From a windows .Net app, I need to 1) check if MSAccess is already open to a certain Access application. If so, then open a form and find a certain record. 2) If not open, then open MSAccess and...
1
by: Mark | last post by:
Hi all, I have a Access 2002 FE/BE scenario where the BE is stored on a network drive. Due to the amount of importing/deleting, the database bloats quite a lot. UP until now, I have been booting...
2
by: Phil Latio | last post by:
We have despatch process which kicks out picking information into text files at hourly intervals. The text files are named sequentially by process; 'ABC.txt', 'ABC01.txt', 'ABC02.txt' for one...
4
by: Craig | last post by:
I have created a little C# project that produces a .DLL that is exposed as a COM object using the regasm utility from the .Net Framework. Our formal build process is all VS 6.0 C++ and VB, no .Net...
0
by: Namratha Shah \(Nasha\) | last post by:
Hey Guys, TlbExp.exe and Regasm.exe tools aid us in exporting assembly information to a type library so that non .Net Applications or unmanaged code use this type library information to call...
3
by: Howard Kaikow | last post by:
I was playing with a COM example in an article at the MSFT web site. This resulted in a DLL, call it x.dll, getting registered. When I was done, I tried to unregister the dll using regasm /u...
2
by: gopal | last post by:
I installed MS DevEnv 2003 with framework 1.1.I developed a small application which looks out for the assembly vcersion of a .net DLL or EXE via code. But i have a problme durng the registration...
3
by: mariner92689 | last post by:
Hi all, I am very poor at scripting. My goal is to automate a process that I often have to stand by the computer and wait for each step to finish in order for me to manually proceed to the next...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.