Re: file installation order
- From: MikeWorkflow <MikeWorkflow@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 6 May 2005 11:38:09 -0700
That makes sense, and yes it was set to vsdrfCOMSelfReg.
Thanks a lot for your help.
"Phil Wilson" wrote:
> In the VS setup project, in the properties of those OCXs, what was your
> Register property set to? I suspect it was vsdrfCOMSelfReg, which requires
> install-time registration and loading of your OCX, so its dependencies need
> to be present. If you use vsdrfCOM, the registration entries are extracted
> at build time, and at install time the registry entries are written from the
> MSI file and the OCX copied to the system, effectively the same as
> self-registration except that the OCX doesn't need to be loaded and called.
> --
> Phil Wilson
> [Microsoft MVP-Windows Installer]
> Definitive Guide to Windows Installer
> http://apress.com/book/bookDisplay.html?bID=280
>
> "MikeWorkflow" <MikeWorkflow@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:2CEBC1AA-D328-4CE1-8E6A-900EFA0BE7D1@xxxxxxxxxxxxxxxx
> > Greetings,
> >
> > I have a pretty straight forward installation file that includes a couple
> > OCX and DLLs that rely on MS VC++ runtime libraries. I've included the
> > merge
> > modules in the setup file to copy these necessary libraries to the user's
> > system.
> >
> > I of course need to register the OCXs when installing, and the OCXs cannot
> > be registered unless those runtime files are included.
> >
> > I build my setup MSI and run it on a machine and it works fine.
> >
> > However, another user tried running this MSI and the installer indicated
> > that it was unable to register my OCXs. I told them to ignore so they
> > could
> > finish the install, then run the setup again. The second time they ran it,
> > the OCXs were registered properly.
> >
> > This would indicate to me that the OCX files were copied and the installer
> > attempted to register them BEFORE the runtime libraries were copied out.
> >
> > In Visual Studio, the project can detect dependancies but this doesn't
> > help
> > me unless the merge module explicitly states a dependency or it detects
> > the
> > dependency from another VS project. Just trying to package up loose files
> > doesn't seem to leave me with an option to say "hey, make sure this file
> > is
> > installed before this one".
> >
> > Is there any way, either in my VS.NET setup project or using soemthing
> > like
> > ORCA, to ensure that those runtime libraries are copied out BEFORE my OCX
> > files?
>
>
>
.
- References:
- file installation order
- From: MikeWorkflow
- Re: file installation order
- From: Phil Wilson
- file installation order
- Prev by Date: Re: file installation order
- Next by Date: Can't start .NET Framework 2.0 Configuration Util
- Previous by thread: Re: file installation order
- Next by thread: Can't start .NET Framework 2.0 Configuration Util
- Index(es):
Relevant Pages
|