Author Topic: Weidu is executing every executable called setup-* even if it's not weidu  (Read 221 times)

Offline AL|EN

  • Planewalker
  • *****
  • Posts: 330
  • Gender: Male
Hi,


Weidu is executing every executable called setup-* even if it's not weidu. I'm assuming that it's because autoupdate design. Can you alter this so the non-weidu executable won't be executed?
Project Infinity public BETA  - mod manager for Infinity Engine games
Modder's Guide to Github - you cannot have progress without committing changes

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1078
I can't know if an executable matching the setup pattern is or is not a WeiDU without running it to see if it takes the expected input and produces the expected output. Yes, it is autoupdate which runs all the setup executables in the game directory.

Offline AL|EN

  • Planewalker
  • *****
  • Posts: 330
  • Gender: Male
Sure you can, just check ProductName property of the executable. If it's there, it's weidu so compare ProductVersion with the current one.

EDIT: well, apparently on macOS and Linux, there is no way to check executable without launching?
« Last Edit: February 29, 2020, 10:10:03 AM by AL|EN »
Project Infinity public BETA  - mod manager for Infinity Engine games
Modder's Guide to Github - you cannot have progress without committing changes

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1078
Sure you can, just check ProductName property of the executable. If it's there, it's weidu so compare ProductVersion with the current one.
I can't use features that only exist in the most recent versions of WeiDU. Autoupdate needs to be able to handle any old WeiDU ever released.

 

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)?: