How to change names, extensions and locations of setup-*.bin (Inno Setup internal compression archive file)
Default archive location: {src}
Location where I want: {src}\Data
(Data is a folder.)
How to change names, extensions and locations of setup-*.bin (Inno Setup internal compression archive file)
Default archive location: {src}
Location where I want: {src}\Data
(Data is a folder.)
By the setup-*.bin
, I assume you refer to output files resulting from disk spanning. I do not know what "Inno Setup internal compression archive file" is.
Default location for Inno Setup output files is not {src}
(it wouldn't make sense) but subfolder "Output" under the directory containing the script."
You can change this using OutputDir
directive.
Quoting Inno Setup documentation:
Specifies the "output" directory for the script, which is where the Setup Compiler will place the resulting SETUP.* files. By default, it creates a directory named "Output" under the directory containing the script for this.
There are many way to change the output folder and base file name here are a few:
[Setup]
OutputDir={userdocs}\Data
({userdocs}
means my document,change this if you want another folder)setup-*.bin
in your case[Setup] OutputBaseFilename=setup
(changesetup
to any name)To change the size of
setup-*.bin
you can use[Setup]
DiskSpanning=true
DiskSliceSize=2000000000
(as your preference).{src}
is nothing but a directory constants which mean "The directory in which the Setup files are located".PS: If you want to create script for inno setup you can use ISTool instead then use the script in inno setup.
Thanks if you like my answer then accepted it.