Microsoft Scripting on WINE

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
ReedMace
Newbie
Newbie
Posts: 4
Joined: Fri May 02, 2008 6:09 am

Microsoft Scripting on WINE

Post by ReedMace »

I have a specialist piece of scientific software that I am trying to get to run in WINE (0.9.59 running in Ubuntu 8.04). I have installed the software, but when I run it I get a message saying "Microsoft Scripting needs to be installed. Please install the latest version of Internet Explorer."

Any ideas what to do?
Timeout
Level 4
Level 4
Posts: 183
Joined: Sat Feb 23, 2008 12:45 pm

Post by Timeout »

You very likely need Jscript.
Dan Kegel

Microsoft Scripting on WINE

Post by Dan Kegel »

On Fri, May 2, 2008 at 4:23 AM, ReedMace <[email protected]> wrote:
I have a specialist piece of scientific software
What's it called?
that I am trying to get to run in WINE (0.9.59 running in Ubuntu 8.04).
I have installed the software, but when I run it I get a message saying
"Microsoft Scripting needs to be installed...."
See http://wiki.winehq.org/winetricks
Try
wget http://kegel.com/wine/winetricks
sh winetricks vcrun6 wsh56
ReedMace
Newbie
Newbie
Posts: 4
Joined: Fri May 02, 2008 6:09 am

Microsoft Scripting on WINE

Post by ReedMace »

The software is called Aquator (see http:/ /www.oxscisoft.com/aquator/index.htm) and it uses MS VBA.

I have installed winetricks as suggested and done the next line.

Whenever I run WINE from the terminal it keeps reporting the following line:

preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report

Is this of significance?

Anyway, the Aquator program now starts. However, on loading multiple error dialogs appear from Microsoft Visual Basic reporting Unexpected Error; quitting.

Presumably this means I need some VB dlls?
John Drescher

Microsoft Scripting on WINE

Post by John Drescher »

Whenever I run WINE from the terminal it keeps reporting the following line:

preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
See here for that:
http://wiki.winehq.org/PreloaderPageZeroProblem

John
Plamen.Vassilev
Level 2
Level 2
Posts: 25
Joined: Thu Mar 13, 2008 7:41 am

Post by Plamen.Vassilev »

See: http://wiki.winehq.org/PreloaderPageZeroProblem

I wonder can't wine detect this and warn users for potential problems, or at least detect this and print the url?

Plamen
ReedMace
Newbie
Newbie
Posts: 4
Joined: Fri May 02, 2008 6:09 am

Microsoft Scripting on WINE

Post by ReedMace »

Thanks for the Preloader fix.

I have copied all the VB-related dlls that I can detect from my windows system32 directory into the appropriate WINE directory, but didn't overwrite anything that was already there. Is that correct?

However, I am still getting the VB error dialog. The software uses MS Access database, which underlies it. The Aquator installation does not require Access to be pre-installed on the machine.

I can't find anything that tells me if I need to do anything specific for Access to work, eg install ODBC? Or whether there is anything else needed for VBA to run? (The software allows for VBA customisation)?
Dan Kegel

Microsoft Scripting on WINE

Post by Dan Kegel »

On Fri, May 2, 2008 at 10:42 AM, ReedMace <[email protected]> wrote:
I have copied all the VB-related dlls that I can detect from my windows system32 directory into the appropriate WINE directory, but didn't overwrite anything that was already there. Is that correct?
Don't do that. Instead, do
wget http://kegel.com/wine/winetricks
sh winetricks vcrun6 wsh56
as I suggested earlier. It will install the DLLs properly.
However, I am still getting the VB error dialog. The software uses MS Access database, which underlies it. The Aquator installation does not require Access to be pre-installed on the machine.

I can't find anything that tells me if I need to do anything specific for Access to work, eg install ODBC? Or whether there is anything else needed for VBA to run? (The software allows for VBA customisation)?
You might also need to do
sh winetricks mdac27
or possibly even
sh winetricks art2kmin
or
sh winetricks jet40

- Dan
ReedMace
Newbie
Newbie
Posts: 4
Joined: Fri May 02, 2008 6:09 am

Microsoft Scripting on WINE

Post by ReedMace »

Don't do that. Instead, do
wget http://kegel.com/wine/winetricks
sh winetricks vcrun6 wsh56
as I suggested earlier. It will install the DLLs properly.
I did do this, and then copied the remainder of the VB dlls from my windows directory into the WINE directory. Presumably they are not installed and so won't be used?

You might also need to do
sh winetricks mdac27
or possibly even
sh winetricks art2kmin
or
sh winetricks jet40
Have done this and there are no more VB error message dialogs! Thank you.

I am still having problems running the program. I think this relates to internal procedural calls and I'll have to do some more testing.

However, trying to uninstall the software fails. The software's uninstall wizard runs but finishes by stating "The wizard was interrupted before Aquator could be completely installed. Your system has not been modified. To complete installation at another time, please run setup again."

Any ideas how to uninstall?

Thank you for all your help so far.
Dan Kegel

Microsoft Scripting on WINE

Post by Dan Kegel »

On Fri, May 2, 2008 at 3:04 PM, ReedMace <[email protected]> wrote:
Don't do that. Instead, do
wget http://kegel.com/wine/winetricks
sh winetricks vcrun6 wsh56
as I suggested earlier. It will install the DLLs properly.
I did do this, and then copied the remainder of the VB dlls
from my windows directory into the WINE directory.
What DLLs are you talking about?
You might also need to do
sh winetricks mdac27
or possibly even
sh winetricks art2kmin
or
sh winetricks jet40
Have done this and there are no more VB error message dialogs! Thank you.
Which one did you do?
However, trying to uninstall the software fails.
Uninstallers haven't been a high priority in Wine,
partly because you can just do
rm -rf ~/.wine
to uninstall everything.
Locked