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 / Visual Studio.NET / Setup / January 2006

Tip: Looking for answers? Try searching our database.

Setup GAC,Registry, and dialogs

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Aaron W. - 29 Jan 2006 02:25 GMT
VS.NET 2005 Setup Questions

1)  Are registry settings that are imported into the registry editor
automatically uninstalled when uninstalling?

2)  I'm installing an toolbar application that uses COM
(microsoft.mshtml & interop.shdocvw.dll).  I need to register these
using regasm as well as install them into the gac.
    a) Does it matter which order this happens?
    b) What order do the different Editory in vstudio 2k5 execute?
    c) Is there a way to control the order in which the editors execute.
   

3)  I also have  a register.exe which is executed via the register user
dialog.  Is there a way i can force this register option to be required?
 It by default is only optional.

Thanks,

Aaron
Phil Wilson - 31 Jan 2006 15:41 GMT
1. Yes.

2. This is confusing. Interop Dlls do not need registering with Regasm. So
that interop Dll is just a wrapper that lets your .NET app call the real COM
objects in shdocvw.dll. You run regasm on .NET assemblies that export their
own COM interfaces, not on interop Dlls that map .NET calls to COM calls.
Maybe that's what you've got, if so, just add the assembly to the setup in
some folder and set its Register property to vsdraCOM. Use tlbexp to
generate a type library and install that type library too, it will get the
right Register property automatically (vsdrfCOM IIRC). That combination will
do what regasm does, and the order won't matter. In general it doesn't make
any difference in which order things happen during an MSI install, and you
have no control over the order in the MSI install anyway.

3. I've not heard of a register dialog or register.exe, and I don't think
i've ever seen one either, so can't help you here,

Signature

Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

> VS.NET 2005 Setup Questions
>
[quoted text clipped - 15 lines]
>
> Aaron

Rate this thread:







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.