Archive: Does NSIS can help me ?


Does NSIS can help me ?
Hi,

I'm new to the NSIS stuff. I don't understand a lot of all options and scripts that make NSIS working. I would like to know if the following could be done with NSIS and if you could just give me some advices and recommendations on where to start...

------------------------------------
1. I need to Verify for a folder, and if it exist, The setup will begin and copy a folder to another location (ie.: C:\Folder --> C:\Folder2). If possible, it would have a progress bar on the Folder copy process because it have about 500 Mb of files to copy.

2. Files that my package have must be outside of the installer, accessible on the CD-ROM like any other files (not Compressed in any way in the EXE of the installer).

3. The installer should not display any Licence. Also, the install Path have to be hardcoded in a specific Drive:\Folder.

4. I need to run some files (VBS or CMD) in the process, I think this part could be done with nsExec, but I don't understand where I need to put the code for that...

5. I need to ask the user some specific questions about the site where he is (Site Number, Division, City) because the stuff I install will use that in a script.

6. I want that the setup only display the Question page and do the rest in the background (not displaying Path selection, Licences).
----------------------------------

I just don't know where to start... :S

Thank you if you can help me, it would be really appreciate !!


Re: Does NSIS can help me ?
Open nsis.chm:

1. Try IfFileExists.

2. See $EXEDIR, CopyFiles and File.

3. Then don't, see Page.

4. See ExecShell and ExecWait

5. You need to use InstallOptions to make custom pages.

6. See awnser 3.