Jump to content

Recommended Posts

Posted

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?

Posted

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

 

Posted (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 by BIGAL
Posted
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?

Posted

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

 

Posted
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🙏

 

Posted (edited)

This  may help.

 

image.thumb.png.593392b512bebb1ecaeacaffe9dd7579.png

image.thumb.png.2d00c52e4a4ee929e4a0b1344afe123f.png

 

image.thumb.png.54cfdb188cc0e8f2f44159dd6d664cfc.png

 

image.thumb.png.0e7b681ff2ec0797088d6f29cedec21c.png

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 by BIGAL

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...