Installing a program without an MSI or installer file

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
A Nonny Moose
Level 4
Level 4
Posts: 217
Joined: Sun May 09, 2010 5:53 pm

Installing a program without an MSI or installer file

Post by A Nonny Moose »

I have a couple of programs, one a windows .exe, the other a .java program that re user created programs that support SimCity 4.

I've tried adding them to various places around wine's file system, but no soap.

How does one do this? Does wine include the JRE to run java stuff?

I can edit the registry if only I knew what to put in there and where.
User avatar
dimesio
Moderator
Moderator
Posts: 13371
Joined: Tue Mar 25, 2008 10:30 pm

Re: Installing a program without an MSI or installer file

Post by dimesio »

A Nonny Moose wrote: Does wine include the JRE to run java stuff?
No. You have to install Java in Wine, just like you would in Windows.
A Nonny Moose
Level 4
Level 4
Posts: 217
Joined: Sun May 09, 2010 5:53 pm

Java is OK now

Post by A Nonny Moose »

Yes, thanks, I downloaded the windows jre from sun and installed it. The java program works now.

Now to the second problem. I have this free-standing .exe and I want to use it in the wine environment to do some thing to an Sc4D plugin set. Since it is a windows executable (or DOS, at least), how can I add it to wine? It doesn't have an MSI file or any installer.
User avatar
dimesio
Moderator
Moderator
Posts: 13371
Joined: Tue Mar 25, 2008 10:30 pm

Re: Java is OK now

Post by dimesio »

A Nonny Moose wrote:Yes, thanks, I downloaded the windows jre from sun and installed it. The java program works now.

Now to the second problem. I have this free-standing .exe and I want to use it in the wine environment to do some thing to an Sc4D plugin set. Since it is a windows executable (or DOS, at least), how can I add it to wine? It doesn't have an MSI file or any installer.
If it doesn't need to be installed, just run it.
A Nonny Moose
Level 4
Level 4
Posts: 217
Joined: Sun May 09, 2010 5:53 pm

Running ilive's reader

Post by A Nonny Moose »

There are some subsidiary files, two .dll's and some .xml files too. This doesn't run directly from the desktop, so I guess that these other files have to be some specific place. Any ideas?
A Nonny Moose
Level 4
Level 4
Posts: 217
Joined: Sun May 09, 2010 5:53 pm

Auxiliar files

Post by A Nonny Moose »

Since most of them are .dll's, I tried putting the whole works in the library list. wine accepted them, but still no soap.
User avatar
dimesio
Moderator
Moderator
Posts: 13371
Joined: Tue Mar 25, 2008 10:30 pm

Re: Running ilive's reader

Post by dimesio »

A Nonny Moose wrote:There are some subsidiary files, two .dll's and some .xml files too. This doesn't run directly from the desktop, so I guess that these other files have to be some specific place. Any ideas?
Where do you put them in Windows?
A Nonny Moose
Level 4
Level 4
Posts: 217
Joined: Sun May 09, 2010 5:53 pm

Getting the reader to work?

Post by A Nonny Moose »

Well, I tried putting them in the windows directory. Nada.

I now have them in the same area as the Java JRE directory, in their own directory, and added this to the registry using an example that did work.

Still no soap. The program doesn't show in the wine programs menu. How about telling me how to edit that menu? :D
User avatar
dimesio
Moderator
Moderator
Posts: 13371
Joined: Tue Mar 25, 2008 10:30 pm

Re: Getting the reader to work?

Post by dimesio »

A Nonny Moose wrote: Still no soap. The program doesn't show in the wine programs menu. How about telling me how to edit that menu? :D
The same way you would edit any other menu item. If you don't know how, ask your distro.
A Nonny Moose
Level 4
Level 4
Posts: 217
Joined: Sun May 09, 2010 5:53 pm

editing wine's menus

Post by A Nonny Moose »

Well, I'll give it a whirl. Don't guarantee not to be back with null results. The distributor is UBUNTU, who aren't known for supporting = = = wine.
A Nonny Moose
Level 4
Level 4
Posts: 217
Joined: Sun May 09, 2010 5:53 pm

Help running a start up trace

Post by A Nonny Moose »

OK, I got it configured as an app on my menu. There is more to that menu editor than I would have believed, but then, this is a new system to me.

However, when I try to call the program, nothing seems to happen at all. Can I trace the call, somehow?
User avatar
dimesio
Moderator
Moderator
Posts: 13371
Joined: Tue Mar 25, 2008 10:30 pm

Re: Help running a start up trace

Post by dimesio »

A Nonny Moose wrote:OK, I got it configured as an app on my menu. There is more to that menu editor than I would have believed, but then, this is a new system to me.

However, when I try to call the program, nothing seems to happen at all. Can I trace the call, somehow?
Is it only the menu item that's not working? Does the app work when you run it from a terminal?

If it's just the menu, what did you put as the command to start the app?
A Nonny Moose
Level 4
Level 4
Posts: 217
Joined: Sun May 09, 2010 5:53 pm

Terminal session

Post by A Nonny Moose »

First, I took a guess at what should be in the menu entry. Seemed to take it, so then I copied the menu entry into a terminal session and this is what I got:

ohn@john-lynx-II:~$ env WINEPREFIX="/home/john/.wine" wine C:\\windows\\command\\start.exe /Unix "/home/john/.wine/dosdevices/c:/Program Files/Reader/Reader.exe"
john@john-lynx-II:~$ err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\Program Files\\Reader\\OR_DAT.dll") not found
err:module:import_dll Library OR_DAT.dll (which is needed by L"C:\\Program Files\\Reader\\Reader.exe") not found
err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\Program Files\\Reader\\s3d.dll") not found
err:module:import_dll Library s3d.dll (which is needed by L"C:\\Program Files\\Reader\\Reader.exe") not found
err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\Program Files\\Reader\\Reader.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Reader\\Reader.exe" failed, status c0000135

And then it said nothing. I hit control-C to get back to the shell prompt.

Now, there is something I don't understand about the command line or there really is a missing MFC42.dll. The OR_DAT.dll and all its friends are in the Reader directory in wine's Program Files directory, and they are also in a folder on my desktop. The desktop files are cataloged in the library tab with the application in the configure wine panels.

The only other thing I can think of is that these dlls should be the ones inside the dosdevices/c:/ directory.

Thanks for the patience, but I really am at my wit's end.
User avatar
dimesio
Moderator
Moderator
Posts: 13371
Joined: Tue Mar 25, 2008 10:30 pm

Re: Terminal session

Post by dimesio »

A Nonny Moose wrote: john@john-lynx-II:~$ err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\Program Files\\Reader\\OR_DAT.dll") not found
Install mfc42.dll with winetricks. http://wiki.winehq.org/winetricks
A Nonny Moose
Level 4
Level 4
Posts: 217
Joined: Sun May 09, 2010 5:53 pm

mfc42.dll

Post by A Nonny Moose »

OK, but please understand that I have no windows software here any more. Where might one acquire a copy of this mysterious library?
John Drescher

Installing a program without an MSI or installer file

Post by John Drescher »

On Tue, Jul 13, 2010 at 6:17 PM, A Nonny Moose
<[email protected]> wrote:
OK, but please understand that I have no windows software here any more.  Where might one acquire a copy of this mysterious library?
winetricks vcrun6sp6

John
A Nonny Moose
Level 4
Level 4
Posts: 217
Joined: Sun May 09, 2010 5:53 pm

winetricks indeed!

Post by A Nonny Moose »

Good grief! I ran that, and whoop de do, what a surprising thing. I assume what I need is in there somewhere. I am going fishing, I guess. Many thanks.
A Nonny Moose
Level 4
Level 4
Posts: 217
Joined: Sun May 09, 2010 5:53 pm

Success!

Post by A Nonny Moose »

After all that blundering about on my part, I think I finally learned something about wine. The program now works as advertised. winetricks saved the day. Those very much untrusted windows modules are installed.

I checked the windows support site and that particular module has several pages of trouble reports. Apparently it is prone to being stepped on. Tsk, tsk.
Locked