diff --git a/config/build/win/nsis/installer.nsh b/config/build/win/nsis/installer.nsh index 7197c5f9..678fd61a 100644 --- a/config/build/win/nsis/installer.nsh +++ b/config/build/win/nsis/installer.nsh @@ -1,8 +1,13 @@ !macro customInit - + # guid=7e51495b-3f4d-5235-aadd-5636863064f0 + ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DS Talk_is1" "UninstallString" + ${If} $0 != "" + MessageBox MB_ICONINFORMATION|MB_TOPMOST "이전 버전의 DS Talk을 제거 하시겠습니까?" IDOK + ExecWait $0 $1 + ${EndIf} !macroend !macro customInstall - File "${BUILD_RESOURCES_DIR}\win\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' + # File "${BUILD_RESOURCES_DIR}\win\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 diff --git a/electron-builder.json b/electron-builder.json index 32630d45..68a19987 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -64,6 +64,7 @@ "oneClick": true, "allowToChangeInstallationDirectory": false, "perMachine": false, - "differentialPackage": true + "differentialPackage": true, + "include": "./config/build/win/nsis/installer.nsh" } }