VS 2017 .addin File Origin

VS 2017 .addin File Origin

tdant
Collaborator Collaborator
650 Views
5 Replies
Message 1 of 6

VS 2017 .addin File Origin

tdant
Collaborator
Collaborator

I'm new to VB.NET development, and I have a question. I'm working on putting together a .msi for my finished project. I know where to put the files for drop-in deployment, but I'm having trouble figuring out what part of the project's output contains the .addin file. I want to put the .addin where the red line is on the attached .png.

 

What part of the project output do I use? My options are: Primary output, Localized resources, Debug Symbols, Content Files, Source Files, Documentation Files, XML Serialization Assemblies, and Runtime Implementation. I've looked through the outputs of all those, and I don't see any .addin, but the .addin is in the source repository.

0 Likes
651 Views
5 Replies
Replies (5)
Message 2 of 6

bradeneuropeArthur
Mentor
Mentor

The following:

 

The .addin file to: C:\ProgramData\Autodesk\Inventor ####\Addins

The Dll file to: C:\Program Files\Autodesk\Inventor ####\Bin

 

 How to Register/Unregister
 =======================

 1) Build Project;

 2) Copy add-in dll file to one of following locations:
  a) Anywhere, then *.addin file <Assembly> setting should be updated to the full path including the dll name
  b) Inventor <InstallPath>\bin\ folder, then *.addin file <Assembly> setting should be the dll name only: <AddInName>.dll
  c) Inventor <InstallPath>\bin\XX folder, then *.addin file <Assembly> setting shoule be a relative path: XX\<AddInName>.dll

 3) Copy.addin manifest file to one of following locations:
  a) Inventor Version Dependent
  Windows XP:
   C:\Documents and Settings\All Users\Application Data\Autodesk\Inventor 2012\Addins\
  Windows7/Vista:
   C:\ProgramData\Autodesk\Inventor 2012\Addins\

  b) Inventor Version Independent
  Windows XP:
   C:\Documents and Settings\All Users\Application Data\Autodesk\Inventor Addins\
  Windows7/Vista:
   C:\ProgramData\Autodesk\Inventor Addins\

  c) Per User Override
  Windows XP:
   C:\Documents and Settings\<user>\Application Data\Autodesk\Inventor 2012\Addins\
  Windows7/Vista:
   C:\Users\<user>\AppData\Roaming\Autodesk\Inventor 2012\Addins\

 4) Startup Inventor, the AddIn should be loaded

 To unregister the AddIn, remove the Autodesk.<AddInName>.Inventor.addin from above mentioned .addin manifest file locations directly.

 

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 3 of 6

tdant
Collaborator
Collaborator

Maybe my explanation was a little muddy. I know what directories to add the files to. I'm at the point now where I'm trying to build an installer file to put them there. What I need to know is which of the options in the red-circled box has the .addin file, so that I can stick it in the installer folder on the right, along with the .dll.

 

Alternatively, I can manually add the .addin file from the repository, but that means any changes will require that step again.

0 Likes
Message 4 of 6

bradeneuropeArthur
Mentor
Mentor

I use ino setup compiler.

 

this is very easy to use and simple to understand.

 

What compiler do you use?

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 5 of 6

tdant
Collaborator
Collaborator

I'm using Visual Studio Community 2017.

0 Likes
Message 6 of 6

bradeneuropeArthur
Mentor
Mentor

You are not able to do this with Visual studio.

You need 2 file location.

That is why i use ino setup

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes