Installer: Portable: Don't install driver to system

This commit is contained in:
Nodir Temirkhodjaev 2024-04-30 17:03:44 +03:00
parent d73a00db49
commit 942b799ac4

View File

@ -86,8 +86,10 @@ Name: "{commondesktop}\{#APP_NAME}"; Filename: "{#APP_EXE}"; WorkingDir: "{app}"
[Run]
; 1. Uninstall -> 2. Install Driver -> 3. Portable -> 4. Service
Filename: "{#APP_EXE}"; Parameters: "-u most"
Filename: "{app}\driver\scripts\reinstall.bat"; Parameters: {code:DriverInstallArgs}; \
Description: "Re-install driver"
Description: "Re-install driver"; \
Check: not IsTaskSelected('portable') or IsTaskSelected('service')
Filename: "{#APP_EXE}"; Parameters: "-i portable"; Tasks: portable
Filename: "{#APP_EXE}"; Parameters: "-i service"; Tasks: service