|
|
#1 |
|
Junior Member
Join Date: Jul 2005
Posts: 1
|
Hi, I am new to using this program and programing in general.
I have created a program which I would like to compile into an exe file, but in one of the directories that will be installed has a batch file which xcopy's files from a different location and places them into the directoy that is being installed. The hierarchy I have right now, which I am attempting to compile into an exe is as shown: $PROGRAMFILES\Developer\Software\mods\Modified_content code: So my question is how would I go about and create a script to run my batch file at the end of the installation, close and delete itself when the installer has finished? Last edited by epicwinter; 22nd July 2005 at 08:40. |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Batch files do not need Shell to open. A simple Exec "path\to\file.bat" will work.
Or, if you're calling it from a Section you could use nsExec::ExecToLog. If your batch file only does an xcopy, you could just use NSIS's CopyFiles instead. -Stu |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|