Old 9th March 2004, 23:18   #1
jau
Junior Member
 
Join Date: Mar 2004
Location: Brazil
Posts: 2
How do I know wich files to add?

Hi guys,

I'm new to NSIS and I'm sorry for asking this stupid question, but I really have no idea about how to discover which files should I pack with the .exe one.

I'm a linux user and, on linux there is the ldd command, wich lists the libraries a executable shares, but how do I know this for a windows program, in order to pack the files with the .exe? Say I write a program in Delphi, for instance. Wich dlls does this Delphi program use?

Could someone point me some reference or answer me this question?


Thanks for any help,
Jaú
jau is offline   Reply With Quote
Old 9th March 2004, 23:31   #2
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Try a resource program to discover wich dependencies are in your main EXE.
Try Resource Tuner or PE explorer.
Although, you don't need to add the main Windows APIs


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 10th March 2004, 02:51   #3
Vytautas
Major Dude
 
Vytautas's Avatar
 
Join Date: May 2003
Location: Victoria, Australia
Posts: 643
Send a message via ICQ to Vytautas
Dependancy Walker is also a usefull program, can be found by searching the net.

As Lobo Lunar mentioned it is a really a very bad idea to include the files that windows installs itself. As they are different for each version of windows and copying the wrong one would seriousely screw up your PC.

Otherwise good luck and if you want to know which files to include, simply post the dependancy list and one of us will help you out.

Vytautas
Vytautas is offline   Reply With Quote
Old 10th March 2004, 13:05   #4
jau
Junior Member
 
Join Date: Mar 2004
Location: Brazil
Posts: 2
Many thanks guys!

I'll try these programs.

Jaú
jau is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump