Here's how we call CAQuietExec twice:
<CustomAction
Id="SetCreateDB"
Property="CreateDB"
Value=""[#JAMSDBAEXE]" INSTALL"/>
<CustomAction
Id="SetLoadDB"
Property="LoadDB"
Value=""[#JAMSDBAEXE]" LOAD"/>
<Property Id="QtExecCmdTimeout" Value="6000000"/>
<CustomAction
Id="CreateDB"
BinaryKey="wixca"
DllEntry="CAQuietExec"
Execute="deferred"
Impersonate="yes"
Return="check"/>
<CustomAction
Id="LoadDB"
BinaryKey="wixca"
DllEntry="CAQuietExec"
Execute="deferred"
Impersonate="yes"
Return="check"/>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of dave_c
> Sent: Thursday, February 22, 2007 11:47 AM
> To: [email protected]
> Subject: Re: [WiX-users] run a script passing a parameter
>
>
> I'm guessing I am mis-understanding what you are telling me
> because if I
> change my code to read
>
> <Binary Id="wixca" src="c:\wix_v2_orig\wixca.dll"/>
>
> <Property Id="QtExecCmdLine" Value=""perl"
> "[INSTALLDIR]first.pl" install"/>
> <CustomAction Id="QtExec" BinaryKey="wixca"
> DllEntry="CAQuietExec"
> Execute="immediate" Return="check"/>
>
> <InstallExecuteSequence>
> <Custom Action="QtExec" After="InstallFinalize">NOT
> Installed</Custom>
> </InstallExecuteSequence>
>
> <Property Id="QtExecCmdLine" Value=""perl"
> "[INSTALLDIR]first.pl" deinstall"/>
> <CustomAction Id="QtExecu" BinaryKey="wixca"
> DllEntry="CAQuietExec"
> Execute="immediate" Return="check"/>
>
> <InstallExecuteSequence>
> <Custom Action="QtExecu"
> After="InstallFinalize">Installed AND NOT
> REINSTALL</Custom>
> </InstallExecuteSequence>
>
> I get an error message during compilation saying, not un-reasonably
> 'Duplicate Symbol QtExecCmdLine found'
>
> Could you explain more or better show what I shuld have done
> in the snippet
> of code shown.
>
> Bob Arnson-3 wrote:
> >
> > dave_c wrote:
> >> <Property Id="QtExecInstall" Value='"perl"
> "[INSTALLDIR]first.pl"
> >> install'/>
> >> <CustomAction Id="QtExec" BinaryKey="wixca"
> DllEntry="CAQuietExec"
> >> Execute="immediate" Return="check"/>
> >>
> >
> > QuietExec requires the same QtExecCmdLine property to be
> set each time
> > it's called. You'll need custom actions to set the property
> before each
> > call to CAQuietExec.
> >
> > --
> > sig://boB
> > http://bobs.org
> >
> >
> >
> >
> --------------------------------------------------------------
> -----------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the
> chance to share
> > your
> > opinions on IT & business topics through brief surveys-and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge
> &CID=DEVDEV
> > _______________________________________________
> > WiX-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/run-a-script-passing-a-parameter-tf32721
> 81.html#a9103524
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> --------------------------------------------------------------
> -----------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
> chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge
> &CID=DEVDEV
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users