WineHQ
Wine Forums

Board index » WineHQ » Wine Help » Linux




 Page 1 of 1 [ 13 posts ] 



 
Author Message
 Post Posted: Sat Mar 23, 2019 6:57 pm 
Offline
Level 1
Level 1

Joined: Sat Mar 23, 2019 6:40 pm
Posts: 7
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!


Top 
 Post Posted: Sun Mar 24, 2019 9:09 am 
Offline
Level 5
Level 5

Joined: Thu Aug 14, 2014 10:10 am
Posts: 434
Quote:
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:
[code]--- terminal output --- [/code]


Top 
 Post Posted: Sun Mar 24, 2019 2:20 pm 
Offline
Level 1
Level 1

Joined: Sat Mar 23, 2019 6:40 pm
Posts: 7
Quote:
If you post these lines of text, maybe we could help you.

Please, use the code tags
Code:
Code:
--- terminal output ---


I have copied the terminal output below:
Code:
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.


Top 
 Post Posted: Mon Mar 25, 2019 3:12 am 
Offline
Level 5
Level 5

Joined: Thu Aug 14, 2014 10:10 am
Posts: 434
Code:
$ 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:
mono RNGReporter.exe


Top 
 Post Posted: Mon Mar 25, 2019 2:01 pm 
Offline
Level 1
Level 1

Joined: Sat Mar 23, 2019 6:40 pm
Posts: 7
Quote:
You don't need Wine to run this file. Try to run this file with mono

Code:
mono RNGReporter.exe


This is what I get when I run the above code
Code:
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.


Top 
 Post Posted: Tue Mar 26, 2019 3:15 pm 
Offline
Level 5
Level 5

Joined: Thu Aug 14, 2014 10:10 am
Posts: 434
: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:
WINEPREFIX=~/rngreporter WINEARCH=win32 winetricks -q dotnet461
# Move the RNGReporter.exe to ~/rngreporter/drive_c/
cd ~/rngreporter/drive_c/
wine RNGReporter.exe


Top 
 Post Posted: Wed Mar 27, 2019 11:45 am 
Offline
Level 1
Level 1

Joined: Sat Mar 23, 2019 6:40 pm
Posts: 7
Quote:
: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:
WINEPREFIX=~/rngreporter WINEARCH=win32 winetricks -q dotnet461

I get this code
Code:
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.


Top 
 Post Posted: Thu Mar 28, 2019 1:34 pm 
Offline
Level 1
Level 1

Joined: Sat Mar 23, 2019 6:40 pm
Posts: 7
Sorry for double posting but I should also mention this is the code I get when I run wine in ~/rngreporter/drive_c/
Code:
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



Top 
 Post Posted: Thu Mar 28, 2019 1:36 pm 
Offline
Level 5
Level 5

Joined: Thu Aug 14, 2014 10:10 am
Posts: 434
Update winetricks, remove the ~/rngreporter directory and try again.


Top 
 Post Posted: Thu Mar 28, 2019 3:40 pm 
Offline
Level 1
Level 1

Joined: Sat Mar 23, 2019 6:40 pm
Posts: 7
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:
WINEPREFIX=~/rngreporter WINEARCH=win32 winetricks -q dotnet461

is fully completing because it terminates with the below code:
Code:
~$ 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.


Top 
 Post Posted: Sat Mar 30, 2019 5:59 am 
Offline
Level 5
Level 5

Joined: Thu Aug 14, 2014 10:10 am
Posts: 434
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.


Top 
 Post Posted: Fri Apr 05, 2019 3:17 pm 
Offline
Level 1
Level 1

Joined: Sat Mar 23, 2019 6:40 pm
Posts: 7
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.


Top 
 Post Posted: Fri Apr 05, 2019 3:37 pm 
Offline
Level 12
Level 12
User avatar

Joined: Sat Oct 16, 2010 7:40 pm
Posts: 2564
Location: Cambridge
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:
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:
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


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 13 posts ] 




Board index » WineHQ » Wine Help » Linux


Who is online

Users browsing this forum: Google [Bot] and 19 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: