Tokeiburu 229 Posted August 17, 2015 (edited) File Name: RO Installer Script (Inno Setup)File Submitter: TokeiburuFile Submitted: 17 Aug 2015File Category: Client ResourcesHeya!This 'release' is a very simple Inno Setup script to create Full or Lite client installers.It requires Inno Setup, which can be downloaded here : http://www.jrsoftware.org/isdl.php#stable. While installing Inno Setup, make sure the "Install Inno Setup Preprocessor" option is checked; otherwise you will get an "unknown option" error.How to make this work?Put your client files in either RO_Lite or RO_Full and then run the "_Make New Installer.bat" files. This will output a new installer called "YourRO Installer.exe".Customization Server name : open RO.iss and change the first line : #define ServerName "YourRO" The left image can be customized by editing background.bmp (or background.psd). The file format must remain a 24bit bmp. The wizard small image uses wizardSmallImage.bmp; the file format must remain 24bit as well. To add files to your installer, add them to the RO_Lite or RO_Full subfolders. Once you run the script, all the files in these folders will be packed in your installer. It can go over 2 GB, although if that's the case you might want to consider using the LZMA compression for your GRFs...! Install the VC++ Redistributable files (required by Harmony) silently. Open RO.iss and remove the semi-colon in front of "#define Harmony" to enable this option. By default, the necessary registry keys to start the game will be set if they aren't already. This is to avoid the "small window" issue people will have with older clients. The installer icon can be changed via installer.ico Uninstallating removes the entire RO folder, watch out (you can disable that). The default installer icon used comes from Lykos's icon pack, which can be found here : https://rathena.org/board/files/file/3190-s1-lykos-icon-pack/. It has been modified through hexing to allow the icon to be resizable by Windows Vista or more recent.Click here to download this file Edited January 18, 2016 by Tokeiburu 13 REKT, anacondaq, jaBote and 10 others reacted to this Quote Share this post Link to post Share on other sites
Garr 117 Posted August 17, 2015 Wow, thanks, I was searching on how to make IS silently install VC redists. Quote Share this post Link to post Share on other sites
Nova 4 Posted August 17, 2015 (edited) So good. As usual, thanks Tokei. Edited August 17, 2015 by Nova Quote Share this post Link to post Share on other sites
OverLord 4 Posted August 18, 2015 You can set an executable will run as an administrator and compatibility mode (In the case that the Thor does not work the start button in Windows 8.1+ without it) Quote Share this post Link to post Share on other sites
keough 36 Posted October 23, 2015 having problem with this error Error in C:UsersAdministratorDesktopRO Installer ScriptRO.iss: Disk spanning must be enabled in order to create an installation larger than 2100000000 bytes in size. how to fix this? Quote Share this post Link to post Share on other sites
Nova 4 Posted October 23, 2015 Cut down on the size of your files so the installer size doesn't go above that. Quote Share this post Link to post Share on other sites
Garr 117 Posted October 23, 2015 Open RO.iss and add following lines: DiskSpanning = yesDiskSliceSize = 1600000000 After WizardSmallImageFile=installer_square2.bmp You should change DiskSliceSize to number you see more fitting. I set it to ~1.5GB. Just a warning: this will spawn several part installer: - main installer file (.exe) - parts of installer ( They are named the same as main installer file and have 1,2,3...n at the end of name, .bin) Your players will need all parts and main installer file in one folder for it to work. Usually just pack them up in one zip and you're good to go. Quote Share this post Link to post Share on other sites
KucingHitam 0 Posted August 6, 2016 how to make extract file direct not folder server name Quote Share this post Link to post Share on other sites
Psy Ops 0 Posted October 21, 2018 Hi! I had the same error Error in C:UsersAdministratorDesktopRO Installer ScriptRO.iss: Disk spanning must be enabled in order to create an installation larger than 2100000000 bytes in size. On 10/23/2015 at 3:31 PM, Garr said: Open RO.iss and add following lines: DiskSpanning = yesDiskSliceSize = 1600000000 After WizardSmallImageFile=installer_square2.bmp You should change DiskSliceSize to number you see more fitting. I set it to ~1.5GB. Just a warning: this will spawn several part installer: - main installer file (.exe) - parts of installer ( They are named the same as main installer file and have 1,2,3...n at the end of name, .bin) Your players will need all parts and main installer file in one folder for it to work. Usually just pack them up in one zip and you're good to go. I tried doing the procedure as stipulated but the following lines were shown: Error on line 25 in C:\Users\Andrew Palma\Desktop\One RO Patcher\RO INSTALLER\RO.iss: Value of [Setup] section directive "DiskSpanning" is invalid. Compile aborted. I typed in this WizardSmallImageFile=wizardSmallImage.bmp DiskSpanning=yesDiskSliceSize=1600000000 Please Help Quote Share this post Link to post Share on other sites
aetech 0 Posted November 27, 2018 try: DiskSpanning=True DiskSliceSize=1566000000 SlicesPerDisk=3 Quote Share this post Link to post Share on other sites
MikhaylOdole 0 Posted July 29, 2019 Q: В конфиге инны задаю значок для выходного файла. Так вот, при достижении, как я понял, определённого размера упаковываемых файлов около 350 мб значок остаётся стандартный виндовый. A: Если ваш setup.exe составлено более чем несколько сотен мегабайт, Windows Explorer может показать стандартный значек файла вместо установленного вами. Кроме того, при просмотре свойств файла вкладка "Версия" может отсутствовать. Это не ошибка Inno Setup. На самом деле проблема заключается в API Explorer используемых для извлечения иконок и сведений о версии. Проблему возможно решить, включив разбиение пакета установки на несколько файлов с помощью директивы DiskSpanning=yes. При этом данные будут вынесены в один или несколько файлов .bin в зависимоти от настройки DiskSliceSize и размера исходных файлов, а сама программа установки будет занимать малый объём, который Windows Explorerу под силу корректно обработать. Код, демонстрирующий использование DiskSpanning:DiskSpanning=yes Quote Share this post Link to post Share on other sites