[WiX-users] Quiet Execution nightmare

2008-03-31 Thread Anidil

I use the following Quiet execution CA to run an EXE during install

Binary Id=wixca src=wixca.dll/
CustomAction Id=Validate Property=QtExecCmdLine
Value=[INSTALLDIR]Vaidate.exe INSTALL/
CustomAction Id=QtExec BinaryKey=wixca DllEntry=CAQuietExec
Execute=immediate Return=check /


 InstallExecuteSequence

Custom Action='Validate' After='LaunchSystrayExe'NOT
Installed/Custom
  
Custom Action=QtExec After='Validate'NOT Installed/Custom

 /InstallExecuteSequence

Installer fails with the following error in the verbose log:

CAQuietExec:  Command string must begin with quoted application name.
MSI (s) (30!FC) [15:03:41:856]: Closing MSIHANDLE (4) of type 790531 for
thread 508
MSI (s) (30!FC) [15:03:41:856]: Creating MSIHANDLE (5) of type 790531 for
thread 508
CAQuietExec:  Error 0x80070057: invalid command line property value
MSI (s) (30!FC) [15:03:41:856]: Closing MSIHANDLE (5) of type 790531 for
thread 508
MSI (s) (30!FC) [15:03:41:856]: Creating MSIHANDLE (6) of type 790531 for
thread 508
CAQuietExec:  Error 0x80070057: failed to get Command Line
MSI (s) (30!FC) [15:03:41:856]: Closing MSIHANDLE (6) of type 790531 for
thread 508
MSI (s) (30!FC) [15:03:41:856]: Closing MSIHANDLE (2) of type 790541 for
thread 508
MSI (s) (30:70) [15:03:41:872]: Closing MSIHANDLE (1) of type 790542 for
thread 2632
Action ended 15:03:41: QtExec. Return value 3.

Am i not using the quotes correctly?? Also i'm using a CA to set the
property value. Can anybody give me an insight on what am i doing wrong
here?

thanks
Anidil
-- 
View this message in context: 
http://www.nabble.com/Quiet-Execution-nightmare-tp16395201p16395201.html
Sent from the wix-users mailing list archive at Nabble.com.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Quiet Execution nightmare

2008-03-31 Thread Wilson, Phil
Is this a typo or is it really called Vaidate.exe?

 Value=[INSTALLDIR]Vaidate.exe INSTALL/

Phil Wilson


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anidil
Sent: Monday, March 31, 2008 2:44 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Quiet Execution nightmare


I use the following Quiet execution CA to run an EXE during install

Binary Id=wixca src=wixca.dll/
CustomAction Id=Validate Property=QtExecCmdLine
Value=[INSTALLDIR]Vaidate.exe INSTALL/
CustomAction Id=QtExec BinaryKey=wixca DllEntry=CAQuietExec
Execute=immediate Return=check /


 InstallExecuteSequence

Custom Action='Validate' After='LaunchSystrayExe'NOT
Installed/Custom

Custom Action=QtExec After='Validate'NOT Installed/Custom

 /InstallExecuteSequence

Installer fails with the following error in the verbose log:

CAQuietExec:  Command string must begin with quoted application name.
MSI (s) (30!FC) [15:03:41:856]: Closing MSIHANDLE (4) of type 790531 for
thread 508
MSI (s) (30!FC) [15:03:41:856]: Creating MSIHANDLE (5) of type 790531 for
thread 508
CAQuietExec:  Error 0x80070057: invalid command line property value
MSI (s) (30!FC) [15:03:41:856]: Closing MSIHANDLE (5) of type 790531 for
thread 508
MSI (s) (30!FC) [15:03:41:856]: Creating MSIHANDLE (6) of type 790531 for
thread 508
CAQuietExec:  Error 0x80070057: failed to get Command Line
MSI (s) (30!FC) [15:03:41:856]: Closing MSIHANDLE (6) of type 790531 for
thread 508
MSI (s) (30!FC) [15:03:41:856]: Closing MSIHANDLE (2) of type 790541 for
thread 508
MSI (s) (30:70) [15:03:41:872]: Closing MSIHANDLE (1) of type 790542 for
thread 2632
Action ended 15:03:41: QtExec. Return value 3.

Am i not using the quotes correctly?? Also i'm using a CA to set the
property value? Can anybody give me an insight on what am i doing wrong
here?

thanks
Anidil
--
View this message in context: 
http://www.nabble.com/Quiet-Execution-nightmare-tp16395201p16395201.html
Sent from the wix-users mailing list archive at Nabble.com.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users