Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

api to make installer and install to revit

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
markjvlampad
3364 Views, 5 Replies

api to make installer and install to revit

markjvlampad
Advocate
Advocate

recently I finish my encoding using VS2013 and Revit 2016. now I want to deploy(create installer) how can I do that? 

some mention to use WIX and Innosetup, also in some blog they mention to use oneclick to make the installer.

 

I agree with those because I manage to create one installer. but the problem after I install the add in, nothing is happen.

so what I did, I copy the add in file to revit correct location and make sure that I got correct path to reference my .dll.

 

what happen next, revit is now recognizing my add in. it displays correct name in Ribbon. but the panel didn't display anything(totally blank).

 

I'm not sure what exactly I missed out. can somebody give me a hint which areas in VS I need to check? or is there a blog I can read how to correctly deploy a revit add in.

 

cheers,

Mark

0 Likes

api to make installer and install to revit

recently I finish my encoding using VS2013 and Revit 2016. now I want to deploy(create installer) how can I do that? 

some mention to use WIX and Innosetup, also in some blog they mention to use oneclick to make the installer.

 

I agree with those because I manage to create one installer. but the problem after I install the add in, nothing is happen.

so what I did, I copy the add in file to revit correct location and make sure that I got correct path to reference my .dll.

 

what happen next, revit is now recognizing my add in. it displays correct name in Ribbon. but the panel didn't display anything(totally blank).

 

I'm not sure what exactly I missed out. can somebody give me a hint which areas in VS I need to check? or is there a blog I can read how to correctly deploy a revit add in.

 

cheers,

Mark

5 REPLIES 5
Message 2 of 6
jeremytammik
in reply to: markjvlampad

jeremytammik
Autodesk
Autodesk

Dear Mark,

 

The Revit API getting started material includes all the information you require:

 

http://thebuildingcoder.typepad.com/blog/about-the-author.html#2

 

For a comprehensive and complete summary of the relevant information, you can also simply read the developer guide section on add-in installation:

 

http://help.autodesk.com/view/RVT/2018/ENU/?guid=GUID-4BE74935-A15C-4536-BD9C-7778766CE392

 

For a very complete and professional working sample single-click setup, you might want to check out the RevitPythonShell:

 

https://github.com/architecture-building-systems/revitpythonshell

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes

Dear Mark,

 

The Revit API getting started material includes all the information you require:

 

http://thebuildingcoder.typepad.com/blog/about-the-author.html#2

 

For a comprehensive and complete summary of the relevant information, you can also simply read the developer guide section on add-in installation:

 

http://help.autodesk.com/view/RVT/2018/ENU/?guid=GUID-4BE74935-A15C-4536-BD9C-7778766CE392

 

For a very complete and professional working sample single-click setup, you might want to check out the RevitPythonShell:

 

https://github.com/architecture-building-systems/revitpythonshell

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 6

MarryTookMyCoffe
Collaborator
Collaborator
Accepted solution

if panel is empty it mean that you forget to add button to it.
here is a link to a best explanation how add buttons:
http://archi-lab.net/create-your-own-tab-and-buttons-in-revit/

-------------------------------------------------------------
--------------------------------|\/\/|------------------------
do not worry it only gonna take Autodesk 5 years to fix bug

if panel is empty it mean that you forget to add button to it.
here is a link to a best explanation how add buttons:
http://archi-lab.net/create-your-own-tab-and-buttons-in-revit/

-------------------------------------------------------------
--------------------------------|\/\/|------------------------
do not worry it only gonna take Autodesk 5 years to fix bug
Message 4 of 6

jeremytammik
Autodesk
Autodesk

Dear MarryTookMyCoffe,

 

Thank you for your succinct and precise answer, and also for pointing out the archi+lab blog.

 

I promoted both to a notice on The Building Coder to raise awareness for this:

 

http://thebuildingcoder.typepad.com/blog/2017/12/pipe-fitting-k-factor-archilab-and-installer.html#6

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes

Dear MarryTookMyCoffe,

 

Thank you for your succinct and precise answer, and also for pointing out the archi+lab blog.

 

I promoted both to a notice on The Building Coder to raise awareness for this:

 

http://thebuildingcoder.typepad.com/blog/2017/12/pipe-fitting-k-factor-archilab-and-installer.html#6

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 5 of 6
BKSpurgeon
in reply to: jeremytammik

BKSpurgeon
Collaborator
Collaborator

I am developing a "hello world" Revit API dll. 

 

I want to make this dll work on someone else's computer. My understanding is that a ClickOnce or MSI installer can be used to "install the dll" or "install the plugin".

 

Was seeking a pointer, because it seems a lot harder than it should be - my understanding of installation/deployment is that the dll + manifest file should be dumped in a certain specific path(s) on a user's computer based on what i read in the developer docs.

 

 

Any pointers would be much appreciated. Chrs!

 

 


@jeremytammik wrote:

Dear Mark,

 

The Revit API getting started material includes all the information you require:

 

http://thebuildingcoder.typepad.com/blog/about-the-author.html#2

 

 

For a comprehensive and complete summary of the relevant information, you can also simply read the developer guide section on add-in installation:

 

http://help.autodesk.com/view/RVT/2018/ENU/?guid=GUID-4BE74935-A15C-4536-BD9C-7778766CE392

 

For a very complete and professional working sample single-click setup, you might want to check out the RevitPythonShell:

 

https://github.com/architecture-building-systems/revitpythonshell

 

Cheers,

 

Jeremy




 

0 Likes

I am developing a "hello world" Revit API dll. 

 

I want to make this dll work on someone else's computer. My understanding is that a ClickOnce or MSI installer can be used to "install the dll" or "install the plugin".

 

Was seeking a pointer, because it seems a lot harder than it should be - my understanding of installation/deployment is that the dll + manifest file should be dumped in a certain specific path(s) on a user's computer based on what i read in the developer docs.

 

 

Any pointers would be much appreciated. Chrs!

 

 


@jeremytammik wrote:

Dear Mark,

 

The Revit API getting started material includes all the information you require:

 

http://thebuildingcoder.typepad.com/blog/about-the-author.html#2

 

 

For a comprehensive and complete summary of the relevant information, you can also simply read the developer guide section on add-in installation:

 

http://help.autodesk.com/view/RVT/2018/ENU/?guid=GUID-4BE74935-A15C-4536-BD9C-7778766CE392

 

For a very complete and professional working sample single-click setup, you might want to check out the RevitPythonShell:

 

https://github.com/architecture-building-systems/revitpythonshell

 

Cheers,

 

Jeremy




 

Message 6 of 6
jeremy_tammik
in reply to: BKSpurgeon

jeremy_tammik
Autodesk
Autodesk

Nowadays, afaik, you can implement continuous integration CI on GitHub to build your installation DLL and installer MSI right there and then every time a new release is defined. Then the users can simply click on the GitHub release assets to install on their local machine, c.f., the RevitLookup releases:

  

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes

Nowadays, afaik, you can implement continuous integration CI on GitHub to build your installation DLL and installer MSI right there and then every time a new release is defined. Then the users can simply click on the GitHub release assets to install on their local machine, c.f., the RevitLookup releases:

  

  

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report