Revit Add-In Wizard GitHub Installer problems

Revit Add-In Wizard GitHub Installer problems

Anonymous
Not applicable
1,280 Views
4 Replies
Message 1 of 5

Revit Add-In Wizard GitHub Installer problems

Anonymous
Not applicable

Hi all,

 

I'm about to install Visual Studio Add-in Wizards for Revit 2019, 2020, 2021 as per Jeremy's Tammik @jeremytammik  post https://thebuildingcoder.typepad.com/blog/2015/08/revit-add-in-wizard-github-installer.html but having trouble launching install.bat file which I found in the latest 'VisualStudioRevitAddinWizard-master.zip' file.

Once I try to run it, it closes in seconds.

 

Any ideas of what I'm doing wrong? Could someone explain of how this installation can be done successfully step by step in other words? Maybe I have downloaded wrong files or Visual Studio 2017 was not installed properly?

 

Anything helps. Thanks.

0 Likes
Accepted solutions (1)
1,281 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable

Update:

Also tried to follow manual 'Installation' after downloading following files:

 

You install them by simply copying the zip file of your choice – for C#, VB, or both – to the appropriate Visual Studio project template folder in your local file system:

When opening Visual Studio I cannot see any Templates as well.

One thing to mention that My Documents located in D:\OneDrive\Documents...not in C:\ drive. Could this be a problem?

0 Likes
Message 3 of 5

RPTHOMAS108
Mentor
Mentor

That is a very old link and appears to be related to VS 2012. Probably things have changed since.

 

If you add 'pause' command to the end of the .bat file you'll see an error message perhaps. Would first check that all the file/directory path locations noted in the .bat file are available and can be written to.

 

Then check those locations manually. As you say if the zip files are located in:

C:\Users\User\Documents\Visual Studio 20XX\Templates\ProjectTemplates

They can normally be found. I don't the put templates I've made in subfolders such as Visual Basic and that seems to work ok i.e. they are still correctly classified.

Message 4 of 5

jeremy_tammik
Alumni
Alumni
Accepted solution
  • Download and unzip the zip file
  • Launch install.bat with the VS version, e.g., 'install 2019'

  

https://github.com/jeremytammik/VisualStudioRevitAddinWizard#installation

  

Instead of launching install.bat, you can also just manually copy the wizard template files (they are packaged into zip files) to the appropriate VS locations.

  

If you have any problems or wish to dive deeper into the topic, I would suggest reading more background information  about the development and earlier iterations of the wizard:

  

https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.20

  

Good luck!

    

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
Message 5 of 5

Anonymous
Not applicable

I've upgraded my Visual Studio to 2019 and moved downloaded files manually from drive D:\OneDrive\Documents... to the appropriate folders in C:\Users\*name*\Documents\Visual Studio 2019\Templates\Project Templates.

 

It seems like it worked perfectly, but still not sure if my VS 2017 or files in the drive D:\OneDrive\Documents... caused this problem.

 

Anyway, the template is very handy and I've already managed to build 'a tiny' script for my needs.

 

Thank you guys for helping me out. @RPTHOMAS108  & @jeremy_tammik