You are here

Installer.ini questions

5 posts / 0 new
Last post
bill_gagliardi
bill_gagliardi's picture
Offline
Last seen: 1 month 3 weeks ago
Joined: 2008-11-05 22:44
Installer.ini questions

Ok, so I am really struggling to understand parts of the installer.ini documentation. I do have issues with reading comprehension, so please be patient.

  1. What is the purpose of AdditionalInstallSize? Is it the size of the installer downloaded? Is this the compressed or uncompressed files once extracted? Also what would you do in the case where you didn't want it to be version specific (like Calibre)? That program's installer.ini has an AdditionalInstallSize=122880. It says "AdditionalInstallSize is used to specify the size of the files that will be added to the files contained within the installer. The entry should be a number only and be in KB". I'm sorry, I'm just not understanding it. I'm thoroughly confused.
  2. How do you handle a filename to be downloaded that can change? For example, let's say I wanted to create a launcher that downloads the shareware program WinRAR. When they come out with a new version, their naming scheme is like wrar420.exe (wrar + the version number). Is there a way to get the installer to look for the latest one, or would I have to list the filename explicitly?

Any help would be appreciated. I have a few more portable apps I want to release, and at least 1 launcher, but I seem to be running into issues. Sad

Aluísio A. S. G.
Offline
Last seen: 7 years 10 months ago
DeveloperTranslator
Joined: 2010-11-09 17:43
Extracted files; version-specific

1. AdditionalInstallSize is the total size of the extracted files.
2. One version = one installer. Just put the URL for the current version. Also, there is no need to make AdditionalInstallSize version-independent.

Previously known as kAlug.

bill_gagliardi
bill_gagliardi's picture
Offline
Last seen: 1 month 3 weeks ago
Joined: 2008-11-05 22:44
Ok

I understood most of that, but what do you mean by

there is no need to make AdditionalInstallSize version-independent

? Do you mean that there is no need for a launcher that doesn't care of the version of an application?

Here is my fear. I go and make a launcher for an application that get updated often. I fear that one of these times, the size will increase enough that it will grow beyond the AdditionalInstallSize, thereby breaking the launcher (and needing an updated version). Is my concern unfounded?

Bill G.
Frozen St. Paul, MN
land of the frozen mosquito

Aluísio A. S. G.
Offline
Last seen: 7 years 10 months ago
DeveloperTranslator
Joined: 2010-11-09 17:43
Correct

IIRC, AdditionalInstallSize is only for informational purposes (i.e. we use it to tell the user how much space it'll use). Include the MD5 check for the download, and then the installer will even refuse to install a newer version.

Previously known as kAlug.

bill_gagliardi
bill_gagliardi's picture
Offline
Last seen: 1 month 3 weeks ago
Joined: 2008-11-05 22:44
Got it

I finally think I understand. Thanks for the help kAlug! I appreciate it. Smile

Bill G.
Frozen St. Paul, MN
land of the frozen mosquito

Log in or register to post comments