Running Windows Apps Live With Wine On Linux Live DVD

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
winepunk
Level 2
Level 2
Posts: 29
Joined: Sun Jan 22, 2012 12:40 am

Running Windows Apps Live With Wine On Linux Live DVD

Post by winepunk »

Wine Version:wine-1.3.37
OS: Linux Mint 10
Additional Info: Remastersys 3.0.1-1
Testing Windows Software: Manga Studio Debut 4

Here is the situation: I need to run a secure proprietary environment. I'm choosing to run things live in order to have more control, there are many reasons, but primarily a fresh virus free read only boot every time has obvious security benefits. I need to use some Window's software, so Wine has been the choice to run it on Linux. My first Windows program installs and runs fine (thank you), but when I remaster using Remastersys Backup mode (not Distribution mode) the Windows app shows up in remaster, but fails to run live. I went one more step and installed the remastered iso to the hard drive. The system installs, but the wine app doesn't run. I don't know if this is a Wine issue, Remastersys, the program itself issue, or some mix.

The Error Text (when trying to run it on the remaster DVD live):
Window Title: Microsoft Visual C++ Runtime Library
Window Text: Runtime Error! Program:C:\Progr...

This application has requested the Runtime to terminate i in an unusual way. Please contact the application's support team for more information.
I tried a work around. I started the Live DVD with Wine installed fresh (no programs installed to Wine). I tried to install the app and I got another error:
Window Title: Setup Initialization Error
Window Text: Setup has detected that unInstallShield is in use. Please close unInstallShield and restart setup. Error 432.
How can I install Windows programs on Remaster copy and successfully run them live?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Running Windows Apps Live With Wine On Linux Live DVD

Post by vitamin »

There are might be issues with filesystem. Post complete terminal output of running your program.
winepunk
Level 2
Level 2
Posts: 29
Joined: Sun Jan 22, 2012 12:40 am

Re: Running Windows Apps Live With Wine On Linux Live DVD

Post by winepunk »

This is the output when I try to run the program from a Live DVD. It crashes. Although, if I use the same DVD and install the os (which installs Wine and it's programs) the same Wine program doesn't crash when launched from hard drive install.

Here is live output:
artist@artist ~/.wine/drive_c/Program Files/Smith Micro/MangaStudio Debut 4E/Tool $ wine MS_Debut.exe
wine: Unhandled exception 0x40000015 at address 0x78a76e (thread 0009), starting debugger...
artist@artist ~/.wine/drive_c/Program Files/Smith Micro/MangaStudio Debut 4E/Tool $ Process of pid=0008 has terminated
No process loaded, cannot execute 'echo Modules:'
Cannot get info on module while no process is loaded
No process loaded, cannot execute 'echo Threads:'
process tid prio (all id:s are in hex)
0000000e services.exe
0000001f 0
0000001e 0
0000001d 0
00000017 0
00000015 0
00000010 0
0000000f 0
00000012 winedevice.exe
0000001b 0
00000018 0
00000014 0
00000013 0
00000019 plugplay.exe
00000020 0
0000001c 0
0000001a 0
00000021 explorer.exe
00000022 0
You must be attached to a process to run this command.
No process loaded, cannot execute 'detach'
artist@artist ~/.wine/drive_c/Program Files/Smith Micro/MangaStudio Debut 4E/Tool $
winepunk
Level 2
Level 2
Posts: 29
Joined: Sun Jan 22, 2012 12:40 am

Post by winepunk »

BTW, the previous errors I mentioned occur within Oracle Virtual Box.

To Sum up;

The app installs and runs fine on the hard disk. I create a remastered backup to a DVD. I boot the DVD and try to run the Wine app, it fails. I install from remastered DVD and it works fine from the hard drive launch.
winepunk
Level 2
Level 2
Posts: 29
Joined: Sun Jan 22, 2012 12:40 am

Post by winepunk »

I mean the previous errors mentioned in the first post. Sorry if this has caused confusion.
User avatar
dimesio
Moderator
Moderator
Posts: 13200
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

winepunk wrote: The app installs and runs fine on the hard disk. I create a remastered backup to a DVD. I boot the DVD and try to run the Wine app, it fails. I install from remastered DVD and it works fine from the hard drive launch.
So the wineprefix is on the DVD? The app could be failing because it wants to write something somewhere on the fake C: drive and the filesystem is read-only.
winepunk
Level 2
Level 2
Posts: 29
Joined: Sun Jan 22, 2012 12:40 am

Post by winepunk »

I was under the impression the files from the cd are loaded into ram and that becomes what usually is the hard drive (for live environment). This seems strange the app should try to write to dvd and not ram.
Martin Gregorie

Running Windows Apps Live With Wine On Linux Live DVD

Post by Martin Gregorie »

On Tue, 2012-01-24 at 16:06 -0600, winepunk wrote:
I was under the impression the files from the cd are loaded into ram
and that becomes what usually is the hard drive (for live
environment). This seems strange the app should try to write to dvd
and not ram.
Its not relevant whether the CD image is buffered in RAM or not: if the
underlying filing system is not writable anything the program writes
will be lost. Since it probably expects to read whatever it wrote at
sometime in future it would fail anyway.


Martin
winepunk
Level 2
Level 2
Posts: 29
Joined: Sun Jan 22, 2012 12:40 am

Re: Running Windows Apps Live With Wine On Linux Live DVD

Post by winepunk »

I'm having trouble understanding your claim. I'm not saying you are wrong, there just seems evidence to the contrary.

When I boot Linux live, it creates a root partition that represents all the files on the cd. I can go in there and change anything I want. It persists during the session. I can install linux programs also. Those changes are represented on the root partition.

I'm running Live now, with Wine. I just download 7zFM.exe. It installed it to the .wine/dosdevices/c: drive. Although the Wine shortcut in Main Menu didn't work, I navigated to ~/.wine/dosdevices/c:/Program Files/7-Zip and entered:

wine 7zFM.exe

Launches fine.

Well, now that I think about it, I didn't try the command line thing I did here with Manga Studio. But I did try the shortcut Wine creates and that don't work. I have to restart with that disk. I give my results on next post.
winepunk
Level 2
Level 2
Posts: 29
Joined: Sun Jan 22, 2012 12:40 am

Post by winepunk »

BTW, the message I get when I try to launch the Wine shortcut for the Windows program installed live above is:

Code: Select all

File Not Found 
winepunk
Level 2
Level 2
Posts: 29
Joined: Sun Jan 22, 2012 12:40 am

Post by winepunk »

Runnig from the command line didn't work either:

user@computer ~/.wine/drive_c/Program Files/Smith Micro/MangaStudio Debut 4E/Tool $ wine MS_Debut.exe
wine: Unhandled exception 0x40000015 at address 0x78a76e (thread 0009), starting debugger...
Process of pid=0008 has terminated
No process loaded, cannot execute 'echo Modules:'
Cannot get info on module while no process is loaded
No process loaded, cannot execute 'echo Threads:'
user@computer ~/.wine/drive_c/Program Files/Smith Micro/MangaStudio Debut 4E/Tool $ process tid prio (all id:s are in hex)
0000000e services.exe
0000001f 0
0000001e 0
0000001d 0
00000017 0
00000015 0
00000010 0
0000000f 0
00000012 winedevice.exe
0000001b 0
00000018 0
00000014 0
00000013 0
00000019 plugplay.exe
00000020 0
0000001c 0
0000001a 0
00000021 explorer.exe
00000022 0
You must be attached to a process to run this command.
No process loaded, cannot execute 'detach'
err:ntdll:RtlDeleteResource Deleting active MRSW lock (0x111f9c), expect failure
winepunk
Level 2
Level 2
Posts: 29
Joined: Sun Jan 22, 2012 12:40 am

Post by winepunk »

Ok, this is somewhat solved.

Since this partly a Remastersys situation, I gave more detail there. I don't want to rewrite it again.

http://www.remastersys.com/forums/index ... 3#msg10713
Locked