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.
- 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.
- 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.
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.
I understood most of that, but what do you mean by
? 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
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.
I finally think I understand. Thanks for the help kAlug! I appreciate it.
Bill G.
Frozen St. Paul, MN
land of the frozen mosquito