|
|
|
@ -8,16 +8,15 @@
|
|
|
|
|
|
|
|
|
|
!define PRODUCT_NAME "Webcam Manager"
|
|
|
|
|
!define EXE_NAME "webcam_manager.exe"
|
|
|
|
|
!define PRODUCT_VERSION "1.0"
|
|
|
|
|
!define PRODUCT_PUBLISHER "Webcam Managers"
|
|
|
|
|
!define PRODUCT_LEGAL "Webcam Managers 2021-3021"
|
|
|
|
|
!define PRODUCT_VERSION "Alpha 0.1"
|
|
|
|
|
!define PRODUCT_PUBLISHER "Institute of Diagram Studies"
|
|
|
|
|
!define PRODUCT_LEGAL "AGPL-3"
|
|
|
|
|
!define TEMP_DIR ""
|
|
|
|
|
|
|
|
|
|
;--------------------------------
|
|
|
|
|
;Include Modern UI
|
|
|
|
|
|
|
|
|
|
!include "MUI2.nsh"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;--------------------------------
|
|
|
|
|
;General
|
|
|
|
@ -29,7 +28,7 @@
|
|
|
|
|
|
|
|
|
|
;Default installation folder
|
|
|
|
|
InstallDir "$PROGRAMFILES\Webcam_Manager"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;Get installation folder from registry if available
|
|
|
|
|
;InstallDirRegKey HKCU "Software\Modern UI Test" ""
|
|
|
|
|
|
|
|
|
@ -52,14 +51,14 @@
|
|
|
|
|
!insertmacro MUI_PAGE_COMPONENTS
|
|
|
|
|
!insertmacro MUI_PAGE_INSTFILES
|
|
|
|
|
!insertmacro MUI_PAGE_FINISH
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
!insertmacro MUI_UNPAGE_CONFIRM
|
|
|
|
|
!insertmacro MUI_UNPAGE_INSTFILES
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;--------------------------------
|
|
|
|
|
;Languages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
!insertmacro MUI_LANGUAGE "English"
|
|
|
|
|
|
|
|
|
|
;--------------------------------
|
|
|
|
@ -74,19 +73,19 @@ SectionEnd
|
|
|
|
|
Section "OBS Studio" Prerequisites
|
|
|
|
|
|
|
|
|
|
SetOutPath "$INSTDIR"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MessageBox MB_YESNO "Install OBS?" /SD IDYES IDNO endOBS
|
|
|
|
|
File "inc\OBS-Studio-26.1.1-Full-Installer-x64.exe"
|
|
|
|
|
ExecWait "$INSTDIR\OBS-Studio-26.1.1-Full-Installer-x64.exe"
|
|
|
|
|
Goto endOBS
|
|
|
|
|
endOBS:
|
|
|
|
|
SectionEnd
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section "Webcam Manager" WebMan
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;ADD YOUR OWN FILES HERE...
|
|
|
|
|
File "webcam_manager.exe"
|
|
|
|
|
|
|
|
|
|
File "webcam_manager.exe"
|
|
|
|
|
|
|
|
|
|
;Create uninstaller
|
|
|
|
|
WriteUninstaller "$INSTDIR\Uninstall.exe"
|
|
|
|
|
|
|
|
|
|