So,
Quite simply, I have a whole slew of VisualStudio templates (and wizards) that need to be installed for them to work within Visual Studio.
After design everything and testing everything, I created an Install Project (deployment project, whatever). It worked.
Now, I have made some changes to the wizards/templates and such and needed to rebuild the solution (including the deployment project) so that, run new installer, and voila, you are using the new template and the new wizards.
Install Folder is the PrivateAssemblies folder as in: [Program Files]\Microsoft\[VS Dir]\COmmon7\ProjectAssemblies
(I know those [] values are not exact, but who cares at this point as that part works fine, not caring to much given my EXTREME frustration. (expletives out the wazoo for the last hour))
So, I part of my Deployment project is a folder "CSharpItems", which contains the updated vstemplate and cs files in ZIP format (as they are supposed to be for templates) all of them dated today, with the approriate 1.1.25.25 version for the wizard
dll references.
DefaultLocation is set to: [ITEMTEMPLATEPATH]\Visual C#\JR's Code
Property is set to: ITEMTEMPLATESFOLDER
[ITEMTEMPLATEPATH] is populated by a Launch Condition that searches the registry for the User Template Path.
I created a "TextBox(A)" dialog, and set the "property" to ITEMTEMPLATESFOLDER to test this value, and found that it points to the correct location on my hard drive.
I run the install. And the files in the ITEMTEMPLATESFOLDER location are still dated last year, and the vstemplate wizard dll versions are still 1.1.7.7
i looked everywhere for the newer vesions, and finally found them in the "Application Folder" location. So i deleted those and tried again, and all subsequent installs have not installed those ZIP files.
Finally, I deleted the old "JR's Code" folder from the Item Templates folder on my hard drive, uninstalled the "installer" and voila the next install, worked right. How do I tell the deployment project that ALL files MUST be overwritten
with the file in the package. No comparison, no "idiot brained thinking" just delete and overwrite EVERYTHING?
Additionally, I decided to change the "Title" of the installer, and guess what? the Name in the "Programs and Features" for uninstallation of the package still read "GI.TemplateInstaller.V1" WTF? How do I change the name
that appears in the Programs and Features screen?
Thanks
Jaeden "Sifo Dyas" al'Raec Ruiner
"Never Trust a computer. Your brain is smarter than any micro-chip."
PS - Don't mark answers on other people's questions. There are such things as Vacations and Holidays which may reduce timely activity, and until the person asking the question can test your answer, it is not correct just because you think it is. Marking it
correct for them often stops other people from even reading the question and possibly providing the real "correct" answer.