How do you create installer for a glx application framework based Windows standalone.

Collaborate on tools, libraries, and applications beyond the IDE

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Locked
Martin Koob
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 256
Joined: Sun May 27, 2007 8:19 pm

How do you create installer for a glx application framework based Windows standalone.

Post by Martin Koob » Mon Jul 13, 2020 2:55 am

I have an app developed using the glx application framework and I am trying to create a Windows installer for it. I am a Mac user and have not tried to create a Windows installer so a bit in the dark here.

When I build the application with the glxApplicationPackager it get the following

Win32
___myapp.exe
___Externals
______tsNet-x86_64.dll
______mergJSON-x64.dll
______revxml.dll
___Components
______Images
_________plusicon.png
_________and so on ....
______application.dat
______glxapp_framework.dat
______login.livecode
______licence.livecode
______myapp.livecode

This runs on my Windows machine by just clicking on the .exe file so I guess it is referencing the Externals and components relative to itself.

I don't know much about the Windows file system and how Applications are stored but I suspect that the supporting files in the Externals and components files are not installed in the same directory as the myapp.exe executable. So where should they be and how do they get there?

I see references for to Inno a tool to move files like externals and the an to the appropriate locations. However I can't find information about where the files should be moved to. Is there a template Inno script/file that can be used for creating Windows standalone installers?

Thanks in advance.

Martin Koob

trevordevore
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1005
Joined: Sat Apr 08, 2006 3:06 pm
Location: Overland Park, Kansas
Contact:

Re: How do you create installer for a glx application framework based Windows standalone.

Post by trevordevore » Thu Feb 04, 2021 6:20 am

@martin - I realize this was a long time ago but I'll answer in case someone else comes across it. All of the files go in the same folder on Windows. So in this case everything in the Win32 folder would need to be installed into the same folder.

There is a Levure helper that generates an Inno Setup file each time you package an app: https://github.com/trevordevore/levurehelper-inno_setup

There is a sample file in the repo you can refer to. Also take a look at https://github.com/trevordevore/levureh ... script#L15 to see how the [[FilesAndFoldersToInstall]] and [[DirectoriesToCreate]] variables in the sample file are populate with installer directives for all files in the package Windows application.
Trevor DeVore
ScreenSteps - https://www.screensteps.com

LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder

Locked

Return to “Community Projects”