NSIS 64bit 32bit인지 확인 (레지스트리 값 확인 활용)

반응형
ReadRegStr $0 HKLM "SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion" "ProgramFilesDir"
  ${If} $0 == ''
  32비트일 때 실행할 명령어 입력
  ${Else}
  64비트일 때 실행할 명령어 입력
  ${EndIf}

 

참고)

https://yeo-computerclass.tistory.com/152

 

[NSIS] 파일 존재 확인 / 레지스트리 값 존재 확인

파일 존재 확인 IIfFileExists "$INSTDIR\AstelliaClient" Yes No Yes: NO: 레지스트리 값 존재 확인 ReadRegstr $0 "레지스트리 경로" "레지스트리 이름" $0에 해당 레지스트리 경로, 이름의 값이 저장되고 만약..

yeo-computerclass.tistory.com

반응형