Author Topic: Installation package (exe)  (Read 1365 times)

0 Members and 1 Guest are viewing this topic.

JDBuzbee

  • Mosquito
  • Posts: 1
Installation package (exe)
« on: June 06, 2023, 11:47:47 AM »
Has anyone used a third party to create an installation package for the AutoCAD customizations?  I cannot believe what Windows has done to their 2021 - 2023 operating system and I wake up one morning and nothing works

I've been using the same tools for 15 years and now they're dead - any thoughts?

bilançikur

  • Newt
  • Posts: 82
Re: Installation package (exe)
« Reply #1 on: June 13, 2023, 05:42:07 AM »
In a previous life I have used the Inno software:
https://jrsoftware.org/isinfo.php

Maybe this can help you out?

JohnK

  • Administrator
  • Seagull
  • Posts: 10669
Re: Installation package (exe)
« Reply #2 on: June 13, 2023, 09:42:59 AM »
I used NSIS for many things.
https://sourceforge.net/projects/nsis/
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

Jeff_M

  • King Gator
  • Posts: 4100
  • C3D user & customizer
Re: Installation package (exe)
« Reply #3 on: June 13, 2023, 10:40:13 AM »
I am currently using Inno Setup, have used this exclusively since 2009.

BIGAL

  • Swamp Rat
  • Posts: 1444
  • 40 + years of using Autocad
Re: Installation package (exe)
« Reply #4 on: June 14, 2023, 07:43:51 PM »
You can use a lisp to do a install, I found out how to open a zip file and unpack it using lisp. So I email a lisp and a ZIP. For me it makes the correct directory c:\Cad-tools etc and unzips the files to that directory, the menu's are menuloaded, support paths set and so on. All in the lisp.

This is the unzip part.

Code: [Select]
(setq filename (getfiled "Select the File \"CAD-TOOLS-OCT-25-2022\"" "" "ZIP" 16))

; unzip
(startapp (strcat "powershell -command Expand-Archive -Path '" filename "' -DestinationPath 'C:/CAD-TOOLS' -FORCE"))
(alert "programs unzipped to C:/CAD-TOOLS")
A man who never made a mistake never made anything

kdub_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2159
  • class keyThumper<T>:ILazy<T>
Re: Installation package (exe)
« Reply #5 on: June 14, 2023, 07:55:04 PM »

Very enterprising Alan !!
Called Kerry in my other life
Retired; but they dragged me back in !

I live at UTC + 13.00

---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.

gile

  • Gator
  • Posts: 2520
  • Marseille, France
Re: Installation package (exe)
« Reply #6 on: June 15, 2023, 01:15:40 AM »
I had written a tutorial on how to create a .bundle folder and its installer with Inno Setup. Unfortunately, it's in French.
Speaking English as a French Frog

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8858
  • AKA Daniel
Re: Installation package (exe)
« Reply #7 on: June 15, 2023, 05:02:06 AM »
I’ll second INNO setup, used it a lot, the only downside is it creates a .EXE, which is kind of a pain due to all the security stuff.
Now I mostly use a Visual Studio Setup project to create a MSI, it’s super easy to attach a bundle and contents, more of a pain if you need to edit the registry.

gile

  • Gator
  • Posts: 2520
  • Marseille, France
Re: Installation package (exe)
« Reply #8 on: June 15, 2023, 05:07:29 AM »
Now I mostly use a Visual Studio Setup project to create a MSI, it’s super easy to attach a bundle and contents, more of a pain if you need to edit the registry.
So do I with .NET projects, but we're in the LISP forum...
Speaking English as a French Frog

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8858
  • AKA Daniel
Re: Installation package (exe)
« Reply #9 on: June 15, 2023, 07:45:12 AM »
Now I mostly use a Visual Studio Setup project to create a MSI, it’s super easy to attach a bundle and contents, more of a pain if you need to edit the registry.
So do I with .NET projects, but we're in the LISP forum...
I didn’t know that doesn’t work. .bundle doesn't work with autolisp files?
« Last Edit: June 15, 2023, 07:54:43 AM by El Jefe »

gile

  • Gator
  • Posts: 2520
  • Marseille, France
Re: Installation package (exe)
« Reply #10 on: June 15, 2023, 02:35:24 PM »
Now I mostly use a Visual Studio Setup project to create a MSI, it’s super easy to attach a bundle and contents, more of a pain if you need to edit the registry.
So do I with .NET projects, but we're in the LISP forum...
I didn’t know that doesn’t work. .bundle doesn't work with autolisp files?
.bundle does work with LISP (and DCL) files but most of the LISPers does not use (full) Visual Studio. That's why I thaught Inno Setup is a good way to build an installer.
Speaking English as a French Frog

JohnK

  • Administrator
  • Seagull
  • Posts: 10669
Re: Installation package (exe)
« Reply #11 on: June 15, 2023, 02:52:14 PM »
It's too bad Microsoft decided to have two APIs for the editor and IDE. It would have been nice if the extensions were more "interchangeable". I know the features of one are not in the other but porting from one language to another is a big pain; porting could have been easier if both used the same/one language.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

BIGAL

  • Swamp Rat
  • Posts: 1444
  • 40 + years of using Autocad
Re: Installation package (exe)
« Reply #12 on: June 15, 2023, 08:47:45 PM »
As provided above yes the ZIP can be a Bundle install to C:\program files\Autodesk\Application plugins.

I can see like others the .exe being rejected at times. I know stuff I download at times can take a few extra steps to get past my virus checker.
A man who never made a mistake never made anything

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8858
  • AKA Daniel
Re: Installation package (exe)
« Reply #13 on: June 15, 2023, 09:12:08 PM »
WinRAR can create a self-extracting archive that can be used as an installer… but yeah .EXE installers cause too many issues these days.
INNO was my go to installer until. EXEs were being rejected.

Wix is another option, https://wixtoolset.org/
Visual studio's setup, is all I need