Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Windows program X.

How can figure out which libraries, files ...etc are used by X?

So if any of these files are deleted from my Windows then X will not run without errors.

share|improve this question
    
What kind of “libraries, files, etc.” are you thinking of? Is there a specific program that you are having trouble running? –  Synetech Dec 8 '13 at 4:57
    
I have a program and want to list all libraries, files that it depends on. I am trying to run a program in Linux using WINE. I thought this will help me do it. –  MIH1406 Dec 8 '13 at 4:59
    
Is it not working in WINE? Are you getting a specific error? –  Synetech Dec 8 '13 at 5:00
    
I did not try that yet, but I read that it is not running using WINE and I thought I should start by this question. :) –  MIH1406 Dec 8 '13 at 5:01
1  
Where did you read it? Did they give more details about why it won’t run? If someone said it won’t run, then presumably they already tried to get it to work. Perhaps it uses a Windows API function that WINE doesn’t support yet. Either way, you can try the two suggestions below to get a head start. –  Synetech Dec 8 '13 at 5:03

1 Answer 1

up vote 2 down vote accepted

A program’s prerequisites will depend on that specific program. There is no universal set of prerequisites or even universal type of prerequisite.

The closest thing (in Windows) would be DLLs and .NET frameworks.

  • You can find out what DLLs it uses with the Dependency Walker.

  • You can sort of find out what .NET framework it uses (if any) with some effort. Other than that, you should just check the program’s documentation (specifically readme.txt).

share|improve this answer
1  
(Let me know how it goes. If it doesn’t work out, we can try to figure out something else.) –  Synetech Dec 8 '13 at 5:08
    
I got this: "Error: At least one file was not a 32-bit or 64-bit Windows module." but the program runs smoothly in Windows 7 –  MIH1406 Dec 8 '13 at 5:17
    
Is it a Windows Vista/7/8 program? I can’t determine if WINE supports Vista+ applications yet, but if not, then it won’t run programs that were compiled specifically for Vista and up (in fact, you cannot even run the Windows calculator or notepad from Vista or up on Windows XP). –  Synetech Dec 8 '13 at 5:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.