mohammadreza Posted April 25 Posted April 25 hello guys does anybody know how can i install my Lisps ,DCL, Cuix files by .EXE file ? is inno setup about it? does anything already exist? Quote
SLW210 Posted April 25 Posted April 25 Custom Application Setup Solved: How to load a .lsp file using C#? - Autodesk Community Quote
Danielm103 Posted April 25 Posted April 25 I like INNO, the only issue is that it generates a .EXE file You will want to create a .bundle package and have INNO put the package in %APPDATA%\Autodesk\ApplicationPlugins\\myapp.bundle https://help.autodesk.com/view/OARX/2025/ENU/?guid=GUID-5E50A846-C80B-4FFD-8DD3-C20B22098008 PackageContents.xml would have an entry for your cui as well https://help.autodesk.com/view/OARX/2025/ENU/?guid=GUID-40F5E92C-37D8-4D54-9497-CD9F0659F9BB Quote
BIGAL Posted April 26 Posted April 26 (edited) Doing bundles is pretty straight forward when you have an example to look at, that is for Autocad, Bricscad is different. Hence next method. Whilst not an exe I got around it by using a install.lsp, it looks for a zip file with all your stuff in it, Yes lisp can be used to unzip to a nominated directory, part 2 is that the lisp loads custom menu,s sets support paths. So ready to go, for multiple users email the zip and lisp, save the zip somewhere and run the lisp. Happy to provide more info. Edited April 26 by BIGAL Quote
mohammadreza Posted April 27 Author Posted April 27 On 4/26/2025 at 6:37 AM, BIGAL said: Doing bundles is pretty straight forward when you have an example to look at, that is for Autocad, Bricscad is different. Hence next method. Whilst not an exe I got around it by using a install.lsp, it looks for a zip file with all your stuff in it, Yes lisp can be used to unzip to a nominated directory, part 2 is that the lisp loads custom menu,s sets support paths. So ready to go, for multiple users email the zip and lisp, save the zip somewhere and run the lisp. Happy to provide more info. I'm happy to hear about this approach. Could you please share it if you can? Quote
BIGAL Posted April 28 Posted April 28 Which one the Bundle or the using a ZIP. (vl-mkdir "c:\\CAD-TOOLS") (setq filename (getfiled "Select the File \"CAD-TOOLS-APR-2025\"" "" "ZIP" 16)) ; unzip (startapp (strcat "powershell -command Expand-Archive -Path '" filename "' -DestinationPath 'C:/CAD-TOOLS' -FORCE")) (alert "programs unzipped to C:/CAD-TOOLS") ; load menus set support paths etc next Quote
mohammadreza Posted April 28 Author Posted April 28 13 hours ago, BIGAL said: Which one the Bundle or the using a ZIP. (vl-mkdir "c:\\CAD-TOOLS") (setq filename (getfiled "Select the File \"CAD-TOOLS-APR-2025\"" "" "ZIP" 16)) ; unzip (startapp (strcat "powershell -command Expand-Archive -Path '" filename "' -DestinationPath 'C:/CAD-TOOLS' -FORCE")) (alert "programs unzipped to C:/CAD-TOOLS") ; load menus set support paths etc next bundle please Quote
SLW210 Posted April 28 Posted April 28 There is this if you think it fits your needs... Autodesk Autoloader White Paper - AutoCAD DevBlog Quote
BIGAL Posted April 28 Posted April 28 (edited) This may help. The Xml is not critical in some of the values I just edited one I had. The web emali etc dont have to be real <ApplicationPackage SchemaVersion="1.0" AutodeskProduct="AutoCAD" ProductType="Application" Name="XYZ" AppVersion="1.0.0" Description="Product Description" Author="AH" AppNameSpace="Alanh consulting.com.au" ProductCode=""ABCDEFG" UpgradeCode="HIJKLMN" FriendlyVersion="1.0.0" FriendlySupportedLocales="Enu" OnlineDocumentation="http://www.whoknows.com"> <CompanyDetails Name="AH" Email="info@alanh.com.au" Url="http://www.AlanH.com.au"/> <RuntimeRequirements OS="Win32|Win64" Platform="AutoCAD*"/> <Components Description="ANY AUTOCAD"> <RuntimeRequirements OS="Win32|Win64" Platform="AutoCAD*" SupportPath="./Contents/Resources;./Contents/Programs"/> <ComponentEntry AppName="Name of Menu to Load" ModuleName="./Contents/Resources/Utilities.cuix" LoadOnAppearance="True" LoadOnAutoCADStartup="True"/> <ComponentEntry AppName="Lisp File to Load" ModuleName="./Contents/Programs/Goto-layout.lsp" LoadOnAutoCADStartup="True"/> <ComponentEntry AppName="Lisp File to Load" ModuleName="./Contents/Programs/Multi GETVALS.lsp" LoadOnAutoCADStartup="True"/> </Components> </ApplicationPackage> Last comment can use the lisp method above to install the correct zip containing the bundle. Edited April 28 by BIGAL Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.