use user's home directory

git-svn-id: https://svn.code.sf.net/p/jailer/code/trunk@1283 3dd849cd-670e-4645-a7cd-dd197c8d0e81
This commit is contained in:
rwisser
2017-05-23 07:24:28 +00:00
parent de40c007f1
commit 02bcb1487d
+5 -1
View File
@@ -1,4 +1,4 @@
!define Version "7.0.1"
!define Version "7.0.2"
; The name of the installer
Name "Jailer ${Version}"
@@ -43,6 +43,10 @@ Section "Jailer"
File /r "C:\tmp\jailer\*.*"
FileOpen $4 ".singleuser" w
FileWrite $4 "1"
FileClose $4
; Write the installation path into the registry
WriteRegStr HKLM SOFTWARE\Jailer "Install_Dir" "$INSTDIR"