.msi problem

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
chicobo329
Level 1
Level 1
Posts: 7
Joined: Mon Jun 23, 2008 1:22 am

.msi problem

Post by chicobo329 »

I'm trying to install an .msi http://pokebeach.com/content/redshark/Redshark-2.15.msi That's a Pokemon TCG simulator.

When I try to install it, it says I need Windows Scripting Host and cancels the installation process. I looked at the FAQ and used msiexec and I also just ran it normally by associating .msi to WINE.

I'm using Ubuntu Linux 8.04 if you're curious about my OS.

Am I missing something or is this just an incompatibility?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Try using winetricks to install Windows Scripting Host:

Code: Select all

wget http://www.kegel.com/wine/winetricks
sh winetricks wsh56
Then try installing your .msi.
chicobo329
Level 1
Level 1
Posts: 7
Joined: Mon Jun 23, 2008 1:22 am

Post by chicobo329 »

The installation was a success, however the program will not run! It shows me a splash screen and then it terminates. Is there anything further I should do?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Open a terminal, cd to the directory where the executable is located, and try running with the command

Code: Select all

wine program.exe
substituting the actual name of the file for "program.exe." Post whatever messages appear in the terminal.
chicobo329
Level 1
Level 1
Posts: 7
Joined: Mon Jun 23, 2008 1:22 am

Post by chicobo329 »

Here's the output from wine redshark.exe

Code: Select all

wine redshark.exe
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
C:\windows\temp\pdk-frankie-8/splash.gif
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
fixme:msg:pack_message msg 7f (WM_GETICON) not supported yet
fixme:msg:pack_message msg 7f (WM_GETICON) not supported yet
fixme:imm:ImmReleaseContext (0x10024, 0xb689e8): stub
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
Display: 1280 x 800
APP_DIR=C:/
Cannot open 'C://images/colorless.gif' in mode 'r' at /<C:\redshark.exe>Tk/Image.pm line 21.
rmtree failed: Directory not empty
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

You could try native msvcrt. If you're dual booting you can just copy it from your Windows partition to Wine's fake windows/system32 directory and set the overrride in winecfg. If not, you can install it with winetricks:

Code: Select all

winetricks vcrun6
chicobo329
Level 1
Level 1
Posts: 7
Joined: Mon Jun 23, 2008 1:22 am

Post by chicobo329 »

The command you gave me won't work oddly enough, it tells me 'winetricks' isn't a valid command, even though I have it installed already. Did you type that command right?

I copied the one from my Windows partition but no dice, it loads a little longer after the splash screen but still terminates after.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Sorry, my typo; it should be

Code: Select all

sh winetricks vcrun6
I downloaded the msi and tried it myself. The program has to be started from the directory in which redshark.exe is located, or it won't load. It loads fine on my system when I cd to the directory first.
chicobo329
Level 1
Level 1
Posts: 7
Joined: Mon Jun 23, 2008 1:22 am

Post by chicobo329 »

I'm getting the same error messages (msvcrt issues, the exact same from an earlier post I made) despite running redshark.exe from the same directory (I cd 'd to it most of the time while trying out your help anyway).

When I configure the options on Wine, it seems that only setting the override to 'builtin' for msvcrt.dll will get even the splash screen (it still terminates after). If I set it native I get:

Code: Select all

err:module:attach_process_dlls "MSVCRT.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\redshark.exe" failed, status c0000142
And then a crash of course. Do I need to reinstall redshark to a place that isn't "C:\\"? I still suspect msvcrt.dll isn't working the way I want it to, despite copying a legit version from my Windows partition.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

What directory is your redshark.exe file in? If you did a default install, it should be in ~/.wine/drive_c/Program Files/redshark. That's where it is on my system.
chicobo329
Level 1
Level 1
Posts: 7
Joined: Mon Jun 23, 2008 1:22 am

Post by chicobo329 »

Strange, it's on drive_c in Win, seperated from the Redshark folder...

Lemme see what happens if I move it in there.
chicobo329
Level 1
Level 1
Posts: 7
Joined: Mon Jun 23, 2008 1:22 am

Post by chicobo329 »

Bingo, success! That's strange though as this happened from a normal install. Something might've tripped up.

Thank you for your time and help.
Locked