Author Topic: Distributing your InForm-based programs  (Read 12445 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: 606)
« Last Edit: October 14, 2021, 07:05:28 pm by FellippeHeitor »

Offline George McGinn

  • Global Moderator
  • Forum Regular
  • Posts: 210
    • View Profile
    • Resume
Re: Distributing your InForm-based programs
« Reply #1 on: March 19, 2021, 04:52:12 pm »
  • 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
      • View Profile
      • GitHub
    Re: Distributing your InForm-based programs
    « Reply #2 on: March 19, 2021, 05:05:12 pm »
  • Best Answer
  • @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
      • View Profile
      • Resume
    Re: Distributing your InForm-based programs
    « Reply #3 on: March 20, 2021, 02:09:30 pm »
  • Best Answer
  • 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)