Using the default "Project Setup" template in Visual Studio 2010 I have created a installation program. I've done some research and discovered that I need to use a Custom Action in order to add additional code to the installation. My Goal: Is to parse a TXT file and dump to the registry during the installation.
I created a seperate VB project that does the parsing and importing and it works fine. When I add to the Custom Actions as Primary Output it doesn't execute during the installation. In one of my tests it did create an EXE in the root of install directory and if I double click on the EXE after the fact it works too.
I also don't want the EXE in the program file folder, so I would assume that I would need to delete those files after the fact too.