According to
documentation<http://wix.sourceforge.net/manual-wix2/wix_xsd_fileshare.htm>,
parents of <FileShare> are either <Component> or <Include>. Try to move
<FileShare> out from <CreateFolder>.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ashok Kumar
Sent: Tuesday, February 19, 2008 9:40 AM
To: wix-users@lists.sourceforge.net
Cc: [EMAIL PROTECTED]
Subject: [WiX-users] Issue with creating a file share
Hi, I am having trouble compiling the wix file which is creating a fileshare
for a folder (this folder is also created in the wix itself). Any insight to
what i am doing wrong would be helpful.
Compilation error:
1>Compiling - Candle .\InvoiceBackendProcessing.wxs
InvoiceBackendProcessing.wixobj
1>errors in directory
g:\scs-f\private\server\distributionprogram\setup\installers\invoicebackendprocessing
1>g:\scs-f\private\server\distributionprogram\setup\installers\invoicebackendprocessing\invoicebackendprocessing.wxs(44)
: error CNDL0005 : The CreateFolder element contains an unexpected child
element 'FileShare'.
1>NMAKE : fatal error U1077: 'g:\scs-f\public\ext\wix\wixv2\candle.exe' :
return code '0x5'
Part of wix :
<Directory LongName='Report' Name='Dir~6' Id='REPORTFOLDER'>
<Component Guid='17887AEB-7B4A-4aa6-A889-ECD11689FE1E' DiskId='1'
Id='REPORT_FEATURE'>
<CreateFolder>
<Permission User='Administrators' GenericAll='yes'/>
<Permission User='SYSTEM' GenericAll='yes'/>
<Permission User='[REPORTUSERNAME]'
Traverse='yes' GenericAll='yes' ReadPermission='no'
WriteAttributes='yes' WriteExtendedAttributes='yes'
ChangePermission='yes' TakeOwnership='yes' CreateChild='yes'/>
<FileShare Id='REPORTSHARE' Description='Report Share' Name='Report1'>
<Permission GenericRead='yes' ReadPermission='yes' Read='yes'
GenericExecute='yes' User='Everyone'/>
</FileShare>
</CreateFolder>
</Component>
</Directory>
________________________________
Climb to the top of the charts! Play the word scramble challenge with star
power. Play
now!<http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users