Pocket Plane Group

Friends and Neighbors => Weimer Republic (WeiDU.org) => WeiDU => Topic started by: DavidW on May 31, 2019, 07:11:46 PM

Title: Install-order oddity
Post by: DavidW on May 31, 2019, 07:11:46 PM
Scenario: my mod stack is

Some SCS components
SCS component 'smarter dragons'
Some more SCS components
SCS component 'smarter illithids'
Some more SCS components
SCS component 'Ascension Demons'
A component from another mod
SCS component 'test'.

I ran setup-stratagems, chose [N]o change until I got to Smarter Dragons, then chose [R]einstall. As expected, the mod stack is uninstalled up to 'smarter dragons', then 'smarter dragons' reinstalls. So far so good.

I hit [R]einstall for the next few components, and they reinstall. Also as expected.

Then I hit [Q]uit when I get to 'smarter illithids'. The result is that every remaining SCS component up to and including 'Ascension Demons', but *not* 'Smarter illithids', is reinstalled. Then 'Smarter illithids' reinstalls; then the component from another mod, then 'test'. So the result is that the stack order is rearranged to

Some SCS components
SCS component 'smarter dragons'
Some more SCS components
Some more SCS components
SCS component 'Ascension Demons'
SCS component 'smarter illithids'
A component from another mod
SCS component 'test'.

Is that how it's supposed to work? It seems odd.
Title: Re: Install-order oddity
Post by: Wisp on June 01, 2019, 06:25:23 AM
Is that how it's supposed to work? It seems odd.
Kind of? Yes?

What happens here is that when you hit Q on Illithids, all components are set to be skipped (not asked about) and processing for the Illithids component itself is halted and WeiDU proceeds to the next component. If a temporarily uninstalled as-of-yet unprocessed component is set to be skipped, the stack manager automatically selects installation ("I") and proceeds to the next component. Once every component has been processed, WeiDU reinstalls any temporarily uninstalled components. These end up after the ordinarily installed components. This is why Illithids is reinstalled last. If you wish to preserve your installation order, you need to select "N" or "R" for all the temporarily uninstalled componets. The command line is probably more convenient for stack operations (for instance, you can use --reinstall to reinstall all installed components).

Incidentally, are you sure 'test' remains the last component after you have done this? I would have expected it to be reinstalled before the other mod, last of the SCS components (or before Illithids, with the Q thing).
Title: Re: Install-order oddity
Post by: DavidW on June 09, 2019, 12:51:51 PM
Got it. (I almost always use the command line these days, so I’ve lost track of how the interactive installer does this).

I’m fairly sure that’s where ‘test’ was but I haven’t kept that stack.