In article <488f6a8c5a9db84fbb082d732f1bbdef02211...@exchange01.amxuk.local>,
    "Dominique Louis" <dominique.lo...@amxeurope.com>  writes:

> My Action looks like this...
> <CustomAction Id="CA_CheckPixelVertexShaderVersion"                  
>                   Script="vbscript"
>                   Execute="immediate">
>     <![CDATA[
>       CheckShaderVersions
> [...]

Try this instead

<CustomAction Id="CA_CheckPixelVertexShaderVersion" Script="vbscript"
Execute="immediate" Return="asyncWait" VBScriptCall="CheckShaderVersions">


>           response = MsgBox( Session.Property("ProductName") & "requires
> DirectX 9 with pixel shader and vertex shader version 2.0 or greater,
> for this application to work correctly." & Vbcrlf & " Would you like to
> proceed with the installation anyway?", 52,"Graphics Card Capabilities")

Also, instead of MsgBox, you should be using Session.Message.
<http://msdn.microsoft.com/en-us/library/aa371672(VS.85).aspx>
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
 <http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/>

      Legalize Adulthood! <http://legalizeadulthood.wordpress.com>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to