I am having no success in modifying a Windows Installer MSI to run a batch file after the primary output has been installed. I have searched for this and found many suggesti
Make an EXE that makes a temporary .bat file to change to the whatever directory you want and CALL
another bat file that does what you need.
Tell the custom action to use that exe.
The first argument to a CPP exe is the path to the exe itself. This can be used to orient yourself, and that information could be used in the making of the temporary .bat