Thank you, I started messing around with the source code and found that
QuitExec seems to be unmanaged code, and therefore was starting to think
what you confirmed. 

As I explained previously I have the code up and running using a CA with
ExeCommand(both config files are installed):
CustomAction Id="XMLParser" BinaryKey="XmlPreprocess" Impersonate="yes" 
ExeCommand="/i "[INSTALLPATH][WEBCONFIGFILE]" /s
"[FILEPATH]" /NoLogo" Return="asyncNoWait" />
<Binary Id="XmlPreprocess" SourceFile=".\Deploy.Tools\XmlPreprocess.exe"
/>
  
Found the cmd window a bit distracting and wanted an alternative way.

So what I have to do is this.

1. Install XmlPreprocess to a directory, i.e. Deploy.Tools. This should
work around the problem with "CAQuietExec doesn't support running
executables stored in the Binary table". Because my CA is not executed
before all files are installed to the local machine(launched by button
at the last GUI after install is done).

2. You are saying that WixUtilExtension.dll is not the entry point for
CAQuietExec, it is still wixca.dll. But my question is then are there
any changes between the V2 wixca.dll and the one in V3 source code? If
so it should work to extract this dll from the V2 binaries?

Thanks for all the help! It's kinda a slippery slope when one does not
know the restrictions for using pre made CA's.

morten



-----Opprinnelig melding-----
Fra: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sendt: 7. november 2006 04:27
Til: Lerudjordet, Morten Minge
Kopi: wix-users@lists.sourceforge.net
Emne: Re: [WiX-users] Setting property value with another property value

Lerudjordet, Morten Minge wrote:
> I use [#ConfigFile] to reference the file defined <File 
> Id="ConfigFile", this should work right?
>   

Yes.

> <CustomAction Id="Set_QtExecCmdLine" Property="QtExecCmdLine"
>                       Value =".\Deploy.Tools\XmlPreprocess.exe /i
> &quot;[#ConfigFile]&quot; /s &quot;[FILEPATH]&quot; /NoLogo" />      
> <CustomAction Id="QtExec" BinaryKey="WixUtilExtension"
> DllEntry="CAQuietExec" Execute="immediate" Return="check"/> <Binary 
> Id="WixUtilExtension"
> SourceFile=".\Deploy.Tools\WixUtilExtension.dll" />
>   

Two problems:

1. XmlPreprocess.exe must be installed on the system and using a
relative directory like that is unlikely to work. CAQuietExec doesn't
support running executables stored in the Binary table.
2. WixUtilExtension.dll isn't the custom action DLL. It's a managed DLL
that contains the custom action DLL but doesn't expose it directly. At
the moment, I think you'll need to build wixca.dll from source. If you
enter a bug, I'll work on getting that included in the binaries .zip
file.

--
sig://boB
http://bobs.org



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to