View Single Post
Old 24th November 2019, 18:25   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,196
Native arm64 support is not complete. Most of NSIS will compile but I don't have hardware to test on.

Since the Windows ARM64 supports 32-bit x86 emulation you can use a normal NSIS installer with some minor changes:

Quote:
!include x64.nsh

Function .onInit
${IfNot} ${IsNativeARM64}
MessageBox MB_ICONSTOP "ARM64 version blah blah!"
Quit
${EndIf}
SetRegView 64
FunctionEnd

Section
${DisableX64FSRedirection}
SetOutPath $InstDir
File MyApp.exe
SectionEnd
${EnableX64FSRedirection}

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote