Okay, removing the attribute removed the error.  Is that a bug?  I seems
that no should mean no. 3.5 has the same behavior?

Since I am not using the Advertise attribute, does the RelativePath
attribute have any meaning?

Is the lack of relative path support a WIX issue or an installer issue?

I am trying to get all the registry entries that are created by RegAsm
created with as few manual entries as possible.  I have to add the AppId
etc because I am also registering the COM object for elevation.

----------------------------------------------------------------------
Roy Chastain




-----Original Message-----
From: Blair [mailto:os...@live.com] 
Sent: Monday, November 09, 2009 21:28
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Error message "Cannot convert RelativePathinto
Registry elements."

Looking at the 3.0 RTM help chm, here is what I see:

Try removing RelativePath attribute entirely from the Class element.

-----Original Message-----
From: Roy Chastain [mailto:r...@roychastain.org]
Sent: Monday, November 09, 2009 12:52 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Error message "Cannot convert RelativePath into
Registry elements."

I have the following XML

<Component Id="COMDllComponent"
Guid="FE540942-A911-4bc3-851C-1A810122011E">
  <File Id="COMDll" Name="$(var.COMDll.TargetFileName)"
Source="$(var.COMDll.TargetPath)"
    Assembly=".net" AssemblyApplication="COMUser"
AssemblyManifest="COMDll"
    DiskId="1" KeyPath="yes" />
  <AppId Id="{2415C722-C6DC-4a7c-80DA-447EA126BD4D}" Advertise="no"
    Description="Test COM Dll">
    <Class Id="{34224BB0-7F1C-4b88-9D1A-F06A4C9A396F}" Advertise="no"
Context="InprocServer32"
        Description="Test COM Dll" ForeignServer="mscoree.dll"
RelativePath="no"
      ThreadingModel="both" Version="1.0"/>
  </AppId>
</Component>

Candle indicates the error is on the <Class> statement.  I have tried
this with <Class> as a descendent of File and as a descendent of AppId
(as shown).  Same error message in both cases.

What does this error message really mean?


----------------------------------------------------------------------
Roy Chastain





------------------------------------------------------------------------
----
--
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

------------------------------------------------------------------------------
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

Reply via email to