Hoping someone can help me with this:
I'm editing the install.bat for my own use, which mostly has worked fine when just changing or adding components. However, when adding new mods, I'm having some problems. In the "BiG World Installpack readme", it says that changing %INST% to %INSTQ% would then pause the installation at that point and let you manually choose which components to install. Well, it pauses, and shows a language selection, but no matter what I try to type ("E", "English", "0", etc), after pressing Enter it just says "no language selected, skipping mod" or something like that. This has been the case for every mod I've tried among those not so far included in BWP (mostly ones newer than the latest BWP release).
If anyone could explain what I need to do to actually get to choose components manually at install time, I would very much appreciate it.
Editing BWP's install.bat
Started by Quester, Jan 29 2012 03:27 AM
5 replies to this topic
#1
Posted 29 January 2012 - 03:27 AM
#2
Posted 29 January 2012 - 04:43 AM
Why bother and look for errors if you can enter a pause or a Setup-XYZ.exe in your own edited batch-version?
It has more or less the effect that you want (pause so you can do something or execute the setup and wait until it's done).
It has more or less the effect that you want (pause so you can do something or execute the setup and wait until it's done).
THINK! - It's not illegal.
#3
Posted 29 January 2012 - 05:25 AM
I'm not sure I understand what you're saying, Dabus. The problem is that it doesn't let me install a mod manually through the install.bat dos prompt, even though I'm doing exactly as described in the BWP install readme (or so I think).
#4
Posted 29 January 2012 - 05:38 AM
I tell you to drop the %INSTQ% if it does not work and take the easy way to a working install, which means a manual install by either pausing and running the setups yourself or letting the batch start the setup.
From reading your post I'd guess that you are at this step:
So using another simple way that shouldn't go wrong and does not include the editing of some variables seems to be the easy way to a working installation, isn't it?
From reading your post I'd guess that you are at this step:
WeiDU.exe --list-languages "%TP2_PATH%" --no-exit-pause %EDITV32% -p "Language: " TRA IF "%TRA%" == "" ( echo Skipping %1, component[s] %~2: No language selected: aborting pause exit /b 0 )I don't know why the program didn't edit the variable and I don't know if you are capable of debugging that part.
So using another simple way that shouldn't go wrong and does not include the editing of some variables seems to be the easy way to a working installation, isn't it?
THINK! - It's not illegal.
#5
Posted 30 January 2012 - 12:04 PM
I suppose I can add a pause where needed and install the additional mods manually and separately, and then continue with the batch install. That should work, right? But I would like to understand how the installation works, why it does what it does and why my edit didn't work. Unfortunately Leonardo isn't around very often, otherwise he could probably enlighten me.
#6
Posted 30 January 2012 - 04:34 PM
I doubt that since the code isn't from him.
But it's no biggie. The code should edit TRA which it doesn't. Works for me on a WinXP Pro SP3.
But it's no biggie. The code should edit TRA which it doesn't. Works for me on a WinXP Pro SP3.
THINK! - It's not illegal.