Windows NSIS Installer - Make INSTDIR writeable

This commit is contained in:
Pali Rohár 2010-10-14 23:15:18 +02:00
parent 24c923b77c
commit 119effc50a

View file

@ -189,6 +189,9 @@ Section "${NAME}"
WriteRegDWORD HKLM "${REGKEY}" "NoRepair" 1
WriteUninstaller "$INSTDIR\${UNINSTALL}"
System::Call "msvcrt.dll::_chmod(t $\"$INSTDIR$\", i 0x01c0) i .s"
SectionEnd
;--------------------------------