Problem to copy a file to $sysdir\drivers on windows 7
Hi and hello :)
I´m trying to write my first installer with NSIS :)
Now i have the problem, to copy an *.sys file into $sysdir\drivers
The installer works without errors, but he dont copy the file.sys into $sysdir\drivers
i try it with AccessControl but no positive result :(
Section -InstallDriver
AccessControl::GrantOnFile \
"$SYSDIR\drivers" "(BU)" "GenericRead + GenericExecute + GenericWrite + Delete"
SetOutPath "$SYSDIR\drivers"
File "C:\Users\SkullSplitter\Desktop\Razer\Others\Lycosa.sys"
SectionEnd
can anyone give me an working example, what i must do, that the installer write/copy the file.sys into $sysdir\drivers ?
thx in advance
cheers
Skull