AFAIK smoke.exe can be used to run MSI validation outside of light.exe as of WiX v3.0 -> http://installing.blogspot.com/2006/04/msi-validation-in-wix.html
Palbinder Sandher Software Platform Engineer T:+44 (0) 141 945 8500 F:+44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Andrew J. Dalgleish [mailto:adalgle...@santanderconsumerusa.com] Sent: 16 February 2012 17:54 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Wix 3.5 performance Thanks Rob - the -sval switch did the trick - clean checkout test ran in 68s. I'll try this with wix3.5 on our master build tonight. I'm sure there is a way to run the validation separately (i.e. outside of linking) - I'll check the documentation. We'll want to run validation as a separate/asynchronous process that doesn't impact build timeframes. Thanks again. > True, but to get an apples to apples comparison between v2.0 and v3.x, you > need to turn off validation. Once we confirm that validation is the > performance difference all is well in the world. Otherwise, we maybe should > be hunting a perf bug in WiX v3.6. > > PS: There are some other features in WiX v3.x that might take a touch more > time like smartcab'ing but I don't expect that accounts for the differences > seen. > > On Thu, Feb 16, 2012 at 6:49 AM, Christopher Painter <chr...@iswix.com>wrote: > > > Don't do it!!! I love the fact that validation is enabled by default!! > > > > Get faster hardware.... <smile/> > > > ---------------------------------------- > > > From: "Rob Mensching" <r...@robmensching.com> > > > Sent: Wednesday, February 15, 2012 10:16 PM > > > To: "General discussion for Windows Installer XML toolset." > > <wix-users@lists.sourceforge.net> > > > Subject: Re: [WiX-users] Wix 3.5 performance > > > > WiX v3.x we turned on validation by default. That can be very slow. The > > > "-sval" switch will disable it to get a more apples-to-apples comparison. > > > > On Wed, Feb 15, 2012 at 2:52 PM, Andrew J. Dalgleish < > > > adalgle...@santanderconsumerusa.com> > wrote: > > > > > > I have a question regarding performance, as we move from an earlier > > > > > version of wix 2.0.5325.0 to the current stable build. > > > > > A little background on how we use wix: > > > > > We start with a very simple xml file, which contains only the essential > > > > > things that define what goes in the msi. > > > > > Here is what a website setup project looks like: > > > > > > > > > OurWebSite.wixml > > > > > > > > > <install SetupProjectName="OurWebSite" > > > > > ProductCode="343e0bea-7f2e-4513-b420-9f57b321aa73" ProductName="Our Web > > > > > Site"> > > > > > <source path="Web Sites\Our Web Site"> > > > > > <exclude pattern="\.cs$"/> > > > > > <exclude pattern="\.csproj$"/> > > > > > ... > > > > > </source> > > > > > </install> > > > > > > > > > After our build is complete, another process reads all wixml files and > > > > > foreach: > > > > > > > > > merge a xsl template to generate valid wxs out file > > > > > then batch execute: > > > > > candle -out %1.wixobj %1.wxs > > C:\WixLogs\%1.candle.out > > > > > light -out %1.msi %1.wixobj > > C:\WixLogs\%1.light.out > > > > > > > > > So that's our custom process - kudos to the wix team, we've built > > millions > > > > > of msi this way. > > > > > > > > > We recently encountered a problem building a project targeted for the > > .net > > > > > framework 4.0. > > > > > So I decided to use a newer version of wix (3.5.2519.0) without changing > > > > > our process (although I had to update our wxs template to match the wix3 > > > > > schema). > > > > > Test builds yielded a working msi, but the time taken for msi generation > > > > > step is much longer. > > > > > I don't have an accurate comparison from the build box yet, but it > > usually > > > > > takes about 314s for all 200 msi. With wix3.5, it got to 1680s before > > the > > > > > process had to end prematurely. > > > > > With a clean checkout from svn (no dll's or exe's built yet), wix2 took > > > > > 74s, wix3.5 took 202s. > > > > > I tried the -ss flag for light but that didn't help. > > > > > > > > > Is there anything about this process or in general I can look at to get > > > > > the per-msi compile time down? > > > > > > > > > > > > > > > > > Andrew Dalgleish > > > > > Santander Consumer USA Inc. > > > > > Application Developer ----------------------------------------------------------------------------------- RoadLoans.com - Auto Finance Made Easy http://www.roadloans.com Follow RoadLoans on Facebook http://www.facebook.com/roadloans Download the RoadLoans App for your Smartphone http://iphone.roadloans.com & http://android.roadloans.com ----------------------------------------------------------------------------------------------------------------- This e-mail is covered by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2521. The information contained in this e-mail is confidential and intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this message in error or there are any problems please notify the originator immediately. The unauthorized use, disclosure, copying or alteration of this message is strictly forbidden. This mail and any attachments have been scanned for viruses prior to leaving the Santander Consumer USA network. Santander Consumer USA Inc. will not be liable for direct, special, indirect or consequential damages arising from alteration of the contents of this message by a third party or as a result of any virus being passed on. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users