I'm trying to register a New Project Template to Visual Studio 2010. Essentially, at the end of the install, when all the files are copied over to the target, i need to run the following command:
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE/devenv.exe /installvstemplates
I've created a "Custom Behavior Search" called VS2010EXE that searches the registry for HKLM/SOFTWARE\Microsoft\VisualStudio\10.0/InstallDir and put "devenv.exe" in the property. I also set the type to "retrieve the raw value". I'm assuming that this should return a full path to the executable.
In the "Custom Actions" section, I've added an "InstallFinalize" action and set the property name to VS2010EXE defined above. The source type is (*.exe) and for the command-line, I've entered "/installvstemplates", assuming that this would append /installvstemplates as a command line parameter. The execution properties are set to syncronous/ignore return code, immediate execution, and eecute always. Lastly, the execution condition expression is set to "NOT Installed".
As far as i can tell, everything is setup properly. But devenv.exe is never called and the templates do not install.
Does anyone have any advice or ideas? Does Advanced Installer have any logging to reveal what's really happening behind the scenes?
Thank you,
John K.
FOLLOW US
Get the latest news in Application Packaging