Try: Public Function Main() Dim WshShell Set WshShell = CreateObject("WScript.Shell") WshShell.CurrentDirectory = "C:\Program Files\Common Files\MyApp" WshShell.Run "adxreg.exe /install=myapp.dll" Set WshShell = Nothing End Function
Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environment before printing this e-mail > -----Original Message----- > From: little.forest [mailto:little.for...@ymail.com] > > > Anyway, I found type 22(vbscript) maybe the one we need. So I tried it. But it > doesn't work for me. > > I mean, the vbscript itself works, here it is: > ~~~~ > Public Function Main() > Dim WshShell > Set WshShell = WScript.CreateObject("WScript.Shell") > WshShell.CurrentDirectory = "C:\Program Files\Common Files\MyApp" > WshShell.Run "adxreg.exe /install=myapp.dll" > Set WshShell = Nothing > End Function > > > Main > ~~~~ > > > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users