I've built a package which calls a batch file after package installation. No error occurs when building the package. However, when I tried to install the package using NIPM, an error shows up.
My batch file does nothing but only print "Hello World" on the command line, and the batch file can run properly if I double click it to run. Thus I think the error may occur because the VIPM can't locate cmd.exe correctly?

P.S. I've also tried to run EXE using Post-Install, and it works fine.