Siemens Command Assistant not Starting

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
CGross
Level 2
Level 2
Posts: 23
Joined: Tue Apr 03, 2012 10:35 am

Siemens Command Assistant not Starting

Post by CGross »

I've installed the and when I go to start from the menu, I'm presented with a window that says: "Error: Invalid Parameter." If I click on OK, I get "Error: There is no Windows program configured to open this type of file."

I'm running Wine version 1.4 on Ubuntu 11.10.
CGross
Level 2
Level 2
Posts: 23
Joined: Tue Apr 03, 2012 10:35 am

Post by CGross »

Managed to figure out how to start from terminal and I get the error

Code: Select all

chrisg@ChrisG-FreeMachine:/$ wine start 'C:\Program Files\Siemens\EMML Command Assistant\CmdAsst.exe'
fixme:exec:SHELL_execute flags ignored: 0x00000100
chrisg@ChrisG-FreeMachine:/$ wine: Install Mono for Windows to run .NET 2.0 applications.
I have something called Mono installed, but do I need to install the Windows mono under Wine for Command Assistant to run?
CGross
Level 2
Level 2
Posts: 23
Joined: Tue Apr 03, 2012 10:35 am

Post by CGross »

Okay, found Windows mono, installed it, now I have a bunch of angry errors popping up about unable to find files on Z:. These aren't usual errors I'd see on Windows version of this program, so I'm unsure why it's yelling at me these errors.
John Drescher

Siemens Command Assistant not Starting

Post by John Drescher »

Okay, found Windows mono, installed it, now I have a bunch of angry errors popping up about unable to find files on Z:. These aren't usual errors I'd see on Windows version of this program, so I'm unsure why it's yelling at me these errors.
Place the debug log (terminal output again) on pastebin.com and link
here otherwise it is doubtful that anyone can help.

John
CGross
Level 2
Level 2
Posts: 23
Joined: Tue Apr 03, 2012 10:35 am

Post by CGross »

I think what I have at this point is something wrong with Mono. On terminal, I get

Code: Select all

chrisg@ChrisG-FreeMachine:/$ wine start 'C:\Program Files\Siemens\EMML Command Assistant\CmdAsst.exe'
fixme:exec:SHELL_execute flags ignored: 0x00000100
chrisg@ChrisG-FreeMachine:/$
But the window I got using the newest Command Assistant I have available is:

Image

Fairly certain this is now a mono issue.
CGross
Level 2
Level 2
Posts: 23
Joined: Tue Apr 03, 2012 10:35 am

Post by CGross »

Just in case, I also made sure to install .NET2.0 and this is what happened when I started it:

http://pastebin.com/XatFkQVS
CGross
Level 2
Level 2
Posts: 23
Joined: Tue Apr 03, 2012 10:35 am

Post by CGross »

Okay, disregard last message, seens .NET2.0 doesn't play nice, especially if installed with Mono so I blew out everything and have only Mono and Command Assistant now with the same error that I screenshot before.
John Drescher

Siemens Command Assistant not Starting

Post by John Drescher »

On Tue, Apr 3, 2012 at 4:48 PM, CGross <[email protected]> wrote:
Okay, disregard last message, seens .NET2.0 doesn't play nice, especially if installed with Mono so I blew out everything and have only Mono and Command Assistant now with the same error that I screenshot before.
How about trying a clean wineprefix with .NET installed using winetricks.

John
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Siemens Command Assistant not Starting

Post by jjmckenzie »

On Tue, Apr 3, 2012 at 1:48 PM, CGross <[email protected]> wrote:
Okay, disregard last message, seens .NET2.0 doesn't play nice, especially if installed with Mono so I blew out
everything and have only Mono and Command Assistant now with the same error that I screenshot before.
Can you try with ONLY .NET 2.0 rather than using Mono? winetricks is
a great script that does product installs as well.

James
CGross
Level 2
Level 2
Posts: 23
Joined: Tue Apr 03, 2012 10:35 am

Re: Siemens Command Assistant not Starting

Post by CGross »

John Drescher wrote:How about trying a clean wineprefix with .NET installed using winetricks.

John
How do I do that via winetricks? I have winetricks installed but don't know what to do with it.
CGross
Level 2
Level 2
Posts: 23
Joined: Tue Apr 03, 2012 10:35 am

Re: Siemens Command Assistant not Starting

Post by CGross »

jjmckenzie wrote:On Tue, Apr 3, 2012 at 1:48 PM, CGross <[email protected]> wrote:
Okay, disregard last message, seens .NET2.0 doesn't play nice, especially if installed with Mono so I blew out
everything and have only Mono and Command Assistant now with the same error that I screenshot before.
Can you try with ONLY .NET 2.0 rather than using Mono? winetricks is
a great script that does product installs as well.

James
I get a ton of errors, mostly because it pops up a box (Linked below) that just spams a slightly modified string and I have to hold enter to get it to exit.

This is the top part: http://pastebin.com/hpNLuBMX

Bottom part looks like: http://pastebin.com/K4cqBL3t

And with an error box of this: http://i.imgur.com/QoWax.png

The whole log is more than 500kilobytes so pastebin hates it.
CGross
Level 2
Level 2
Posts: 23
Joined: Tue Apr 03, 2012 10:35 am

Post by CGross »

Okay from what I'm getting, it's something missing in NET 2.0 and Mono since they behave the same way with the error "Window pops up that stays the same, terminal spams with similar garbage, hold enter long enough, get the registration screen (that doesn't work), and then have to hold enter some more to get rid of the tons of other errors.

Perhaps I'm missing a certain supporting application?
CGross
Level 2
Level 2
Posts: 23
Joined: Tue Apr 03, 2012 10:35 am

Post by CGross »

What's also throwing me off is the only way to even get any progress is force run through terminal. If I try via the menu, it fails out and just says "Oh I'm not configured for that, whatever." but terminal actually processes errors.

As far as I know you just need NET 2.0 for Command Assistant, but maybe there's something more hardwired with Windows that it needs?
CGross
Level 2
Level 2
Posts: 23
Joined: Tue Apr 03, 2012 10:35 am

Post by CGross »

Code: Select all

fixme:shell:URL_ParseUrl failed to parse L"Microsoft.VisualBasic"
fixme:shell:URL_ParseUrl failed to parse L"System.Windows.Forms"
fixme:shell:URL_ParseUrl failed to parse L"System"
fixme:shell:URL_ParseUrl failed to parse L"System.Drawing"
fixme:shell:URL_ParseUrl failed to parse L"System.Runtime.Remoting"
fixme:shell:URL_ParseUrl failed to parse L"XMLRegistry"
fixme:shell:URL_ParseUrl failed to parse L"System.Runtime.Serialization.Formatters.Soap"
fixme:shell:URL_ParseUrl failed to parse L"CmdAsst.resources"
fixme:shell:URL_ParseUrl failed to parse L"CmdAsst.resources"
I have a feeling this is the most important part. I tried installing Visual Basic runtime but still no improvement. Not sure where else to go from here.
CGross
Level 2
Level 2
Posts: 23
Joined: Tue Apr 03, 2012 10:35 am

Post by CGross »

Is there no more ideas for this? Last ditch effort.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

CGross wrote:Is there no more ideas for this? Last ditch effort.
Your original post says you're using Wine 1.4. Try upgrading to the latest development release.
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Post by lahmbi5678 »

Hi CGross,

is there a free demo version available? If so, you should file a bug report.

What are the hardware/software requirements of this application? Maybe you need .NET 3.0 or 4.0 or IE installed?
CGross
Level 2
Level 2
Posts: 23
Joined: Tue Apr 03, 2012 10:35 am

Post by CGross »

dimesio wrote:
CGross wrote:Is there no more ideas for this? Last ditch effort.
Your original post says you're using Wine 1.4. Try upgrading to the latest development release.
I did, same thing occurs.
lahmbi5678 wrote:Hi CGross,

is there a free demo version available? If so, you should file a bug report.

What are the hardware/software requirements of this application? Maybe you need .NET 3.0 or 4.0 or IE installed?
There is no free demo version and sadly, no one knows what the software requirements are. This program uses Extended Man Machine Language to communicate with our phone switch. So there is no demo, and it's old software mostly. I wouldn't know where to start looking for official support. I believe it has roots in VB, C++, and .Net.
CGross
Level 2
Level 2
Posts: 23
Joined: Tue Apr 03, 2012 10:35 am

Post by CGross »

Another thing I have tried is I copied the program files folder from a co-workers install, after installing .NET2.0, corefonts, c++ 2008, and VB 6. I can get the program to load, but its information to register and run is not completing seems to be the biggest problem. Also gives me an error that's unable to connect to the Z drive for a database file, which seems odd as we don't have a Z: drive being used.

I checked the registry and that has the key correctly. But for some reason the program itself is not getting the registration correctly and giving up.
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Post by lahmbi5678 »

Hi,

you could try additional winetricks, like "winetricks ie6" and "winetricks wsh57", just in case it needs IE or scripting. Does it need to install hardware drivers? That probably wouldn't work under wine anyways. You still could file a bug, even if there's no demo, though the chances to get it fixed would be low.
CGross
Level 2
Level 2
Posts: 23
Joined: Tue Apr 03, 2012 10:35 am

Post by CGross »

lahmbi5678 wrote:Hi,

you could try additional winetricks, like "winetricks ie6" and "winetricks wsh57", just in case it needs IE or scripting. Does it need to install hardware drivers? That probably wouldn't work under wine anyways. You still could file a bug, even if there's no demo, though the chances to get it fixed would be low.
Installing both of those failed. It doesn't require hardware drivers, as it just communicates over the network.
CGross
Level 2
Level 2
Posts: 23
Joined: Tue Apr 03, 2012 10:35 am

Post by CGross »

Looking at the error I get, it's 0x80041001 which seems to relate to WMI. Do I need to install something special for WMI in Wine?
CGross
Level 2
Level 2
Posts: 23
Joined: Tue Apr 03, 2012 10:35 am

Post by CGross »

CGross wrote:Looking at the error I get, it's 0x80041001 which seems to relate to WMI. Do I need to install something special for WMI in Wine?
Okay, did "sh winetricks wmi" and installed, now got a new error where it just says:

Code: Select all

Invalid parameter
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
At Siemens_EMML.AppIsRegistered.DaysRemaning(Int32
ProductCode, String Registration, String Signature)
And my terminal shows: http://pastebin.com/ib1qym5K

It seems like it's almost done, just seems to not taking the registration properly. It's in the registry right, so not sure why it's failing out.
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Post by lahmbi5678 »

Hi,

another thing you could try is "winetricks vcrun6", especially if it is an old application, it might need VC 6 runtime libraries.
CGross
Level 2
Level 2
Posts: 23
Joined: Tue Apr 03, 2012 10:35 am

Post by CGross »

lahmbi5678 wrote:Hi,

another thing you could try is "winetricks vcrun6", especially if it is an old application, it might need VC 6 runtime libraries.
No change.

I will likely check in, as I start my weekend this evening, I will return Sunday for any advice given. My office is looking to make some desk changes to Linux, and this is a critical component of our duties. So having this operational would be a big one up for the linux userbase.
Locked