Thanks.

On Mon, Jul 26, 2010 at 9:37 AM, Jeffrey Cutting <jcutt...@microsoft.com>wrote:

> I've narrowed this down to being an issue with Light and the -xo (output
> wixout format) and -bf (bind files) options.  I set OutputAsXml = true and
> LinkerBindFiles = true in my project file.  Those get passed to the Light
> MSBuild task, which calls Light.exe with the -xo and -bf parameters.  I do
> this so the binaries get included in the .wixpdb, which I use to generate
> patches.  I then call Light a second time with the .wixpdb to have it
> generate the .msi (this was a crazy idea I found in the archive that works
> for what we wanted).
>
> My original statement that this worked when building in the VS2010 command
> prompt was incorrect.  It turns out that this works if you build (not
> rebuild) the project, ignore the failure, then build it again.  If you
> rebuild, it fails.  The second time you build, MSBuild skips all of the
> compile targets because the .wixobj and .wixout files are current, and when
> the Link target (which includes the call to Light and the GetCabList task)
> runs again, it's successful.
>
> I haven't found an existing bug on this, so I'll go ahead and submit one.
>  I just figured I'd send an update with my findings.
>
> Thank you,
> Jeff
>
> ------------------------------
>
> Message: 4
> Date: Thu, 22 Jul 2010 22:38:05 -0700
> From: Rob Mensching <r...@robmensching.com>
> Subject: Re: [WiX-users] Failures build project with WiX 3.5 inside
>        VS2010
> To: "General discussion for Windows Installer XML toolset."
>        <wix-users@lists.sourceforge.net>
> Message-ID:
>        <aanlktil8-brvzm32wwrdbd_g8gaqems4xzaw1u12b...@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hmm, I think you should open a bug with all the information. This sounds
> new.
>
> On Thu, Jul 22, 2010 at 4:47 PM, Jeffrey Cutting <jcutt...@microsoft.com
> >wrote:
>
> > I've just upgraded from VS2008 and WiX 3.0 to VS2010 and WiX 3.5
> > (3.5.1916.0, to be exact).  I can build a couple of my most simple WiX
> > projects inside Visual Studio without error.  However, when I attempt to
> > build a few of my other projects (which still build without error in WiX
> > 3.0) inside Visual Studio, I receive the following error...
> >
> > Error      93           The "GetCabList" task failed unexpectedly.
> > Microsoft.Deployment.WindowsInstaller.InstallerException: The system
> cannot
> > open the device or file specified.
> >
> Database="E:\Workspaces\VSBinaries\Install\Release\en-us\MRClient_x86.wixout"
> >   at Microsoft.Deployment.WindowsInstaller.Database.Open(String filePath,
> > DatabaseOpenMode mode)
> >   at Microsoft.Deployment.WindowsInstaller.Database..ctor(String
> filePath)
> >   at Microsoft.Tools.WindowsInstallerXml.Build.Tasks.GetCabList.Execute()
> >   at
> >
> Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
> >   at
> >
> Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost
> > taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost
> taskHost,
> > ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean&
> taskResult)
> >    E:\Workspaces\FRx_Main\main\Tools\WiX\3.5.1916.0\Wix2010.targets
> >        2108       6
> >
> > I am able to build the same project from a VS 2010 command prompt without
> > error (well, I run into bug 3031280 in some projects, but I know that one
> is
> > fixed for the next build).
> >
> > I've tried running as admin to remove potential permissions problems as
> the
> > culprit and I've investigated using Process Monitor - there don't appear
> to
> > be any file access issues.  The wixout file is definitely being written
> to
> > the path shown above.
> >
> > I would appreciate any ideas on where to start with getting past this.
> >  Please let me know any additional information I can provide.
> >
> > Thank you,
> > Jeff
> >
> >
> ------------------------------------------------------------------------------
> > This SF.net email is sponsored by Sprint
> > What will you do first with EVO, the first 4G phone?
> > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
>
>
> --
> virtually, Rob Mensching - http://RobMensching.com LLC
>
>
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://ad.doubleclick.net/clk;226879339;13503038;l?
> http://clk.atdmt.com/CRS/go/247765532/direct/01/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to