BTW, why does  CAQueietExec require the command to be wrapped in Quotes?   I 
was 
wiring up a simple IISRESET.EXE into an internal installer the other day and I 
found that out.   On the other hand, from a paternalistic point of view, it 
might be cool if it forced you to fully qualify the path to the EXE to make 
sure 
you don't have man in the middle attacks.   I ended up doing this and wrapping 
it in quotes.
 
---
Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me



----- Original Message ----
From: Rob Mensching <r...@robmensching.com>
To: General discussion for Windows Installer XML toolset. 
<wix-users@lists.sourceforge.net>
Sent: Sun, February 13, 2011 10:53:56 AM
Subject: Re: [WiX-users] CAQuietEXEc

Seems reasonable. Does it not work?

On Wed, Feb 9, 2011 at 4:22 AM, Umeshj <umesh_jogle...@hotmail.com> wrote:

>
> Hi,
>
> I am converting the setup to conditionally build for 32 or 64 bit platform.
> Would the following code suffice to make sure that 64 bit WIXCA is used for
> 64 bit platform?
>
>
> Code snippet:
>
>
>  <?if $(var.Platform) = x64 ?>
>  <?define Win64 = "yes" ?>
>  <?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
>  <?define PlatformCAQuietExecDLLEntry = "CAQuietExec64"?>
>  <?define PlatformQtExecCmdLine = "QtExec64CmdLine"?>
>  <?else ?>
>  <?define Win64 = "no" ?>
>  <?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
>  <?define PlatformCAQuietExecDLLEntry = "CAQuietExec"?>
>  <?define PlatformQtExecCmdLine = "QtExecCmdLine"?>
>  <?endif ?>
>
> ....
> ....
>
> <CustomAction Id="QtRestartMyProgramCmd" Property="QtRestartMyProgram"
>            Value =""[INSTALLLOCATION]MyProgram.exe""
>            Return="check" Execute="immediate" />
>
> <CustomAction Id="QtRestartMyProgram" BinaryKey="WixCA"
> DllEntry="$(var.PlatformCAQuietExecDLLEntry)"
>            Execute="deferred"  Impersonate="no"/>
>
> .....
> ...
>
> Similarly writing code for immediate QuietcExec command
>
> Thanks
>
> Umesh
> --
> View this message in context:
>http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/CAQuietEXEc-tp6007460p6007460.html
>l
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



      

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to