Re: Installing Assemblies and Registering OCX
- From: "Phil Wilson" <Phil.Wilson@xxxxxxxxxxxxxx>
- Date: Mon, 31 Jul 2006 16:37:16 -0700
There are lots of tools that can buid MSI files, Visual Studio being pretty
much the least-featured. Having said that:
Just copying files is straightforward. If you start a setup project and just
create folders off Application Folder you'll see how it works.
Running a 3rd party exe can be done with a custom action. However if it as
MSI-based setup it will not work because you can't run an MSI setup from a
VS custom action.
Assemblies get installed into the GAC in the same way as any other file in
the Visual Studio setup project's IDE, except that the GAC isn't in the
default list of visible locations on the target machine, so you'll need to
add it.
Registering an OCX - the file properties have a Register property. Set it to
vsdrfCOM.
--
Phil Wilson [MVP Windows Installer]
----
"BK" <BK@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:00AB83CE-6AA1-4C06-A453-A2D4D2411BAF@xxxxxxxxxxxxxxxx
After trying various strategies and reading many articles - I seek answers
in
this forum.
I have a VB.NET 200 Application that uses third party Mapping COM
Controls.
In addition, I have a VB6 compiled ActiveX Control.
There are no pre-requisites for installing the application - however,
there
are pre-requisites for RUNNING the Application. When I "install" the
application manually to a user machine, I carry out the following steps -
Before Launching the application.
1. Copy four folders and 7 files from the "install CD" to a newly created
folder on the target machine.
2. Run a third party Executable with a specific set of options. From a DOS
Command Prompt I run the following "mo23rt.exe /abcim". mo23rt.exe is one
of
the files that I copied over to the Hard Disk. This executable is actually
a
sort of setup created by the third party vendor using WISE Installer.
3. I Manually copy three Assemblies to the GAC (windows\assembly folder)
4. I have to register one OCX ("REGSVR32.EXE C:\SomeFolder\Legend.OCX"). I
have tried running the Command from a bath file for testing but it can't
find
the REGSVR32.EXE files sometimes. It is located in the WINDOWS\SYSTEM32
folder.
So - do you think all these steps can be SUCCESSFULLY implemented in a
setup
project? Well, if the answer is yes, could you give some pointers?
----------------
a) I have tried BootStrapper without succes
b) I have tried http://msdn2.microsoft.com/en-us/library/ms165432.aspx
"Deploying COM Components with ClickOnce " without success. I get the
following error :
Problem isolating COM reference 'MO22LegendControl': Registry key
'HKEY_CLASSES_ROOT\CLSID\{abe8f5a0-e31a-4b6a-b53d-343ae0185bb7}\InProcServer32'
is missing value '(Default)'.
That ('MO22LegendControl') is the VB6 code that I compiled into an
ActiveX -
did I miss some protocals?
Please help.
Regards.
.
- Follow-Ups:
- Prev by Date: Re: How can I get VS 2003 Prerequites CD
- Next by Date: Re: can't install .NET
- Previous by thread: Re: How can I get VS 2003 Prerequites CD
- Next by thread: Re: Installing Assemblies and Registering OCX
- Index(es):
Relevant Pages
|
Loading