New to Wine, can't get RNGReporter.exe to work

Questions about Wine on Linux
Post Reply
zirconium
Level 1
Level 1
Posts: 7
Joined: Sat Mar 23, 2019 6:40 pm

New to Wine, can't get RNGReporter.exe to work

Post by zirconium » Sat Mar 23, 2019 6:57 pm

Hi all,

I recently downloaded wine-4.0 stable branch but I am having difficulty getting the program RNGReporter.exe to run. I downloaded RNGReporter.exe from this website:
https://www.dropbox.com/s/i0cv5te2pbab6 ... 0#download

When I try and open RNGReporter.exe with 'Wine Windows Program Loader' the cursor indicates something is loading but then it will stop and nothing happens.

When I use the terminal command:
~$ wine RNGReporter.exe
I get this message: wine: cannot find L"C:\\windows\\system32\\RNGReporter.exe"

So I changed the directory to the Desktop where I placed RNGReporter.exe but when I run ~$ wine RNGReporter.exe I get 21 lines of text of information I can't understand and the program does not start.

I would really appreciate some guidance to get the program working. I am also new to Linux so I apologize for any mistakes I am making.

Thank you!

jkfloris
Level 6
Level 6
Posts: 656
Joined: Thu Aug 14, 2014 10:10 am

Re: New to Wine, can't get RNGReporter.exe to work

Post by jkfloris » Sun Mar 24, 2019 9:09 am

I get 21 lines of text of information I can't understand and the program does not start.
If you post these lines of text, maybe we could help you.

Please, use the code tags

Code: Select all

[code]--- terminal output --- 
[/code]

zirconium
Level 1
Level 1
Posts: 7
Joined: Sat Mar 23, 2019 6:40 pm

Re: New to Wine, can't get RNGReporter.exe to work

Post by zirconium » Sun Mar 24, 2019 2:20 pm

If you post these lines of text, maybe we could help you.

Please, use the code tags
Code:

Code: Select all

--- terminal output --- 
I have copied the terminal output below:

Code: Select all

0034:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 0x33d028, 0x17a9c8, 0x33d02c, 0x33d020
0034:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 0x33d028, 0x1890a0, 0x33d02c, 0x33d020
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: SelectedIndex
  at System.Windows.Forms.ComboBox.SetSelectedIndex (System.Int32 value, System.Boolean supressAutoScroll) [0x0001d] in <fdac3c1704ed42569a2ed864a06bc591>:0 
  at System.Windows.Forms.ComboBox.set_SelectedIndex (System.Int32 value) [0x00000] in <fdac3c1704ed42569a2ed864a06bc591>:0 
  at System.Windows.Forms.ToolStripComboBox.set_SelectedIndex (System.Int32 value) [0x00006] in <fdac3c1704ed42569a2ed864a06bc591>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripComboBox.set_SelectedIndex(int)
  at RNGReporter.MainForm.MainForm_Load (System.Object sender, System.EventArgs e) [0x0045a] in <3e90e7e126674119b22d7a49e8592443>:0 
  at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x0001f] in <fdac3c1704ed42569a2ed864a06bc591>:0 
  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x00023] in <fdac3c1704ed42569a2ed864a06bc591>:0 
Thank you so much.

jkfloris
Level 6
Level 6
Posts: 656
Joined: Thu Aug 14, 2014 10:10 am

Re: New to Wine, can't get RNGReporter.exe to work

Post by jkfloris » Mon Mar 25, 2019 3:12 am

Code: Select all

$ file RNGReporter.exe 
RNGReporter.exe: PE32 executable (GUI) Intel 80386 Mono/.Net assembly, for MS Windows
You don't need Wine to run this file. Try to run this file with mono

Code: Select all

mono RNGReporter.exe

zirconium
Level 1
Level 1
Posts: 7
Joined: Sat Mar 23, 2019 6:40 pm

Re: New to Wine, can't get RNGReporter.exe to work

Post by zirconium » Mon Mar 25, 2019 2:01 pm

You don't need Wine to run this file. Try to run this file with mono

Code: Select all

mono RNGReporter.exe
This is what I get when I run the above code

Code: Select all

System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: SelectedIndex
  at System.Windows.Forms.ComboBox.SetSelectedIndex (System.Int32 value, System.Boolean supressAutoScroll) [0x0001d] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
  at System.Windows.Forms.ComboBox.set_SelectedIndex (System.Int32 value) [0x00000] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
  at System.Windows.Forms.ToolStripComboBox.set_SelectedIndex (System.Int32 value) [0x00006] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripComboBox.set_SelectedIndex(int)
  at RNGReporter.MainForm.MainForm_Load (System.Object sender, System.EventArgs e) [0x0045a] in <3e90e7e126674119b22d7a49e8592443>:0 
  at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x0001f] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x00023] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'RNGReporter.Controls.MaskedTextBox2'.
  at System.Windows.Forms.Control.CreateHandle () [0x00013] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
  at System.Windows.Forms.TextBoxBase.CreateHandle () [0x00006] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
  at System.Windows.Forms.MaskedTextBox.CreateHandle () [0x00000] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
  at System.Windows.Forms.Control.CreateGraphics () [0x00008] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.CreateGraphics()
  at System.Windows.Forms.Document.owner_VisibleChanged (System.Object sender, System.EventArgs e) [0x0000d] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
  at System.Windows.Forms.Control.OnVisibleChanged (System.EventArgs e) [0x0002f] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
  at System.Windows.Forms.Control.OnParentVisibleChanged (System.EventArgs e) [0x00008] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
  at System.Windows.Forms.Control.OnVisibleChanged (System.EventArgs e) [0x00053] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
  at System.Windows.Forms.ScrollableControl.OnVisibleChanged (System.EventArgs e) [0x0001a] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
  at System.Windows.Forms.Form.OnVisibleChanged (System.EventArgs e) [0x00000] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
  at System.Windows.Forms.Control.WmShowWindow (System.Windows.Forms.Message& m) [0x0010e] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00214] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
  at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
  at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00029] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
  at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m) [0x00166] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x0000b] in <f8ad17658a54451bb8ffe8adfe47ed05>:0 
  at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00085] in <f8ad17658a54451bb8ffe8adfe47ed05>:0
I went to this website https://www.mono-project.com/download/stable/ to install Mono.

jkfloris
Level 6
Level 6
Posts: 656
Joined: Thu Aug 14, 2014 10:10 am

Re: New to Wine, can't get RNGReporter.exe to work

Post by jkfloris » Tue Mar 26, 2019 3:15 pm

:oops: Sorry, the program doesn't run stable with Mono. Back to Wine.
According to GitHub the application needs .Net 4.6.1

Create a clean 32 bit Wineprefix and use winetricks to install dotnet461

Code: Select all

WINEPREFIX=~/rngreporter WINEARCH=win32 winetricks -q dotnet461
# Move the RNGReporter.exe to ~/rngreporter/drive_c/
cd ~/rngreporter/drive_c/
wine RNGReporter.exe

zirconium
Level 1
Level 1
Posts: 7
Joined: Sat Mar 23, 2019 6:40 pm

Re: New to Wine, can't get RNGReporter.exe to work

Post by zirconium » Wed Mar 27, 2019 11:45 am

:oops: Sorry, the program doesn't run stable with Mono. Back to Wine.
According to GitHub the application needs .Net 4.6.1

Create a clean 32 bit Wineprefix and use winetricks to install dotnet461
Okay, so when I run the code

Code: Select all

WINEPREFIX=~/rngreporter WINEARCH=win32 winetricks -q dotnet461
I get this code

Code: Select all

Using winetricks 20180217 - sha256sum: 1b156c616174f41df79d72a90c52eb2b110c63a6e8ecb865d303a8f9f0908924 with wine-4.0 and WINEARCH=win32
Executing w_do_call dotnet461
------------------------------------------------------
error: dotnet461 conflicts with dotnet40, which is already installed.
------------------------------------------------------
It did create the rngreporter folder though.

zirconium
Level 1
Level 1
Posts: 7
Joined: Sat Mar 23, 2019 6:40 pm

Re: New to Wine, can't get RNGReporter.exe to work

Post by zirconium » Thu Mar 28, 2019 1:34 pm

Sorry for double posting but I should also mention this is the code I get when I run wine in ~/rngreporter/drive_c/

Code: Select all

0009:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 0x33d028, 0x17fb30, 0x33d02c, 0x33d020
0009:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 0x33d028, 0x189610, 0x33d02c, 0x33d020
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: SelectedIndex
  at System.Windows.Forms.ComboBox.SetSelectedIndex (System.Int32 value, System.Boolean supressAutoScroll) [0x0001d] in <fdac3c1704ed42569a2ed864a06bc591>:0 
  at System.Windows.Forms.ComboBox.set_SelectedIndex (System.Int32 value) [0x00000] in <fdac3c1704ed42569a2ed864a06bc591>:0 
  at System.Windows.Forms.ToolStripComboBox.set_SelectedIndex (System.Int32 value) [0x00006] in <fdac3c1704ed42569a2ed864a06bc591>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripComboBox.set_SelectedIndex(int)
  at RNGReporter.MainForm.MainForm_Load (System.Object sender, System.EventArgs e) [0x0045a] in <3e90e7e126674119b22d7a49e8592443>:0 
  at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x0001f] in <fdac3c1704ed42569a2ed864a06bc591>:0 
  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x00023] in <fdac3c1704ed42569a2ed864a06bc591>:0 


jkfloris
Level 6
Level 6
Posts: 656
Joined: Thu Aug 14, 2014 10:10 am

Re: New to Wine, can't get RNGReporter.exe to work

Post by jkfloris » Thu Mar 28, 2019 1:36 pm

Update winetricks, remove the ~/rngreporter directory and try again.

zirconium
Level 1
Level 1
Posts: 7
Joined: Sat Mar 23, 2019 6:40 pm

Re: New to Wine, can't get RNGReporter.exe to work

Post by zirconium » Thu Mar 28, 2019 3:40 pm

jkfloris wrote:Update winetricks, remove the ~/rngreporter directory and try again.
I did this but I am still getting the same error. My winetricks is 20180217.

I am not sure if the command:

Code: Select all

WINEPREFIX=~/rngreporter WINEARCH=win32 winetricks -q dotnet461
is fully completing because it terminates with the below code:

Code: Select all

~$ 01cf:fixme:service:QueryServiceConfig2W Level 6 not implemented
01cf:fixme:service:QueryServiceConfig2W Level 6 not implemented
01cf:fixme:service:QueryServiceConfig2W Level 6 not implemented
01cf:fixme:service:QueryServiceConfig2W Level 6 not implemented
01cf:fixme:service:QueryServiceConfig2W Level 6 not implemented
01b7:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
It also mentions about "working around wine bug 34803," and that "Mono does not appear to be installed" even though I'm sure it is. It also seems as if the dotnet461 conflicts with dotnet40, which is already installed.

jkfloris
Level 6
Level 6
Posts: 656
Joined: Thu Aug 14, 2014 10:10 am

Re: New to Wine, can't get RNGReporter.exe to work

Post by jkfloris » Sat Mar 30, 2019 5:59 am

Version 2018 02 17 is over a year old. Read the wiki how to update winetricks if your distro doesn't have an up to date version.

zirconium
Level 1
Level 1
Posts: 7
Joined: Sat Mar 23, 2019 6:40 pm

Re: New to Wine, can't get RNGReporter.exe to work

Post by zirconium » Fri Apr 05, 2019 3:17 pm

jkfloris wrote:Version 2018 02 17 is over a year old. Read the wiki how to update winetricks if your distro doesn't have an up to date version.
It seems the latest winetricks version is 20190310. I read the wiki but still I have no idea how to update my version.

User avatar
Bob Wya
Level 12
Level 12
Posts: 2759
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: New to Wine, can't get RNGReporter.exe to work

Post by Bob Wya » Fri Apr 05, 2019 3:37 pm

zirconium wrote: It seems the latest winetricks version is 20190310. I read the wiki but still I have no idea how to update my version.
@zirconium

See: Github: Winetricks/winetricks: README.md.

To summarise (as these instructions are a bit "verbose")...

Create updater script:

Code: Select all

cd "$(mktemp -d)"

cat > update_winetricks <<_EOF_SCRIPT
#!/bin/sh

cd "$(mktemp -d)"
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
sudo mv winetricks /usr/bin
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks.bash-completion
sudo mv winetricks.bash-completion /usr/share/bash-completion/completions/winetricks
_EOF_SCRIPT 

chmod +x update_winetricks
sudo mv update_winetricks /usr/bin/
Then setup weekly cron job for (the above) winetricks updater script:

Code: Select all

sudo ln "/usr/bin/update_winetricks" "/etc/cron.weekly/update_winetricks"
I'll be rewriting these instructions in a simpler / more streamlined format (using curl, in place of wget, and sans comments), when I get a mo! 8)

Bob

Post Reply