Author Topic: WeiDU 249 and autoupdate  (Read 387 times)

Offline Salk

  • Planewalker
  • *****
  • Posts: 869
WeiDU 249 and autoupdate
« on: July 02, 2022, 01:29:34 PM »
Hello!

I am installing some mods and I noticed that the auto-update function is not working well for me as in it doesn't ever complete properly. I have to close the window. When I run the updated .exe again, it does seem like the update was successful though.

This is the latest attempt:

[C:\GOG Games\Baldur's Gate 2\setup-item_rev.exe] WeiDU version 24800
{setup-1pp.exe} Queried (pid = 368) version = 24900
 version = 24900
 version = 24900
 version = 24900
 version = 24900
 version = 24900
 version = 24900
{setup-bgqe.exe} Queried (pid = 396) version = 24900
 version = 24900
 version = 24900
 version = 24900
 version = 24900
 version = 24900
 version = 24900
 version = 24800
 version = 24900
 version = 24900
 version = 24900
 version = 24900
 version = 24900
 version = 24900
 version = 24900
 version = 24900
 version = 24900
 version = 24900
 version = 24900
Newest WeiDU is version 24900, updating!
WeiDU files in version order:
  [setup-wheels.exe] version 24900
  [setup-ub.exe] version 24900
  [setup-txtmusic.exe] version 24900
  [setup-TobEx_AfterLife.exe] version 24900
  [setup-tobex.exe] version 24900
  [setup-thecalling.exe] version 24900
  [setup-stweaks.exe] version 24900
  [setup-spawntweak.exe] version 24900
  [setup-rr.exe] version 24900
  [setup-refinements.exe] version 24900
  [setup-mwyvmtan.exe] version 24900
  [setup-gui.exe] version 24900
  [setup-d0tweak.exe] version 24900
  [setup-d0questpack.exe] version 24900
  [setup-c#sb_silber.exe] version 24900
  [setup-c#endlessbg1.exe] version 24900
  [setup-bgt.exe] version 24900
  [setup-bgqe.exe] version 24900
  [setup-bggoEET.exe] version 24900
  [setup-bg2gtueestyle.exe] version 24900
  [setup-bg2fixpack.exe] version 24900
  [setup-bg1ub.exe] version 24900
  [setup-aurora.exe] version 24900
  [setup-arestorationp.exe] version 24900
  [setup-1pp.exe] version 24900
  [setup-item_rev.exe] version 24800
        Copying [setup-wheels.exe] -> [setup-item_rev.exe]: false
[setup-wheels.exe] WeiDU version 24900
Auto-Updating on behalf of [setup-item_rev.exe]
        Copying [setup-wheels.exe] -> [setup-item_rev.exe]:
Auto-Updating on behalf of [setup-item_rev.exe] (done)
[setup-item_rev.exe] WeiDU version 24900
{setup-bgqe.exe} Queried (pid = 376)
« Last Edit: July 02, 2022, 02:43:40 PM by Salk »

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1161
Re: WeiDU 249 and autoupdate
« Reply #1 on: July 05, 2022, 01:05:15 PM »
Are you only having this problem with setup-files that themselves need to be updated? What's supposed to happen in that case is that WeiDU tries to re-launch itself, with the new process replacing the existing one. From the log trail, it seems like maybe this is happening, but that something goes wrong in the new process. Unfortunately, this is not something I am able to reproduce myself, so I don't know what would be going wrong. FWIW, the fall-back solution for the re-launch not working is telling the user to do it manually.

Offline Salk

  • Planewalker
  • *****
  • Posts: 869
Re: WeiDU 249 and autoupdate
« Reply #2 on: July 06, 2022, 12:47:09 PM »
Hello, Wisp!

Thanks for your help. The one peculiar thing is that the auto update chokes on setup-bgqe.exe. It is interesting because that .exe file, setup-c#endlessbg1.exe and setup-thecalling.exe have a different size than all other modifications' .exes (1,333 Kbs for those three vs 1,147 Kbs for all the others). One thing I can do when I install the next modification is to replace the setup-bgqe.exe with the differently sized exe and see if it still chokes then I will report to you, of course.


Offline jastey

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1486
  • Gender: Female
Re: WeiDU 249 and autoupdate
« Reply #3 on: July 09, 2022, 01:46:59 AM »
Dependent on when you downloaded the packages, bgqe, EndlessBG1 (I don't know about The Calling) use AL|EN's auto tool for mod packaging which uses the most recent weidu version - I do not know which one though (as there are different exes), this is something that should/could be asked AL|EN (yes I'm totally putting the blame).

Offline Salk

  • Planewalker
  • *****
  • Posts: 869
Re: WeiDU 249 and autoupdate
« Reply #4 on: July 10, 2022, 04:52:11 AM »
Hello again!

Yes, it was as I suspected. I replaced the setup-bgqe.exe file and now the auto-updating chokes in the next .exe that shared the same size (setup-c#endlessbg1.exe). I can contact AL|EN about this because I guess your suspicion is correct, jastey.

Offline jastey

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1486
  • Gender: Female
Re: WeiDU 249 and autoupdate
« Reply #5 on: August 08, 2022, 12:52:46 PM »
@Salk That would be great! Thanks in advance.

Offline CamDawg

  • Infidel
  • Planewalker
  • *****
  • Posts: 853
  • Dreaming of a red Xmas
    • The Gibberlings Three
Re: WeiDU 249 and autoupdate
« Reply #6 on: August 24, 2022, 07:26:37 AM »
A different auto-update bug--this was posted on Discord. Looks like the auto-update fails if the setup program has spaces in its name.
The Gibberlings Three - Home of IE Mods

The BG2 Fixpack - All the fixes of Baldurdash, plus a few hundred more. Now available, with more fixes being added in every release.

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: