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
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

Reply via email to