Nabukodonosor
22nd January 2006 23:45 UTC
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
Comperio
23rd January 2006 05:54 UTC
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.
Nabukodonosor
23rd January 2006 13:33 UTC
OK, thanks a lot. I'll try this.
Nabukodonosor
23rd January 2006 14:33 UTC
OK, i made it and it works! I also did the Uninstall routine with the UnRegDll command. Thanks a lot once again.
onad
23rd January 2006 14:35 UTC
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/
Nabukodonosor
23rd January 2006 16:20 UTC
Yeah, I did that. Whenever I need some help, I open some of these files a try to find what I need.
Also a good NSIS script editor will help you started see
http://hmne.sourceforge.net/
Yes, I actually work with it.