All components need to belong to a feature
(for products) or Module (for merge modules). Put the appropriate
<ComponentRef /> under your Module element to fix the error.
Derek
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Shmarya Rubenstein
Sent: Sunday, July 09, 2006 7:44
AM
To: Rob Hamflett
Cc:
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] ICE64
Any ideas?
On 7/4/06, Shmarya
Rubenstein <[EMAIL PROTECTED]>
wrote:
Ok, added that now I'm getting:
warning LGHT1010 : Found orphaned Component 'ProgramsMenu'. Every
Component should have at least one parent Feature.
error LGHT0204 : ICEM05: The
component ProgramsMenu.B5B01DD1_64E0_4204_A7DE_B079DF5A26D6 in the Component
table is not listed in the ModuleComponents table.
Let me explain my setup a bit more:
I have a bunch of wxs <Module> files, all of which reference the one
central directories.wxs file, which now contains the following code:
<Fragment>
<Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='ProgramFilesFolder'
Name='PFiles'>
<Directory Id='INSTALLDIR'
Name='My'>
</Directory>
</Directory>
<Directory
Id="ProgramMenuFolder" Name="Programs">
<Directory
Id="ProgramMenuMyFolder" Name="My">
<Directory Id='ProgramMenuMyToolFolder' Name='Tools'>
<Component Id='ProgramsMenu' Guid='AB2F4C80-E4DB-4DB2-945F-10E3C5FD5F8F'>
<RemoveFolder Id='Null' On='uninstall'/>
</Component>
</Directory>
</Directory>
</Directory>
</Directory>
</Fragment>
Some of the modules contain <Shortcut>'s defined as part of <File>
elements. The <Shortcuts> use either ProgramMenuMyFolder or
ProgramMenuMyToolFolder for their Directory element's value.
Until I added the shortcuts, everything was great! Also, if I change the
ProgramMenuFolder to ProgramMenuFolder1 everything seems to work well....
Help!??!
Thanks,
Shmarya
If you want to get rid of the validation error you need to create a
component under
ProgramMenuMyToolFolder which just contains <RemoveFolder
/>. And yes, it's annoying.
Rob
Shmarya Rubenstein wrote:
> Hi all,
>
> I have the following:
>
> <Directory
Id="ProgramMenuFolder" Name="Programs">
> <Directory
Id="ProgramMenuMyFolder" Name="My">
> <Directory
Id=' ProgramMenuMyToolFolder' Name='Tools'>
>
</Directory>
> </Directory>
> </Directory>
>
> I use the Directories ID in a Shortcut definition:
> <File
>
Id='$(var.projectname).exe'
>
Name='$(var.projectname).exe'
>
Source='$(var.bin_directory)net-2.0/$(var.projectname).exe'
>
Vital='yes'>
> <Shortcut
>
Id="$(var.projectname)__shortcut"
>
Directory="ProgramMenuMyToolFolder"
>
Name="Imhotep Log Viewer"
>
WorkingDirectory='INSTALLDIR'
>
Icon='$(var.projectname).ico'
>
IconIndex='0'/>
>
> All seems fine...
>
> But when I 'light', I get the following:
> error LGHT0204 : ICE64: The directory ProgramMenuMyToolFolder is in the
> user profile but is not listed in the RemoveFile table.
>
> What am I doing wrong?
>
>
> --
> Shmarya
> -----------------------------------------------------------
> [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
> -
> http://idp.shmarya.net
>
>
> ------------------------------------------------------------------------
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Shmarya
-----------------------------------------------------------
[EMAIL PROTECTED]
- http://shmarya.net
NUnit rocks! http://nunit.com
|
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users