The quiet attribute I beleive only refers to the log file and not how
the CA executes. What you want is to call a CA that uses CreateProcess
to launch your exe and not have the console window pop open.
On 7/27/05, Kinny Kun <bey...@gm...> wrote:
> Hi,
>=20
> I have a custom action that calls an executable (I create my own exe)
> to perform some action. Action got execute no problem, but there's
> console window always pop up. Is there a way to hide those pop up
> windows?
>=20
> Following is my code looks like:
>=20
> <CustomAction Id=3D"RunCommand" BinaryKey=3D"Test.exe"
> ExeCommand=3D"<arguement to Test.exe>" Return=3D"check"/>
>=20
> <InstallExecuteSequence>
> <Custom Action=3D"RunCommand" After=3D"ProcessComponents"></Custom>
> </InstallExecuteSequence>
>=20
> <Binary Id=3D"Test.exe" src=3D"Test.exe" />
>=20
> Then I tried other's suggestion to use Quiet Execution CustomAction.
> But I can't get it to work. I'm getting error during installation.
>=20
> CAQuietExec: Error 0x80070002: Command failed to execute.
> CAQuietExec: Error 0x80070002: CAQuietExec Failed
> Action ended 11:29:28: QtExec. Return value 3.
>=20
> Following is my code looks like:
>=20
> <Property Id=3D"QtExecCmdLine" Value=3D"Test.exe <arguements>"/>
>=20
> <CustomAction Id=3D"QtExec" BinaryKey=3D"wixca" DllEntry=3D"CAQuietExec"
> Execute=3D"immediate" Return=3D"check"/>
>=20
> <InstallExecuteSequence>
> <Custom Action=3D"QtExec" After=3D"ProcessComponents"/>
> </InstallExecuteSequence>
>=20
> <Binary Id=3D"wixca" src=3D"wixca.dll"/>
> <Binary Id=3D"Test.exe" src=3D"Test.exe" />
>=20
> Am I did something wrong with my code? Is there an attribute or
> property to set which will hide the pop up windows when executing
> custom action?
>=20
> Many thanks.
>=20
> Kinny
>=20
>=20
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO Septem=
ber
> 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & Q=
A
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> WiX-users mailing list
> WiX...@li...
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
|