Windows Installer doesn't have support for .NET custom actions either and yet 
it's possible.

I wouldn't do this in an install but checkout IKVM.NET. Then you can use DTF to 
present it as a type 1 to MSI. 

 
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 <[email protected]>
To: General discussion for Windows Installer XML toolset. 
<[email protected]>
Sent: Thu, September 9, 2010 6:35:24 PM
Subject: Re: [WiX-users] how to call java from wix

I don't think that the Windows Installer supports calling into Java. Did you
see something new in the MSI SDK that says they added support for custom
actions written in Java?

On Thu, Sep 9, 2010 at 3:08 PM, Major shao <[email protected]> wrote:

> Hi
> i want to call java from wix using customaction like the following. i think
> at least TARGETDIR is wrong here, anything else?
> <CustomAction Id="PatchWrapper" Directory="TARGETDIR"
> ExeCommand="c:\Impact360\Software\JDK\bin\java -classpath
>
>[TARGETDIR];[TARGETDIR]\emtEncrypt.jar;[TARGETDIR]\log4j-1.2.15.jar;[TARGETDIR]\commons-logging.jar;[TARGETDIR]\commonEjbTierUtils.jar
>r
> [TARGETDIR]\PatchWrapperMain" />
>
> ------------------------------------------------------------------------------
> Automate Storage Tiering Simply
> Optimize IT performance and efficiency through flexible, powerful,
> automated storage tiering capabilities. View this brief to learn how
> you can reduce costs and improve performance.
> http://p.sf.net/sfu/dell-sfdev2dev
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users



      

------------------------------------------------------------------------------
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to