On Thu, Feb 2, 2012 at 2:54 PM, Blair <os...@live.com> wrote:

> This is the registry key used to populate the
> NETFRAMEWORK40CLIENTINSTALLROOTDIR property. Can you verify that the
> registry key is set propertly on the XP box?
>
> HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Client
>        InstallPath
>
> Yep, that's set correctly


> Also in your verbose installation log you should see the property being set
> during the AppSearch action. Can you confirm?
>
> I see NETFRAMEWORK40, but not NETFRAMEWORK40CLIENTINSTALLROOTDIR

Also, you should have a PropertyRef for that property in your authoring
> (i.e. adjacent to your Component include this element: <PropertyRef
> Id="NETFRAMEWORK40CLIENTINSTALLROOTDIR" />) to ensure that the property
> will
> be setup in your MSI.
>
> I had NETFRAMEWORK40 set, but not NETFRAMEWORK40CLIENTINSTALLROOTDIR
Doh!  Had this right in another project, but neglected to bring forward both
PropertyRef.

I am now seeing the right setting in the Registry.  Thanks for your help!
--Dirk

Blair
>
> -----Original Message-----
> From: Dirk Herr-Hoyman [mailto:hoym...@gmail.com]
> Sent: Thursday, February 02, 2012 10:53 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Problem with EventSource on XP
>
> I'm having a problem with getting an EventSource to work correctly on XP,
> the same install works fine on Win7.
>
> <Component Id="ApplicationExe" Guid="*">
>              <File Id="mergefarms.exe"
> Source="$(var.MergeFarms.TargetDir)$(var.MergeFarms.TargetFileName)" />
>              <util:EventSource Log="SnapPlus" Name="SnapPlus"
>
> EventMessageFile="[NETFRAMEWORK40CLIENTINSTALLROOTDIR]EventLogMessages.dll"/
> >
>            </Component>
>
> Is how I have it setup.  The problem on XP is that the registry entry for
> the eventmessagefile comes out as plain old "EventLogMessages.dll".  It's
> supposed to tack on the .NET 4 path and be
> C:\Windows\Microsoft.NET\Framework\v4.0.30319\EventLogMessages.dll.  On
> Win7 it does come
> out with the full path.   This is causing the annoying message about a
> missing event messages.
>
> The rest of the WiX install looks to be working.  I do have the
> WixNetFxExtension and WixUtilExtension
> on my setup project and the xmlns: set at the top.   I did go back to my
> clean XP build and installed
> .NET 4.
>
> Is this a problem on XP or am I missing something?  Thanks --Dirk
>
>
>
> --
> Dirk Herr-Hoyman
>
> ----------------------------------------------------------------------------
> --
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers is
> just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro
> Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
Dirk Herr-Hoyman
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to