Hi all,
I have created a addin for Inventor 2014 using VB.net 2010. Now, I would like to create a setup/ installshield application which places the files into the respective directories. Example..
ABC.dll need to be placed in [Inventor 2014 Installation directory]
ABC.addin need to be placed in [C:\ProgramData\Autodesk\Inventor 2014\Addins]
Anyone's help would be appriciated. Thanks in advance.
Regards
NKalyan
Solved! Go to Solution.
Solved by gadurai. Go to Solution.
Hi Kalyan,
You can set the target directory of your output file and other files in the setup creation.
Addoutput file and set the target directory as "Inventor 2014 Installation directory"
Add file and then set target directory as "C:\ProgramData\Autodesk\Inventor 2014\Addins\"
The following may help you to understand better in creating setup file.
http://www.youtube.com/watch?v=I4JgBdPQYIA\
Regards,
Appadurai.G
Garurai,
Thanks for the quick reply. Can we put a Generic path of Inventor 2014 installation directory in Setup project?
Like in Inventor --> Application options, we used to see %INSTALLDIR%
Thanks in advance.
Regards
NKalyan
Sorry this is not possible.Beacuse the "%INSTALLDIR%" is getting from Inventor Application.This you cannot get in the VS setup.
I hope you can create some script to read inventors installation directory while installing.
The Addin file should be in the follwing directory only depends on your OS and version dependency.But your DLL can be anywhere and not neccessay to be in the Inventor's Installation folder.
Version Independent:
Windows XP:
C:\Documents and Settings\All Users\Application Data\Autodesk\Inventor Addins\
Windows7/Vista:
C:\ProgramData\Autodesk\Inventor Addins
Version Dependent:
Windows XP:
C:\Documents and Settings\All Users\Application Data\Autodesk\Inventor 2012\Addins\
Windows7/Vista:
C:\ProgramData\Autodesk\Inventor 2012\Addins\
You can specify the DLL path in the Addin file Itself and you can put your required DLL in to the Desired folder.
There are 3 ways to specify the location of the DLL:
Please refer : http://modthemachine.typepad.com/my_weblog/add-in-creation/
Regards,
Appadurai.G
If this helped,Please Accept this as Solutions.