|
|
#1 |
|
Junior Member
Join Date: Jan 2009
Posts: 4
|
outfile directory
When I create a new install.exe I want it to go into a new directory based on the version number. Is this possible?
OutFile ".\${APP_VERSION}\${INSTALLER_NAME}" If the new directory does not exists I get an error stating "Can't open output file" I can manually create the directory and then it works but I was hoping the script would be able to do it automatically. |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Jun 2001
Posts: 1,173
|
you could look into using the compile-time commands !execute and/or !system to create the dir first?
|
|
|
|
|
|
#3 |
|
Major Dude
Join Date: Sep 2005
Location: Somewhere over the Slaughterhouse
Posts: 797
|
That's how I do it:
code: My Plugins: StdUtils | NSISList | CPUFeatures | ExecTimeout | KillProc My source of inspiration: http://youtu.be/lCwY4_0W1YI |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Jan 2009
Posts: 4
|
Thanks, that worked perfectly.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|