Showing posts with label NSIS. Show all posts
Showing posts with label NSIS. Show all posts
2012/06/20
NSIS 런타임에 32bit 시스템 인지 64bit 시스템 인지 감지하기
; Check OS Platform
System::Call "kernel32::GetCurrentProcess() i .s"
System::Call "kernel32::IsWow64Process(i s, *i .r0)"
StrCmp $0 '0' Win32 Win64
Win32:
Goto EndCheck
Win64:
EndCheck:
2010/07/09 - [Com. Story] - NSIS 이용한 Install 할 때 32bit 시스템 인지 64bit 시스템 인지 감지하기
<
Original Post : http://neodreamer-dev.tistory.com/666
2010/07/09
NSIS 이용한 Install 할 때 32bit 시스템 인지 64bit 시스템 인지 감지하기
32비트 와 64비트 시스템을 위한 통합 설치 패키지 만들일이 있어서 설치할 때 운영체제가 32비트인지 64비트인지 확인 할 수 있는 내용을 찾아 보았다.
아래의 코드로 32비트인지 64비트인지 감지할 수 있다고 한다.
출처 : Detecting if the install is occuring on a 64 bit or 32 bit machine<
Original Post : http://neodreamer-dev.tistory.com/451
아래의 코드로 32비트인지 64비트인지 감지할 수 있다고 한다.
IfFileExists $WINDIR\SYSWOW64\*.* Is64bit Is32bit
Is32bit:
SetRegView 32
GOTO End32Bitvs64BitCheck
Is64bit:
SetRegView 64
End32Bitvs64BitCheck:
출처 : Detecting if the install is occuring on a 64 bit or 32 bit machine<
Original Post : http://neodreamer-dev.tistory.com/451
Subscribe to:
Posts
(
Atom
)