I've a simple NSIS script for packaging my executable and a directory tree. My script looks like this:
Qt Code:
outFile "my_installer.exe" installDir . section setOutPath $INSTDIR file ..\interface\release\myApp.exe file /r ..\interface\data sectionEndTo copy to clipboard, switch view to plain text mode
There are no links or shortcuts in "data", just files and sub-directories w/more files & directories. I want to preserve the tree so that "myApp.exe" and "data" (with all its files & subdirectories) reside in the installation directory.
When I run the installer, however, I get:
What should I add so that the installer can create the necessary directories and write to them?Error opening file for writing:
.\data\a_little_test_file.txt
Abort | Retry | Ignore
Bookmarks