What's the parent node of your product and package elements?

On Wed, Mar 3, 2010 at 5:20 PM, Alec Taylor <alec.tayl...@gmail.com> wrote:

> Top of the Morning to you,
>
> I'm trying to generate a complete Installer using the command-line
> tools. I have the directory structure. I want two choices, Custom &
> Complete. Complete I want to contain the 'Java' subdirectory, whilst
> Custom I'd like the user to be able to choose whether or not to
> include it.
>
> Eventually I would like to use the MondoUI.
>
> Here is everything I have done so far (related to WiX);
>
> _____
>
> D:\>heat dir P:\Package\toplevelofprogram -gg -sfrag -template
> fragment -out directory.wxs ".\toplevelofprogram"
> Microsoft (R) Windows Installer Xml Toolset Harvester version 3.5.1405.0
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> D:\>heat dir P:\Package\Java -sfrag -template fragment -out
> directory.wxs ".\Java"
> Microsoft (R) Windows Installer Xml Toolset Harvester version 3.5.1405.0
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> D:\>candle directory.wxs java.wxs
> Microsoft (R) Windows Installer Xml Compiler version 3.5.1405.0
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> directory.wxs
> java.wxs
>
> D:\>light directory.wixobj java.wixobj -o Package.msi
>
> Microsoft (R) Windows Installer Xml Linker version 3.5.1405.0
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> light.exe : error LGHT0093 : Could not find entry section in provided list
> of in
> termediates. Expected section of type 'Product'.
>
> _____
>
> So I edited directory.wxs including;
> Product Id='{609FC159-2337-4ABF-A9F8-6D7BD0666931}' Name='Test
> Package' Language='1033'
>            Version='1.0.0.0' Manufacturer='Microsoft Corporation'
> UpgradeCode='{2381EC89-003D-4653-98CC-644F5014B19F}' >
>      <Package Description='My first Windows Installer package'
>               Comments='This is my first attempt at creating a
> Windows Installer database'
>               Manufacturer='Microsoft Corporation'
> InstallerVersion='200' Compressed='yes' />
> _____
>
> Then after going through the other compilation steps, received this error;
>  error CNDL0005 : The Wix element contains an unexpected child element
> 'Package'
> .
> java.wxs
>
> _____
>
> I am aware that I am doing something wrong.
>
> What am I doing wrong & how do I fix it?
>
> Thank you so much,
>
> Alec Taylor
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to