Pocket Plane Group

Friends and Neighbors => Weimer Republic (WeiDU.org) => WeiDU => Topic started by: jastey on April 26, 2018, 03:27:32 AM

Title: What defines the browser WeiDU calls for readmes?
Post by: jastey on April 26, 2018, 03:27:32 AM
I am sure this is not a WeiDU issue but I don't know how this works so I'll ask here.

On my windows computer, WeiDU v244 opens the mod's readme (.html file) with Internet Explorer although Firefox is set to standard browser and also html-files are automatically opened with Firefox if I open them by hand from the WindowsExplorer filemanager.

Does anyone know whether this could be changed and how? I don't want any files to be opened with Internet Explorer, I don't want this program to run at all.
Title: Re: What defines the browser WeiDU calls for readmes?
Post by: Gwendolyne_FP on April 26, 2018, 03:53:25 AM
Does not happen with W8.1 and WeiDU (whatever version). But I did not update Firefox to 57 + versions.
The only time I used IE was to download Firefox. ;)
Title: Re: What defines the browser WeiDU calls for readmes?
Post by: jastey on April 26, 2018, 05:58:49 AM
Yes, me too. :)

I have Windows 7.
Title: Re: What defines the browser WeiDU calls for readmes?
Post by: Argent77 on April 26, 2018, 06:49:14 AM
From what I can see in the WeiDU sources, readmes are started on Windows via "start" command.

You can test if this is indeed the culprit by starting a command prompt, go into the readme directory and call "start readme.html" (or whatever the readme filename might be).

To test file association itself you can execute "assoc .html", followed by ftype with the filetype returned by assoc (e.g. "ftype htmlfile"). ftype can also be used to set a new association. I haven't used it myself yet, so I don't know if there is more involved. It's probably easier to set Firefox as the default app for html from within the Firefox options.
Title: Re: What defines the browser WeiDU calls for readmes?
Post by: Wisp on April 26, 2018, 09:51:26 AM
Yes, WeiDU issues the command "start htmlfile" to the Windows command prompt. What happens after that is up to Windows, but you would think the file would be opened in whatever program you have set to handle HTML files.
Title: Re: What defines the browser WeiDU calls for readmes?
Post by: Argent77 on April 26, 2018, 10:47:01 AM
Maybe the UAC (https://en.wikipedia.org/wiki/User_Account_Control) feature of Windows plays tricks with file associations, as it starts WeiDU in a different user context.
Title: Re: What defines the browser WeiDU calls for readmes?
Post by: jastey on April 26, 2018, 12:25:19 PM
Maybe the UAC (https://en.wikipedia.org/wiki/User_Account_Control) feature of Windows plays tricks with file associations, as it starts WeiDU in a different user context.
Yes! That was it. Thank you! Of course, I feel stupid now, but it wouldn't have occurred to me that it's the admin's login configuration that is being used.