Inventor Add in Publish to MSI or exe

Inventor Add in Publish to MSI or exe

Stryder33345
Enthusiast Enthusiast
1,547 Views
8 Replies
Message 1 of 9

Inventor Add in Publish to MSI or exe

Stryder33345
Enthusiast
Enthusiast
Hi All I have recently completed an addin for inventor and I am ready to deploy the program for use in my work for further testing. Can anyone tell me or give me a link to how I can publish my addin to an .msi or .exe file for deployment using Visual Studio Community 2015 ? Thanks in Advance Ben Inventor 2016 Visual Studio Community 2015
0 Likes
Accepted solutions (1)
1,548 Views
8 Replies
Replies (8)
Message 2 of 9

pball
Mentor
Mentor
I'm actually using a self extracting 7zip archive to install my addin. It works well for me. If you're open to try this I can post detailed instructions.

If you need an msi or real exe installer I can't help out.
Check out my style edits for the Autodesk forums
pball's Autodesk Forum Style
0 Likes
Message 3 of 9

Stryder33345
Enthusiast
Enthusiast
Thanks for the reply, Im up for trying that for now.
0 Likes
Message 4 of 9

pball
Mentor
Mentor

Here is how I make a 7zip self extracting archive.

 

General instructions on making a 7zip sfx archive

http://www.region3dfg.org/comp/7zipsfx

 

My personal config file

;!@Install@!UTF-8!
Title="MISC Addin"
BeginPrompt="Do you want to install MISC Addin v0.1.1?"
FinishMessage="Finished installing MISC Addin"
InstallPath="%appdata%\Autodesk\ApplicationPlugins\MISC"
OverwriteMode="0"
GUIMode="2"
;!@InstallEnd@

 

Batch script to make creating the exe easier

@echo off
"C:\Program Files\7-Zip\7z.exe" a -t7z MISC_Addin.7z Autodesk.MISC.Inventor.addin MISC.dll
echo.
copy /b 7zsd.sfx + config.txt + MISC_Addin.7z MISC_Addin.exe
echo.
del MISC_Addin.7z
pause

If you have any specific questions let me know.

 

NOTE: Newer versions of 7-zip don't include the 7zsd.sfx file, get version 9.20
https://www.7-zip.org/a/7z920_extra.7z

Check out my style edits for the Autodesk forums
pball's Autodesk Forum Style
Message 5 of 9

Rahul.Khande
Enthusiast
Enthusiast

Thank you !!

0 Likes
Message 6 of 9

jose_loaiza5W6L6
Contributor
Contributor
Hello
Im trying to do these steps however I have an error, the file 7zsd.sfx not found, anyone can help me? how can I generate this file?
Thank you
0 Likes
Message 7 of 9

bradeneuropeArthur
Mentor
Mentor
Accepted solution

I use "Inno Setup Compiler" to create my installers...

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

Message 8 of 9

pball
Mentor
Mentor

@jose_loaiza5W6L6 
Newer versions of 7zip seem to have removed 7zsd.sfx for some reason. 7-Zip 9.20 is the newest version with the required files. There is a direct link below or you can look for version 9.20. I personally keep a copy of 9.20 just for creating install files and use a more recent version for everyday tasks.

 

https://www.7-zip.org/a/7z920_extra.7z

Check out my style edits for the Autodesk forums
pball's Autodesk Forum Style
0 Likes
Message 9 of 9

jose_loaiza5W6L6
Contributor
Contributor
Thank you so much, for your help, that was I needed.
0 Likes