Hi,
Atached custom actions can have as source an EXE, a DLL, or a VBScript or a JavaScript. No BAT. You can run a bat file as an installed custam action (the bat file is a file installed by your package). For this select "Add Predefined Custom Action"->"Lanuch File or Open URL" from the context menu ...