Change the HelpDirectory attributes for the TypeLibs in the pasted code
which point at SystemFolder to point somewhere else such as
"dir07B00FE80C030860241E2DB3BAF7AE7D" (that's an example, might not be
correct for your COM DLL's).

heat.exe generates sample code, you shouldn't expect to be able to use
it blindly without checking it's generating something sensible (even
though many people do on a regular basis).

Also you may want to run heat.exe with the -suid flag so you get more
readable directory & file identifiers than
"dir07B00FE80C030860241E2DB3BAF7AE7D".

Palbinder Sandher
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501 

http://www.iesve.com
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 Registered Office - Helix Building, West Of Scotland Science
Park, Glasgow G20 0SP Email Disclaimer
 
-----Original Message-----
From: subrat agasti [mailto:subrat.w...@gmail.com] 
Sent: 07 July 2010 12:16
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Unresolved reference to
symbol'Directory:SystemFolder'in section 'fragment:'

Hi,

I am very new to WIX. When i am trying to create an msi i am getting the
following error.

Unresolved reference to symbol 'Directory:SystemFolder'in section
'fragment:'

I have created the .wxs file using heat.exe. I know that there is no
systemFolder diretory in my directory structure.
But why did Heat generated this folder and how do i resolve this error?

Below is the fragment that is causing the problem



<Fragment>

<DirectoryRef Id="dir07B00FE80C030860241E2DB3BAF7AE7D">

<Component Id="cmp40CE577774724631208ADA05F65F4A51" Guid="
{0C99C0B5-F531-4AA0-8E18-F5FCA74793DA}">

<Class Id="{D5DE8D20-5BB8-11D1-A1E3-00A0C90F2731}"
Context="InprocServer32"
Description="VBPropertyBag" ThreadingModel="apartment" ForeignServer="
msvbvm60.dll" />

<File Id="filC9B10037678695297E47AA93580CE72C" KeyPath="yes" Source="
..\..\Monarch.Client\EFI.Binaries\SetMonarchWin.dll">

<TypeLib Id="{60AD7F4B-F1E9-47B5-B6D5-C4373D5F9C2B}" Description="
SetMonarchWin" HelpDirectory="dir07B00FE80C030860241E2DB3BAF7AE7D"
Language= "0" MajorVersion="17" MinorVersion="0">

<Class Id="{5BA8949F-EE19-4FD9-B4D1-99A842DA5C0F}"
Context="InprocServer32"
Description="SetMonarchWin.SetWinProp" ThreadingModel="apartment"
Version="
17.0" Programmable="yes">

<ProgId Id="SetMonarchWin.SetWinProp"
Description="SetMonarchWin.SetWinProp"/>

</Class>

<Interface Id="{B863F088-9246-420E-8570-06BBD57C0866}" Name="SetWinProp"
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32 ="{00020424-0000-0000-C000-000000000046}" />

</TypeLib>

<TypeLib Id="{000204EF-0000-0000-C000-000000000046}" Description="Visual
Basic For Applications" HelpDirectory="SystemFolder" Language="9"
MajorVersion="6" MinorVersion="0">

<Interface Id="{A4C466B8-499F-101B-BB78-00AA00383CBB}" Name="_ErrObject"
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32 ="{00020424-0000-0000-C000-000000000046}" />

<Interface Id="{A4C46780-499F-101B-BB78-00AA00383CBB}"
Name="_Collection"
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32 ="{00020424-0000-0000-C000-000000000046}" />

</TypeLib>

<TypeLib Id="{EA544A21-C82D-11D1-A3E4-00A0C90AEA82}" Description="Visual
Basic runtime objects and procedures" HelpDirectory="SystemFolder"
Hidden="
yes" Language="9" MajorVersion="6" MinorVersion="0">

<Interface Id="{14E469E0-BF61-11CF-8385-8F69D8F1350B}" Name="
AsyncProperty_VB5"
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />

<Interface Id="{2CE46480-1A08-11CF-AD63-00AA00614F3E}" Name="
SelectedControls"
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />

<Interface Id="{41A7D760-6018-11CF-9016-00AA0068841E}" Name="DataObject"
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32 ="{00020424-0000-0000-C000-000000000046}" />

<Interface Id="{41A7D761-6018-11CF-9016-00AA0068841E}"
Name="DataObjectFiles "
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />

<Interface Id="{4495AD01-C993-11D1-A3E4-00A0C90AEA82}"
Name="_PropertyBag"
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32 ="{00020424-0000-0000-C000-000000000046}" />

<Interface Id="{45046D60-08CA-11CF-A90F-00AA0062BB4C}"
Name="PropertyBag_VB5 "
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />

<Interface Id="{737361EC-467F-11D1-810F-0000F87557AA}" Name="Licenses"
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32 ="{00020424-0000-0000-C000-000000000046}" />

<Interface Id="{7500A6BA-EB65-11D1-938D-0000F87557C9}"
Name="DataBinding"
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32 ="{00020424-0000-0000-C000-000000000046}" />

<Interface Id="{8284B8A2-A8A8-11D1-A3D2-00A0C90AEA82}"
Name="LicenseInfo"
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32 ="{00020424-0000-0000-C000-000000000046}" />

<Interface Id="{83C49FF0-B294-11D0-9488-00A0C91110ED}"
Name="DataMembers"
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32 ="{00020424-0000-0000-C000-000000000046}" />

<Interface Id="{888A5A60-B283-11CF-8AD5-00A0C90AEA82}" Name="Hyperlink"
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32 ="{00020424-0000-0000-C000-000000000046}" />

<Interface Id="{B28FA150-0FF0-11CF-A911-00AA0062BB4C}" Name="
AmbientProperties"
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />

<Interface Id="{BE8F9800-2AAA-11CF-AD67-00AA00614F3E}"
Name="ParentControls"
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32 ="{00020424-0000-0000-C000-000000000046}" />

<Interface Id="{C0324960-2AAA-11CF-AD67-00AA00614F3E}" Name="
ContainedControls"
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />

<Interface Id="{C4D651F0-7697-11D1-A1E9-00A0C90F2731}"
Name="EventParameter"
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32 ="{00020424-0000-0000-C000-000000000046}" />

<Interface Id="{C4D651F1-7697-11D1-A1E9-00A0C90F2731}"
Name="EventParameters "
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />

<Interface Id="{C4D651F2-7697-11D1-A1E9-00A0C90F2731}" Name="EventInfo"
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32 ="{00020424-0000-0000-C000-000000000046}" />

<Interface Id="{CBB76011-C508-11D1-A3E3-00A0C90AEA82}"
Name="AsyncProperty"
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32 ="{00020424-0000-0000-C000-000000000046}" />

<Interface Id="{D4E0F020-720A-11CF-8136-00AA00C14959}"
Name="DataBindings"
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32 ="{00020424-0000-0000-C000-000000000046}" />

<Interface Id="{E43FD401-8715-11D1-98E7-00A0C9702442}"
Name="IVbeRuntimeHost "
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />

<Interface Id="{EB41E8C1-4442-11D1-8906-00A0C9110049}" Name="
_DDataBoundClass"
ProxyStubClassId="{00020420-0000-0000-C000-000000000046}"
ProxyStubClassId32="{00020420-0000-0000-C000-000000000046}" />

<Interface Id="{EB41E8C2-4442-11D1-8906-00A0C9110049}" Name="
_DDataSourceClass"
ProxyStubClassId="{00020420-0000-0000-C000-000000000046}"
ProxyStubClassId32="{00020420-0000-0000-C000-000000000046}" />

<Interface Id="{EB41E8C3-4442-11D1-8906-00A0C9110049}" Name="
_DDataBoundAndDataSourceClass" ProxyStubClassId="
{00020420-0000-0000-C000-000000000046}" ProxyStubClassId32="
{00020420-0000-0000-C000-000000000046}" />

<Interface Id="{EB41E8C4-4442-11D1-8906-00A0C9110049}" Name="
_DPersistableClass"
ProxyStubClassId="{00020420-0000-0000-C000-000000000046}
" ProxyStubClassId32="{00020420-0000-0000-C000-000000000046}" />

<Interface Id="{EB41E8C5-4442-11D1-8906-00A0C9110049}" Name="
_DPersistableDataSourceClass" ProxyStubClassId="
{00020420-0000-0000-C000-000000000046}" ProxyStubClassId32="
{00020420-0000-0000-C000-000000000046}" />

<Interface Id="{FCFB3D2B-A0FA-1068-A738-08002B3371B5}" Name="_DClass"
ProxyStubClassId="{00020420-0000-0000-C000-000000000046}"
ProxyStubClassId32 ="{00020420-0000-0000-C000-000000000046}" />

</TypeLib>

</File>

<RegistryValue Root="HKCR"
Key="CLSID\{5BA8949F-EE19-4FD9-B4D1-99A842DA5C0F}\Implemented
Categories\{40FC6ED5-2438-11CF-A3DB-080036F12502}" Value=""
Type="string"
Action="write" />

</Component>

</DirectoryRef>

</Fragment>
Regards,

Subrat Agasti
------------------------------------------------------------------------
------
This SF.net email is sponsored by Sprint What will you do first with
EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to