Basically MsiPubAssemblies runs in commit phase execution so regardless of where you schedule it, you'll have this race condition.
http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg12694.html Have you considered using COM extraction instead of SelfReg? Since DllRegisterServer doesn't get executed at runtime you have a more reliable installer that doesn't have the dependency you mention. --- On Tue, 9/8/09, Pahmp Mikael (SE) <mikael.pa...@baesystems.se> wrote: > From: Pahmp Mikael (SE) <mikael.pa...@baesystems.se> > Subject: [WiX-users] MisPublishAssemblies before SelfRegModules > To: "'wix-users@lists.sourceforge.net'" <wix-users@lists.sourceforge.net> > Date: Tuesday, September 8, 2009, 6:49 AM > Hi, > > I have a few self-registering ocx:es which depend on > Microsoft CRT dlls (msvctrt.dll). I include > Microsoft_VC80_CRT_x86.msm in my msi. > However, when my ocx self-registers during installation, > the CRT dlls are not available yet. I saw that the > MsiPublishAssemblies action is scheduled after > SelfRegModules and tried to change the order: > > <SelfRegModules > Sequence="5600"/> > <SelfUnregModules > Sequence="2200"/> > <MsiPublishAssemblies > Sequence="5590"/> <!-- needs to be before > SelfRegModules --> > <MsiUnpublishAssemblies > Sequence="2210"/> <!-- needs to be after > SelfUnregModules --> > > Looking at the install log, I now see MsiPublishAssemblish > is done before SelfRegModules but the MsiPublishAssemblish > action doesn't seem to do anything and self-registration > still fails. > > Anybody have some ideas? > > /Mikael > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 30-Day > trial. Simplify your report design, integration and > deployment - and focus on > what you do best, core application coding. Discover what's > new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users