Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / November 2005

Tip: Looking for answers? Try searching our database.

RegAsm.exe /regfile /codebase

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
PFx - 18 Nov 2005 10:22 GMT
Hi,

Is it allowed to specifiy %windir% in de .reg-file that regasm.exe /codebase
/regfile:foo.reg produces?

Instead of
   "CodeBase"="file:///C:/WINDOWS/System32/Concentra.TripleDeal.DLL"
I would like
   "CodeBase"="file:///%windir%/System32/Concentra.TripleDeal.DLL"

After manually editing this .reg-file, merging it in the registry and
copying it to the path specified, COM-activation failes.

Tanx

PFx
Dmytro Lapshyn [MVP] - 18 Nov 2005 10:59 GMT
Hi,

I don't think Windows environment variables are expanded in registry values.
On the other hand, if you deploy your assembly to the System32 folder,
consider deploying it to the Global Assembly Cache instead.

Signature

Sincerely,
Dmytro Lapshyn [Visual Developer - Visual C# MVP]

> Hi,
>
[quoted text clipped - 13 lines]
>
> PFx

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.