Old 22nd January 2006, 22:45   #1
Nabukodonosor
Junior Member
 
Join Date: Jan 2006
Posts: 16
Unhappy How to copy some files and register .ax?

Hi there. I a newbie in all this. What I want is to extract some Dll files in some folder in Program Files (INSTDIR). I did this. Next what i want is to ectract some other files to C:\some folder\folder 2\. I don't know how to do that.
Also, some of those files are .ax files, and need to be registered. In "real life" these files register file called regsvr32.exe. How to manage to do this? tnx
Nabukodonosor is offline   Reply With Quote
Old 23rd January 2006, 04:54   #2
Comperio
Major Dude
 
Comperio's Avatar
 
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
1. Use the SetOutPath command to set your working directory and then a File command to extract the file into that directory. Alternatively, you can use the /oname switch on the File command to specify an output directory, but since this option must be used with each file, I prefer to use the former.

2. Use the RegDLL command to register files. It works the same as RegSvr32.

More information about both commands is in your NSIS user's guide. You can also find working examples in your NSIS Examples folder included with the NSIS install.
Comperio is offline   Reply With Quote
Old 23rd January 2006, 12:33   #3
Nabukodonosor
Junior Member
 
Join Date: Jan 2006
Posts: 16
OK, thanks a lot. I'll try this.
Nabukodonosor is offline   Reply With Quote
Old 23rd January 2006, 13:33   #4
Nabukodonosor
Junior Member
 
Join Date: Jan 2006
Posts: 16
OK, i made it and it works! I also did the Uninstall routine with the UnRegDll command. Thanks a lot once again.
Nabukodonosor is offline   Reply With Quote
Old 23rd January 2006, 13:35   #5
onad
Senior Member
 
onad's Avatar
 
Join Date: Dec 2004
Location: Turkey
Posts: 447
Do not forget to run and browse to the examples first, they are helpfull getting started.

Also a good NSIS script editor will help you started see
http://hmne.sourceforge.net/

"Just do it"
onad is offline   Reply With Quote
Old 23rd January 2006, 15:20   #6
Nabukodonosor
Junior Member
 
Join Date: Jan 2006
Posts: 16
Yeah, I did that. Whenever I need some help, I open some of these files a try to find what I need.

Quote:
Also a good NSIS script editor will help you started see
http://hmne.sourceforge.net/
Yes, I actually work with it.
Nabukodonosor 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