No, you can't. You can do it with Installer classes, but they are called
using a wrapper DLL to call them. You might be able to do your custom action
with VBScript though.
Keep in mind that you're seeing the command prompt because it's a console
application. Why not just go to your project properties Output Type and
change it from Console Application to Windows Application?

Signature
Phil Wilson [MVP Windows Installer]
----
> Hello,
>
[quoted text clipped - 9 lines]
> Thanks for the help
> Ashok
Ashok Subramanian - 26 May 2004 22:54 GMT
Thanks, that works great for me. VBScript is a little limiting for me,
so this is great.
> No, you can't. You can do it with Installer classes, but they are called
> using a wrapper DLL to call them. You might be able to do your custom action
[quoted text clipped - 16 lines]
> > Thanks for the help
> > Ashok