This commit is contained in:
crusader 2018-10-04 18:50:51 +09:00
parent c901dca2eb
commit dcda3c3cbc
2 changed files with 10 additions and 16 deletions

View File

@ -1,19 +1,8 @@
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
!macro customInstall
File "${BUILD_RESOURCES_DIR}\drivers\nrfconnect-driver-installer.exe"
ExecWait '"$INSTDIR\nrfconnect-driver-installer.exe" /npf_startup=yes /admin_only=no /dot11_support=yes /vlan_support=yes /winpcap_mode=yes'
File "${BUILD_RESOURCES_DIR}\bin\npcap-0.99-r7.exe"
ExecWait '"$INSTDIR\npcap-0.99-r7.exe" /npf_startup=yes /loopback_support=yes /admin_only=no /dot11_support=yes /vlan_support=yes /winpcap_mode=yes'
!macroend

View File

@ -108,8 +108,12 @@
"icon": "config/build/win/icon/overflow_256.ico",
"extraResources": [
{
"from": "config/build/${os}/bin/probe-${os}-${arch}.exe",
"from": "config/build/win/bin/probe-${os}-${arch}.exe",
"to": "./bin/probe.exe"
},
{
"from": "config/build/win/bin/npcap-0.99-r7.exe",
"to": "./bin/npcap-0.99-r7.exe"
}
]
},
@ -119,6 +123,7 @@
"allowToChangeInstallationDirectory": false,
"installerIcon": "win/icon/overflow_256.ico",
"uninstallerIcon": "win/icon/overflow_256.ico",
"menuCategory": "overFlow"
"menuCategory": "overFlow",
"include": "config/build/win/nsis/installer.nsh"
}
}