Author Topic: Distributing your InForm-based programs  (Read 6391 times)

0 Members and 1 Guest are viewing this topic.

FellippeHeitor

  • Guest
Distributing your InForm-based programs
« on: November 13, 2019, 07:49:37 am »
When you distribute your uncompiled InForm-based programs, the minimum you should add to your zip for distribution, besides your own data files (if any), is:

  • Your .bas file
  • Your .frm file
  • falcon.h
  • InForm/InForm.ui
  • InForm/InForm.bi
  • InForm/xp.uitheme
  • InForm/InFormVersion.bas

That way you're including the InForm library files and anyone with QB64 on their system will be able to compile your program, even without having the full InForm package installed.

Check the attachment for a sample package.

However, if you intend to distribute only your binary (not including the source code - probably not in this forum), you don't need to ship anything besides the binary itself. InForm-based programs are self-contained. In this case you'd only ship any files needed for your program to run, like icons, data files, images, etc.
* ThemePreview.zip (Filesize: 79.7 KB, Downloads: 369)
« Last Edit: October 14, 2021, 07:05:28 pm by FellippeHeitor »

Marked as best answer by on January 20, 2023, 04:02:36 pm

Offline George McGinn

  • Global Moderator
  • Forum Regular
  • Posts: 210
    • Resume
Re: Distributing your InForm-based programs
« Reply #1 on: March 19, 2021, 04:52:12 pm »
  • Undo Best Answer
  • Question - If I am distributing a binary executable do I need the same files? If not, what files do I need to include when providing an executable?
    ____________________________________________________________________
    George McGinn
    Theoretical/Applied Computer Scientist
    Member: IEEE, IEEE Computer Society
    Technical Council on Software Engineering
    IEEE Standards Association
    American Association for the Advancement of Science (AAAS)

    Offline SpriggsySpriggs

    • Forum Resident
    • Posts: 1145
    • Larger than life
      • GitHub
    Re: Distributing your InForm-based programs
    « Reply #2 on: March 19, 2021, 05:05:12 pm »
    @George McGinn If you are only providing an executable and it has no need for any external files like text documents or pictures, then you should be good. Just take note of what resources your program uses and the folder structure you created/used in your code and be sure to distribute it as such.
    Shuwatch!

    Offline George McGinn

    • Global Moderator
    • Forum Regular
    • Posts: 210
      • Resume
    Re: Distributing your InForm-based programs
    « Reply #3 on: March 20, 2021, 02:09:30 pm »
    Thanks.
    ____________________________________________________________________
    George McGinn
    Theoretical/Applied Computer Scientist
    Member: IEEE, IEEE Computer Society
    Technical Council on Software Engineering
    IEEE Standards Association
    American Association for the Advancement of Science (AAAS)