Hello David,
This is doable, but you will have to manually edit our VS project template files like this:
1. go to "
\ProjectTemplates" folder and copy/paste the "templateManifest1.1033.vstman" file
2. rename the .vstman file copy like this: "templateManifest
2.1033.vstman" ; please keep in mind that each new copy of the .vstman file should have an increased number in its first part of the name (e.g. templateManifest
2)
3. open with a text editor the "templateManifest2.1033.vstman" file
3.1. edit the "RelativePathOnDisk" XML element to point to the new VS project template like this:
<RelativePathOnDisk>AIProject\1033\My_New_VS_Project_Template</RelativePathOnDisk>
3.2. edit the "TemplateFileName" XML element to use the new .vstemplate file (you will create this in the next steps)
<TemplateFileName>My_New_VS_Project_Template.vstemplate</TemplateFileName>
3.3. edit the "Name" XML element to the new name of your setup project template
<Name>My New Advanced Installer Project</Name>
3.4. edit the "TemplateID" XML element to use a different ID, for instance:
<TemplateID>479ea42d-3d81-4f30-b3f9-6bb48dc3160F</TemplateID>
4. go to "
\ProjectTemplates\AIProject\1033" folder and copy paste the existing "AI_for_VS_Project_Template" folder
5. rename the folder copy like this: "My_New_VS_Project_Template"
6. go to "My_New_VS_Project_Template" folder, delete the existing "AIInstallProject.aip" project file and add in place your own custom "AIInstallProject.aip" you want to be used as project template
7. rename the existing "AI_for_VS_Project_Template.vstemplate" file like this: "My_New_VS_Project_Template.vstemplate"
8. open with a text editor the "My_New_VS_Project_Template.vstemplate" file
8.1. edit the "Name" XML element to use the same name as the one defined in the .vstman file (i.e. "My New Advanced Installer Project")
<Name>My New Advanced Installer Project</Name>
8.2. edit the "TemplateID" XML element to the ID used in the .vstman file
<TemplateID>479ea42d-3d81-4f30-b3f9-6bb48dc3160F</TemplateID>
9. open Visual Studio 2017 and make sure the new project template works as expected
Let us know if this helped.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging