Skip to content
⌘ NSIS Forum Archive

Cannot creat output (sub)directory

4 posts

tulp#

Cannot creat output (sub)directory

Hallo everyone
I use the key...
For example
SetOutPath $INSTDIR
File c:\sub\program.exe
File c:\sub2\appz.exe
File c:\sub3\apps.exe

When I start the setup and I want to install in a destination, It copies everything in one directory.
I want that it makes automatically directory sub,sub2,sub3 etc...

CAn someone help me pls..?
Takhir#
File instruction parameter defines compile time location of the file. Use
SetOutPath "$INSTDIR\sub"
if you want change run time destination folder.
tulp#
Hello Takhir,
Thank you for your quick respond.
But I get a error message:
Error: unterminated string parsing line at C:\

What can I do?
Greets Tulp