Discussion:
[Wine] Installshield and Wine
Marco Trapanese
2007-03-19 05:50:56 UTC
Permalink
Hi,

I should install MPLAB under Suse 10.1. This software uses Install Shield as
installer. I have Wine 0.9.11 and when I launch the setup.exe I get the
following output:

+ with Wine configured as 98 / 2000 / XP

Internal Failure
Error Number: 0x80040707
Description: [it's empty]

+ with Wine configured as NT

The installer just hangs.
Both failures happen at the end of the "Preparing to install...."

I read a lot of threads about that but I didn't find a clear solution to fix
the problem.

If you need other details, feel free to ask me!

Regards
Marco / iw2nzm
Daniel Skorka
2007-03-19 05:50:56 UTC
Permalink
Post by Marco Trapanese
Hi,
I should install MPLAB under Suse 10.1. This software uses Install Shield as
installer. I have Wine 0.9.11 and when I launch the setup.exe I get the
+ with Wine configured as 98 / 2000 / XP
Internal Failure
Error Number: 0x80040707
Description: [it's empty]
+ with Wine configured as NT
The installer just hangs.
Both failures happen at the end of the "Preparing to install...."
I read a lot of threads about that but I didn't find a clear solution to fix
the problem.
While you could try to debug this, it would be pointless. wine already
is at 0.9.25; first try that.

Daniel
--
Before you post:
Read the Wine User Guide http://winehq.org/site/docs/wineusr-guide/index
When you post:
Which wine version? Self compiled or prepackaged?
Marco Trapanese
2007-03-19 05:50:57 UTC
Permalink
Post by Daniel Skorka
While you could try to debug this, it would be pointless. wine already
is at 0.9.25; first try that.
Ok, I updated wine. Now the installation starts but when it's copying new
files I get this error:

Feature transfer error IS OnComponentError

Error: -1603 Fatal error during installation
Consult Windows Installer Help (Msi.chm) or MSDN for more information.

c:\windows\system32\msxml4r.dll


I guess it's related to de msxml4r.dll, but I don't know how to fix it. I
also manually copied that file from a Windows partition to the Wine's
Windows hidden folder.

May you help me?

Marco / iw2nzm
Marco Trapanese
2007-03-19 05:50:58 UTC
Permalink
Does changing the windows version have any effects now?
Nope, with Win XP / 2000 / NT4.0 / Me 98 / 95 I got the same error, but...

...I was repeating (a lot of times) the installation process when the
installation completed succesfully!

.
.
.
Reboot
.
.
.

wine "MPLAB.exe"

The splash window of the program flashes one time and then the virtual
desktop closes immediately. I get this into the terminal:

fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),1,3,(nil),0,(nil)) -
stub!

What does that mean?

Thank you for your patience!
Marco / iw2nzm
Daniel Skorka
2007-03-19 05:50:59 UTC
Permalink
Post by Marco Trapanese
Does changing the windows version have any effects now?
Nope, with Win XP / 2000 / NT4.0 / Me 98 / 95 I got the same error, but...
...I was repeating (a lot of times) the installation process when the
installation completed succesfully!
Interesting... maybe a timing issue?
Post by Marco Trapanese
wine "MPLAB.exe"
The splash window of the program flashes one time and then the virtual
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),1,3,(nil),0,(nil)) -
stub!
What does that mean?
It means that mentioned function is not actually implemented, there only
is a pseudo implementation that prints this message. If the message is
in fact relevant it means you'll have to wait until this function does
something useful - or you could make it do that yourself.

Daniel
--
Before you post:
Read the Wine User Guide http://winehq.org/site/docs/wineusr-guide/index
When you post:
Which wine version? Self compiled or prepackaged?
Marco Trapanese
2007-03-19 05:50:59 UTC
Permalink
Post by Daniel Skorka
It means that mentioned function is not actually implemented, there only
is a pseudo implementation that prints this message. If the message is
in fact relevant it means you'll have to wait until this function does
something useful - or you could make it do that yourself.
In other words, at the moment this software *cannot* run under Wine, right?

Thank you again
Marco / iw2nzm
Daniel Skorka
2007-03-19 05:50:59 UTC
Permalink
Post by Marco Trapanese
Post by Daniel Skorka
It means that mentioned function is not actually implemented, there only
is a pseudo implementation that prints this message. If the message is
in fact relevant it means you'll have to wait until this function does
something useful - or you could make it do that yourself.
In other words, at the moment this software *cannot* run under Wine, right?
Assuming that the message you see is related to the abnormal behaviour
of your program (quit right a splash screen) - yes.

Daniel
--
Before you post:
Read the Wine User Guide http://winehq.org/site/docs/wineusr-guide/index
When you post:
Which wine version? Self compiled or prepackaged?
Duane Clark
2007-03-19 05:51:02 UTC
Permalink
Post by Marco Trapanese
Post by Daniel Skorka
It means that mentioned function is not actually implemented, there only
is a pseudo implementation that prints this message. If the message is
in fact relevant it means you'll have to wait until this function does
something useful - or you could make it do that yourself.
In other words, at the moment this software *cannot* run under Wine, right?
While there is a possibility that the CoInitializeSecurity fixme is
breaking your application, I would consider it a rather slim one. This
function only sets some security settings, and the stub lies to the
application and says it completed successfully. And none of the
parameters to the function are output parameters, so no other faulty
data can be returned to the application.

Also,
Post by Marco Trapanese
Reboot
You "reboot" in Wine with the command "wineboot". Rebooting your Linux
OS has no effect.
Marco Trapanese
2007-03-19 05:51:03 UTC
Permalink
Post by Duane Clark
While there is a possibility that the CoInitializeSecurity fixme is
breaking your application, I would consider it a rather slim one. This
function only sets some security settings, and the stub lies to the
application and says it completed successfully. And none of the
parameters to the function are output parameters, so no other faulty
data can be returned to the application.
Well, I copied the program folder from a working windows installation to the
hidden wine folder. Now, the splash screen does not disappear but it hangs.
I get this in the terminal:

fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),1,3,(nil),0,(nil))
- stub!
fixme:ole:CoRegisterMessageFilter message filter has been registered, bu
t will not be used
err:ole:CoGetClassObject class {12421eb7-4f43-a0d4-830a-f8d0eea8e231} no
t registered
err:ole:create_server class {12421eb7-4f43-a0d4-830a-f8d0eea8e231} not r
egistered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {12421eb7-4f43-a0d4-830a-f8d0ee
a8e231} could be created for context 0x15
Post by Duane Clark
Also,
Post by Marco Trapanese
Reboot
You "reboot" in Wine with the command "wineboot". Rebooting your Linux
OS has no effect.
Thank you for the info, I didn't know this behaviour!

Marco / iw2nzm
Duane Clark
2007-03-19 05:51:03 UTC
Permalink
Post by Marco Trapanese
Well, I copied the program folder from a working windows installation to the
hidden wine folder. Now, the splash screen does not disappear but it hangs.
That generally isn't a good idea, because the installer does other
things like make registry entries, that don't get done when you copy
over a folder.

Looking here: http://appdb.winehq.org/appview.php?iVersionId=2709
I see that mplab apparently works. But supposedly, "it's important that
in the winecfg application menu both IE6 and MPLAB are set to Windows98".

So probably the thing to do is to go to:
http://www.tatanka.com.br/
Get ies4linux, and run it and allow it to install IE6. It will also
create a new Wine directory structure, under ~/.ies4linux. It will have
not affect on your current stuff under ~/.wine.

Now, if this is the only Wine application you are interested in, just
permanently set the environment variable:
export WINEPREFIX="/home/marco/.ies4linux/ie6"
Of course change "marco" to whatever your home directory is. You can set
this permanently in your ~/.bashrc file.

Now run the mplab installer. It should be installed into the
.ies4linux/ie6/drive_c/ directory. Now try running the mplab in that
directory, and with any luck, it will run.
Marco Trapanese
2007-03-19 05:51:04 UTC
Permalink
Post by Duane Clark
That generally isn't a good idea, because the installer does other
things like make registry entries, that don't get done when you copy
over a folder.
Looking here: http://appdb.winehq.org/appview.php?iVersionId=2709
I see that mplab apparently works. But supposedly, "it's important that
in the winecfg application menu both IE6 and MPLAB are set to Windows98".
http://www.tatanka.com.br/
Get ies4linux, and run it and allow it to install IE6. It will also
create a new Wine directory structure, under ~/.ies4linux. It will have
not affect on your current stuff under ~/.wine.
Now, if this is the only Wine application you are interested in, just
export WINEPREFIX="/home/marco/.ies4linux/ie6"
Of course change "marco" to whatever your home directory is. You can set
this permanently in your ~/.bashrc file.
Now run the mplab installer. It should be installed into the
.ies4linux/ie6/drive_c/ directory. Now try running the mplab in that
directory, and with any luck, it will run.
I thank you very much for the detailed explanation. I will try this way.

However, I want to run MPLAB under Linux because I don't want to pay anymore
a Windows license.... but if I need IE6 I need also a win license!

Bye
Marco / iw2nzm
Duane Clark
2007-03-19 05:51:04 UTC
Permalink
Post by Marco Trapanese
I thank you very much for the detailed explanation. I will try this way.
However, I want to run MPLAB under Linux because I don't want to pay anymore
a Windows license.... but if I need IE6 I need also a win license!
Well, since I had IE6 already installed this way, and mplab was a free
download, I gave it a try. It, unfortunately, did not work for me. Where
the problem is, I don't really know.
Duane Clark
2007-03-19 05:51:04 UTC
Permalink
Post by Duane Clark
Post by Marco Trapanese
I thank you very much for the detailed explanation. I will try this way.
However, I want to run MPLAB under Linux because I don't want to pay anymore
a Windows license.... but if I need IE6 I need also a win license!
Well, since I had IE6 already installed this way, and mplab was a free
download, I gave it a try. It, unfortunately, did not work for me. Where
the problem is, I don't really know.
Hmm... I notice that on the mplab forums:
http://forum.microchip.com/tt.aspx?forumid=5
There is the topic "[FAQ] Mini Howto: MPLAB, MPLAB C18 and MPLAB C30
under Linux with Wine"

I would give that a try ;)
Marco Trapanese
2007-03-19 05:51:04 UTC
Permalink
Post by Duane Clark
http://forum.microchip.com/tt.aspx?forumid=5
There is the topic "[FAQ] Mini Howto: MPLAB, MPLAB C18 and MPLAB C30
under Linux with Wine"
I would give that a try ;)
Yes, of course! :)

Marco / iw2nzm

Daniel Skorka
2007-03-19 05:50:57 UTC
Permalink
Post by Marco Trapanese
Ok, I updated wine. Now the installation starts but when it's copying new
Does changing the windows version have any effects now?
Post by Marco Trapanese
Feature transfer error IS OnComponentError
Error: -1603 Fatal error during installation
Consult Windows Installer Help (Msi.chm) or MSDN for more information.
c:\windows\system32\msxml4r.dll
What about the messages from wine?

Daniel
--
Before you post:
Read the Wine User Guide http://winehq.org/site/docs/wineusr-guide/index
When you post:
Which wine version? Self compiled or prepackaged?
Loading...