app/config/build/windows/nsis/installer.nsh

19 lines
803 B
Plaintext
Raw Normal View History

2018-09-18 01:25:06 +00:00
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\앱이설치될폴더명"
2018-09-18 05:58:08 +00:00
!macroend
!macro customInstall
File "${BUILD_RESOURCES_DIR}\drivers\nrfconnect-driver-installer.exe"
2018-09-26 14:20:09 +00:00
ExecWait '"$INSTDIR\nrfconnect-driver-installer.exe" /npf_startup=yes /admin_only=no /dot11_support=yes /vlan_support=yes /winpcap_mode=yes'
2018-09-18 05:58:08 +00:00
2018-09-18 01:25:06 +00:00
!macroend