473,738 Members | 8,397 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Run regasm during setup

hi,

I would like to register a dll (regasm) during the execution of my
setup using custom actions.
I don't know where to place the parameters for regasm in the custom
action.
I tried using " [TARGETDIR]\myAssembly.dll " but regasm.exe didn't run
during the execution of the setup.

regasm <myAssembly.d ll/codebase

Thanks in advance

Aug 14 '06 #1
1 4474
auad,
Try putting your commands into a Batch (.bat) file and specify that instead.
Sometimes the macros can be a bit tricky. Put the batch file in the /bin
folder so it will be right next to the output.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"auad" wrote:
hi,

I would like to register a dll (regasm) during the execution of my
setup using custom actions.
I don't know where to place the parameters for regasm in the custom
action.
I tried using " [TARGETDIR]\myAssembly.dll " but regasm.exe didn't run
during the execution of the setup.

regasm <myAssembly.d ll/codebase

Thanks in advance

Aug 14 '06 #2

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

Similar topics

11
3763
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows 2003 Server or ADO or ODBC issue, I am posting this on all of the three newsgroups. That's the setup: Windows 2003 Server with IIS and ASP.NET actiavted Access 2002 mdb file (and yes, proper rights are set on TMP paths and path,
4
5855
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, but I need something from microsoft that says it is. Does anyone know of any files in the sdk or perhaps a URL that lists the files that can be freely distributed? Thanks, -Mike
1
4097
by: Dev | last post by:
Good morning sirs, I'm new on deploying .NET application, and now I need to deploy one. I will try myself to find information about the installing of the framework (if you have some interesting links/info, tell me) but the main question of this message is: 1) Assuming that I have successfuly deployed my app and the framework, I need to register via regasm.exe a C# DLL that will be used by a VB 6.0
0
1744
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 .Net assembly. Just like tlbimp which works on the entire COM Component (check out yesterdays article) tlbexp also works on the entire assembly. The entire assembly is converted at the same time. You cannot use it to
1
1555
by: Vikram | last post by:
i am registering crypto assebmbly using regasm for using it in my vb app, but when i refer class and invode its method it gives me some of the dependecies not found error. any suggestions
4
30926
by: Sean | last post by:
I've developed a VB6 application that uses a VB.Net dll. When distributed to client machines it works fine except for a few cases. The clients having problems seem to be missing RegAsm.exe from their machines, and the .Net dll is not being registered correctly (no tlb file is being created), causing an error saying "ActiveX cannot create object" when trying to create an object from the type library. What do the clients need to do to get...
2
2898
by: Kenneth Jonsson | last post by:
I have an COM server in an assembly. When it is deployed on a target computer it needs to be registred with RegAsm. I created a custom action in the deploy project, starting RegAsm with the assembly DLL as command argument. It all works as expected. To make RegAsm available I installed it from the framework bin directory to the componentes application folder on the target machine. An custom action can only refer executables in application...
2
4358
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 using RegAsm. My Question is Does the RegASM can be called from anywere like we call RegSvr32 or it will be found only in Visual Studio Tools Path? If the ans is yes, then should i handle this in code.
0
1217
by: raghudr | last post by:
Hi all, I have made a project to install all my .exe's and .dll's.(In VS2005- I am able to install it properly. Now the problem is recently i did a C# COM .dll and i am calling from VC++.exe when i insatll my project the tool installutil.exe should do a
0
8969
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8788
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9263
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9208
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8210
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4570
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4825
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3279
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2745
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.