Solved by including wixca.wixlib to light's input ________________________________
From: Alan Sinclair Sent: Wednesday, December 10, 2008 6:13 PM To: wix-users@lists.sourceforge.net Subject: Unresolved reference to symbol 'CustomAction:SchedSecureObjects' I'm trying to add code to set directory permissions, plagiarizing working code from another file. Adding the new code gets an error from light and it's got me baffled. <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder" Name="PFiles"> <Directory Id="MyStuff" Name="MyCompany"> <Directory Id="INSTALLDIR" Name="MyClient" LongName="$(env.BUILD_PRODUCT_NAME)"> <!-- Create the folder, so that ACLs can be set to NetworkService --> <Component Id="TheDestFolder" Guid="{3E7974B0-F14A-4F9F-8CB1-D9737F658D51}" DiskId="1" KeyPath="yes"> <CreateFolder Directory="INSTALLDIR"> <Permission User="NetworkService" Extended="yes" Delete="yes" GenericAll="yes"> </Permission> </CreateFolder> </Component> The top four lines are OK. Adding the TheDestFolder Component (plus an appropriate ComponentRef) triggers this: c:/PROGRA~1/WI577F~1/bin/light.exe -nologo -w0 -wx -pedantic:legendary -out Mypkg.msi MyEdge.wixobj MyCommon.wixobj MyCore.wixobj MyEdgeService.wixobj MyCA.wixobj MyEdgeGui.wixobj Release/vc_crt.wixobj "c:\PROGRA~1\WI577F~1\bin\wixui.wixlib" -loc "c:\PROGRA~1\WI577F~1\bin\WixUI_en-us.wxl" C:\cygwin\home\alan\perforce\trunk\windows_package\wix\MyEdge.wxs : error LGHT0112 : Unresolved reference to symbol 'CustomAction:SchedSecureObjects' in section 'Product:????????-????-????-????-????????????'. Can anyone give me any clues please? ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users