Hi,
I re-read the wix.chm and found "Quiet Execution Custom Action".
I tried to use the example in wix.chm. But when I run it, I got these errors:
MSI (s) (68!58) [13:58:06:803]: PROPERTY CHANGE: Deleting QtExecCmdLine
property. Its current value is '"[INSTALLLOCATION]abc.exe"'.
CAQuietExec: Error 0x80070003: Command failed to execute.
CAQuietExec: Error 0x80070003: CAQuietExec Failed
Action ended 13:58:06: QtExecExample.. Return value 3.
Here is my code:
<Property Id="QtExecCmdLine" Value='"[INSTALLLOCATION]abc.exe"'/>
<CustomAction Id="QtExecExample" BinaryKey="WixCA" DllEntry="CAQuietExec"
Execute="immediate" Return="check"/>
<InstallExecuteSequence>
<Custom Action="QtExecExample" Before="InstallFinalize"/>
</InstallExecuteSequence>
I'd like to run this "abc.exe" program after the installation but before the
main application got launched(which is controlled by a checkbox on the final
page). Can someone point out the errors here?
I did check the "C:\Program Files\MyApp" folder, the files are not even
installed. That maybe the reason that abc.exe is not run? Is it okay to run it
before "InstallFinalize"? If not, which action sequence I should use?
I'd really appreciate it.
/Brian
__________________________________________________________________
The new Internet Explorer® 8 - Faster, safer, easier. Optimized for Yahoo!
Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users