Thank you Blair, that resolved it. I filed bug to document the issue (ID:
3035649).


On Tue, Jul 27, 2010 at 5:43 PM, Blair <os...@live.com> wrote:

> Looks to me like a bug. In your wcautil.h file, change the following:
>
> HRESULT QuietExec(
>    __in_z LPWSTR wzCommand,
>    __in DWORD dwTimeout
>    );
>
> To:
> HRESULT WIXAPI QuietExec(
>    __in_z LPWSTR wzCommand,
>    __in DWORD dwTimeout
>    );
>
> If that works, please file a bug against 3.0 (this issue is already fixed
> in
> 3.5) stating that the wcautil header file is missing the "WIXAPI" on the
> QuietExec() declaration. I'm not sure if that is a bad enough bug to spin a
> new build, but it should be documented so that others will know the
> workaround.
>
> -----Original Message-----
> From: James Kessler [mailto:kessl...@gmail.com]
> Sent: Tuesday, July 27, 2010 3:28 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] QuietExec in CA
>
> Using WiX build 3.0.5419.0 and whatever wcautil.lib is included with that
> package.
>
>
> On Tue, Jul 27, 2010 at 11:45 AM, Blair <os...@live.com> wrote:
>
> > Which build of WiX are you using? Which wcautil lib are you linking with?
> >
> > -----Original Message-----
> > From: James Kessler [mailto:kessl...@gmail.com]
> > Sent: Tuesday, July 27, 2010 7:47 AM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] QuietExec in CA
> >
> > I mean the QuietExec() function which is part of wcautil.lib. If I create
> a
> > new C++ custom action with
> >
> > hr = QuietExec(pwzCommand, dwTimeout);
> >
> > The compiler returns "unresolved external symbol _QuietExec". QuietExec
> is
> > defined in wcautil.h and  I'm successfully using other functions in the
> > wcautil library. I'm not sure if I'm missing a dependency or if something
> > is
> > missing in the library.
> >
> > Thanks for your help,
> > James
> >
> >
> > On Mon, Jul 26, 2010 at 7:56 PM, Elfe Xu <elf...@microsoft.com> wrote:
> >
> > >
> > > Do you mean QtExec ?
> > >
> > > http://wix.sourceforge.net/manual-wix3/qtexec.htm
> > > http://wix.sourceforge.net/manual-wix3/qtexec.htm
> > >
> > > In order to use QtExec, you must include a reference to the
> > > WixUtilExtension
> > > when building your MSI. To do this, add the command line argument -ext
> > > WixUtilExtension.dll when calling Light.exe.
> > >
> > > --
> > > View this message in context:
> > >
> >
> >
>
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/QuietExec-in-C
> > A-tp5339782p5340458.html
> > > Sent from the wix-users mailing list archive at Nabble.com.
> > >
> > >
> > >
> >
> >
>
> ----------------------------------------------------------------------------
> > --
> > > 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
> > >
> >
> >
>
> ----------------------------------------------------------------------------
> > --
> > 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
> >
> >
> >
> >
>
> ----------------------------------------------------------------------------
> --
> > 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
> >
>
> ----------------------------------------------------------------------------
> --
> 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
>
>
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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

Reply via email to