Yeah, Votive doesn't expose all switches. You'd have to modify your .wixproj directly to pass the switch.
On Tue, Oct 1, 2013 at 5:43 AM, Ravishankar < ravishankar.krishnasw...@idsnext.com> wrote: > Hi Rob, > Many Thanks .. :-) > I will try the file spit approach > Also how to pass -ss swtich to candle.exe, am compiling from VS 2008 and > i didnt find any place where we can provide the switch > > > Thanks and Regards > Ravi Shankar > > On 10/1/2013 6:06 PM, Rob Mensching wrote: > > Wow, the XmlDocument validation is running out of memory. Your single > .wxs > > file apparently is too big for the .NET Framework. I'd recommend > splitting > > your .wxs into a few smaller documents. You could also try passing the > > "-ss" switch to candle but smaller documents are probably the best way to > > go. > > > > > > On Tue, Oct 1, 2013 at 2:37 AM, Ravishankar < > > ravishankar.krishnasw...@idsnext.com> wrote: > > > >> Hi, > >> Am building a installer with 6100 files and getting the below > >> OutofmemoryExecption > >> Please find the error log > >> > >> Kindly share your expertise.... :-) > >> > >> ------ Build started: Project: Fortune, Configuration: Release x86 > ------ > >> Target "_CheckRequiredProperties" in project "Fortune.wixproj" > >> Target "_SetDefaultPathValues" in project "Fortune.wixproj" > >> Task "ReadRegistry" > >> Task "ReadRegistry" > >> Target "BeforeBuild" in project "Fortune.wixproj" > >> Target "BuildOnlySettings" in project "Fortune.wixproj" > >> Task "CreateProperty" > >> Target "PrepareForBuild" in project "Fortune.wixproj" > >> Task "CreateProperty" > >> Task "CreateProperty" > >> Task "CreateProperty" > >> Task "MakeDir" > >> Target "BeforeResolveReferences" in project "Fortune.wixproj" > >> Target "ResolveWixExtensionReferences" in project "Fortune.wixproj" > >> Task "CreateProperty" > >> Task "ResolveWixReferences" > >> Task "RemoveDuplicates" > >> Target "AfterResolveReferences" in project "Fortune.wixproj" > >> Target "ResolveReferences" in project "Fortune.wixproj" > >> Target "AddSolutionDefineConstants" in project "Fortune.wixproj" > >> Task "CreateProperty" > >> Task "CreateProperty" > >> Task "CreateProperty" > >> Task "CreateProperty" > >> Task "CreateProperty" > >> Task "CreateProperty" > >> Target "AddCompilerDefineConstants" in project "Fortune.wixproj" > >> Task "CreateProperty" > >> Target "BeforeCompileAndLink" in project "Fortune.wixproj" > >> Target "_TimeStampBeforeCompileAndLink" in project "Fortune.wixproj" > >> Task "CreateItem" > >> Task "CreateItem" > >> Target "Harvest" in project "Fortune.wixproj" > >> Target "GenerateCode" in project "Fortune.wixproj" > >> Target "GenerateCompileWithObjectPath" in project "Fortune.wixproj" > >> Task "GenerateCompileWithObjectPath" > >> Target "Compile" in project "Fortune.wixproj" > >> Task "Candle" > >> C:\Program Files\WiX Toolset v3.6\bin\candle.exe > >> -d"DevEnvDir=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\\" > >> -d"SolutionDir=D:\Build\WiX Main\\" -dSolutionExt=.sln > >> -dSolutionFileName=Fortune.sln -dSolutionName=Fortune > >> -d"SolutionPath=D:\Build\WiX Main\Fortune.sln" -dConfiguration=Release > >> -dOutDir=bin\Release\ -dPlatform=x86 -d"ProjectDir=D:\Build\WiX Main\\" > >> -dProjectExt=.wixproj -dProjectFileName=Fortune.wixproj > >> -dProjectName=Fortune -d"ProjectPath=D:\Build\WiX Main\Fortune.wixproj" > >> -d"TargetDir=D:\Build\WiX Main\bin\Release\\" -dTargetExt=.msi > >> -dTargetFileName=Fortune6i.msi -dTargetName=Fortune6i > >> -d"TargetPath=D:\Build\WiX Main\bin\Release\Fortune6i.msi" -out > >> obj\Release\pthA41D07A5F94437BD5B2795F9BF185899\ -arch x86 -ext > >> "C:\Program Files\WiX Toolset v3.6\bin\WixSqlExtension.dll" -ext > >> "C:\Program Files\WiX Toolset v3.6\bin\WixNetFxExtension.dll" -ext > >> "C:\Program Files\WiX Toolset v3.6\bin\WixUtilExtension.dll" -ext > >> "C:\Program Files\WiX Toolset v3.6\bin\WixUIExtension.dll" > >> Dialogs\GenericErrorDlg.wxs Dialogs\UI2Common.wxs > >> Dialogs\UI2AdvancedWelcomeEulaDlg.wxs Dialogs\UI2BrowseDlg.wxs > >> Dialogs\UI2CancelDlg.wxs Dialogs\UI2DiskCostDlg.wxs > >> Dialogs\UI2ErrorDlg.wxs Dialogs\UI2ExitDlg.wxs > >> Dialogs\UI2FatalErrorDlg.wxs Dialogs\UI2FilesInUseDlg.wxs > >> Dialogs\UI2InstallDirDlg.wxs Dialogs\UI2InvalidDirDlg.wxs > >> Dialogs\UI2LicenseAgreementDlg.wxs Dialogs\UI2MaintenanceTypeDlg.wxs > >> Dialogs\UI2MaintenanceWelcomeDlg.wxs Dialogs\UI2OutOfDiskDlg.wxs > >> Dialogs\UI2OutOfRbDiskDlg.wxs Dialogs\UI2PrepareDlg.wxs > >> Dialogs\UI2ProgressDlg.wxs Dialogs\UI2ResumeDlg.wxs > >> Dialogs\UI2SetupTypeDlg.wxs Dialogs\UI2UserExitDlg.wxs > >> Dialogs\UI2VerifyReadyDlg.wxs Dialogs\UI2WaitForCostingDlg.wxs > >> Dialogs\UI2WelcomeDlg.wxs Dialogs\UI2WelcomeEulaDlg.wxs > >> Dialogs\UI3LauntExitDlg.wxs Dialogs\WixUI2_InstallDir.wxs > >> Windows Installer Xml Compiler version 3.6.3303.0 > >> Copyright (C) Outercurve Foundation. All rights reserved. > >> GenericErrorDlg.wxs > >> UI2Common.wxs > >> UI2AdvancedWelcomeEulaDlg.wxs > >> UI2BrowseDlg.wxs > >> UI2CancelDlg.wxs > >> UI2DiskCostDlg.wxs > >> UI2ErrorDlg.wxs > >> UI2ExitDlg.wxs > >> UI2FatalErrorDlg.wxs > >> UI2FilesInUseDlg.wxs > >> UI2InstallDirDlg.wxs > >> UI2InvalidDirDlg.wxs > >> UI2LicenseAgreementDlg.wxs > >> UI2MaintenanceTypeDlg.wxs > >> UI2MaintenanceWelcomeDlg.wxs > >> UI2OutOfDiskDlg.wxs > >> UI2OutOfRbDiskDlg.wxs > >> UI2PrepareDlg.wxs > >> UI2ProgressDlg.wxs > >> UI2ResumeDlg.wxs > >> UI2SetupTypeDlg.wxs > >> UI2UserExitDlg.wxs > >> UI2VerifyReadyDlg.wxs > >> UI2WaitForCostingDlg.wxs > >> UI2WelcomeDlg.wxs > >> UI2WelcomeEulaDlg.wxs > >> UI3LauntExitDlg.wxs > >> WixUI2_InstallDir.wxs > >> Task "Candle" > >> C:\Program Files\WiX Toolset v3.6\bin\candle.exe > >> -d"DevEnvDir=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\\" > >> -d"SolutionDir=D:\Build\WiX Main\\" -dSolutionExt=.sln > >> -dSolutionFileName=Fortune.sln -dSolutionName=Fortune > >> -d"SolutionPath=D:\Build\WiX Main\Fortune.sln" -dConfiguration=Release > >> -dOutDir=bin\Release\ -dPlatform=x86 -d"ProjectDir=D:\Build\WiX Main\\" > >> -dProjectExt=.wixproj -dProjectFileName=Fortune.wixproj > >> -dProjectName=Fortune -d"ProjectPath=D:\Build\WiX Main\Fortune.wixproj" > >> -d"TargetDir=D:\Build\WiX Main\bin\Release\\" -dTargetExt=.msi > >> -dTargetFileName=Fortune6i.msi -dTargetName=Fortune6i > >> -d"TargetPath=D:\Build\WiX Main\bin\Release\Fortune6i.msi" -out > >> obj\Release\pthEDA504D1CED1185DEDE1FC80B6495CA5\ -arch x86 -ext > >> "C:\Program Files\WiX Toolset v3.6\bin\WixSqlExtension.dll" -ext > >> "C:\Program Files\WiX Toolset v3.6\bin\WixNetFxExtension.dll" -ext > >> "C:\Program Files\WiX Toolset v3.6\bin\WixUtilExtension.dll" -ext > >> "C:\Program Files\WiX Toolset v3.6\bin\WixUIExtension.dll" > >> Includes\Components.wxs Includes\Conditions.wxs Includes\Config.wxs > >> Windows Installer Xml Compiler version 3.6.3303.0 > >> Copyright (C) Outercurve Foundation. All rights reserved. > >> Components.wxs > >> candle.exe(0,0): error CNDL0001: Exception of type > >> 'System.OutOfMemoryException' was thrown. > >> Exception Type: System.OutOfMemoryException > >> Stack Trace: > >> at System.String.GetStringForStringBuilder(String value, > >> Int32 startIndex, Int32 length, Int32 capacity) > >> at System.Text.StringBuilder.GetNewString(String > >> currentString, Int32 requiredLength) > >> at System.Text.StringBuilder.Append(String value) > >> at System.IO.StringWriter.Write(String value) > >> at System.Xml.XmlTextWriter.WriteStartAttribute(String > >> prefix, String localName, String ns) > >> at System.Xml.XmlAttribute.WriteTo(XmlWriter w) > >> at System.Xml.XmlElement.WriteStartElement(XmlWriter w) > >> at System.Xml.XmlElement.WriteElementTo(XmlWriter writer, > >> XmlElement e) > >> at System.Xml.XmlElement.WriteTo(XmlWriter w) > >> at System.Xml.XmlDocument.WriteContentTo(XmlWriter xw) > >> at System.Xml.XmlDocument.WriteTo(XmlWriter w) > >> at > >> > Microsoft.Tools.WindowsInstallerXml.Compiler.ValidateDocument(XmlDocument > >> document) > >> at > >> Microsoft.Tools.WindowsInstallerXml.Compiler.Compile(XmlDocument source) > >> at > >> Microsoft.Tools.WindowsInstallerXml.Tools.Candle.Run(String[] args) > >> Target "_CleanGetCurrentAndPriorFileWrites" in project "Fortune.wixproj" > >> Task "ReadLinesFromFile" > >> Task "FindUnderPath" > >> Task "FindUnderPath" > >> Task "RemoveDuplicates" > >> Target "_CleanRecordFileWrites" in project "Fortune.wixproj" > >> Task "RemoveDuplicates" > >> Task "MakeDir" > >> Task "WriteLinesToFile" > >> Done building project "Fortune.wixproj" -- FAILED. > >> > >> Build FAILED. > >> ========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped > ========== > >> > >> > >> Thanks and Regards > >> Ravi Shankar > >> > >> > >> > >> > ------------------------------------------------------------------------------ > >> October Webinars: Code for Performance > >> Free Intel webinars can help you accelerate application performance. > >> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > >> from > >> the latest Intel processors and coprocessors. See abstracts and > register > > >> > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk > >> _______________________________________________ > >> WiX-users mailing list > >> WiX-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/wix-users > >> > >> > > > ------------------------------------------------------------------------------ > > October Webinars: Code for Performance > > Free Intel webinars can help you accelerate application performance. > > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > > the latest Intel processors and coprocessors. See abstracts and register > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users