This commit is contained in:
crusader
2018-09-18 10:25:06 +09:00
parent 2951286421
commit be1ca94d35
2 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
Var SystemDrive
!macro preInit
ReadEnvStr $SystemDrive SYSTEMDRIVE
SetRegView 64
WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "$SystemDrive\앱이설치될폴더명"
WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "$SystemDrive\앱이설치될폴더명"
SetRegView 32
WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "$SystemDrive\앱이설치될폴더명"
WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "$SystemDrive\앱이설치될폴더명"
!macroend