On 8/05/2022 10:35,
cesar.za...@gmail.com wrote:
> I know that Inno Setup is intended for software compression, but as the
> files take up more space every day, I have a question.
>
> I wonder if there is a way to split a compression to BD100 (Blu-Ray
> Media 100 GB)?
>
> The SlicesPerDisk limit is 26 and the maximum DiskSliceSize limit is
> 2100000000, so I will have a maximum of 54600000000 (~50.85 GB) per disk.
You can, of course, put as many as will fit onto the physical disk; you
don't have to stop at 51GB.
> How do I split for example 150GB of compression into 2 BD100's so that
> it asks for the correct disk 2 after installing the contents of the
> first BD100?
It's not possible to make slices larger than 2GB, as previously noted.
However you can put these slices onto disk however you like, so you can
for example put as many as will fit onto the physical disc 1 and then
put the rest onto the physical disc 2. When Inno wants the next file
and can't find it, it will prompt to swap discs.
(If you really wanted, you could put all the odd files one one disk and
the even files on another, and it'd prompt to swap for each file. Don't
actually do that though.)
By default it will prompt for "disk 43" or whatever the first file on
the other disc is. If you don't like this, you can use the [Messages]
section to edit the SelectDiskLabel2 message. This is fairly
straightforward when you only have two physical discs.
You can use SlicesPerDisk to reduce the disk number in the message
somewhat; but as you noted, not that far. It's probably simplest to
just leave it at 1.