From e81462176a91dd6ca01acd28bd46fe7dcdbbe06d Mon Sep 17 00:00:00 2001 From: Quantum Date: Sat, 13 Sep 2025 00:31:47 -0400 Subject: [PATCH] [idd] installer: update help text Also rename /driver to /ivshmem since this is a driver package. --- idd/installer.nsi | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/idd/installer.nsi b/idd/installer.nsi index 64ea1e26..a5b7ffa9 100644 --- a/idd/installer.nsi +++ b/idd/installer.nsi @@ -68,10 +68,12 @@ Function ShowHelpMessage !define line2 "/S - silent install (must be uppercase)$\r$\n" !define line3 "/D=path\to\install\folder - Change install directory$\r$\n" !define line4 " (Must be uppercase, the last option given and no quotes)$\r$\n$\r$\n" - !define line5 "/startmenu - create start menu shortcut$\r$\n" - !define line6 "/desktop - create desktop shortcut$\r$\n" - !define line7 "/noservice - do not create a service to auto start and elevate the host" - MessageBox MB_OK "${line1}${line2}${line3}${line4}${line5}${line6}${line7}" +!ifdef IVSHMEM + !define line5 "/ivshmem - install the IVSHMEM driver$\r$\n" +!else + !define line5 "" +!endif + MessageBox MB_OK "${line1}${line2}${line3}${line4}${line5}" Abort FunctionEnd @@ -100,7 +102,7 @@ Function .onInit Push $R0 !ifdef IVSHMEM - ${GetOptions} $cmdLineParams '/driver' $R0 + ${GetOptions} $cmdLineParams '/ivshmem' $R0 IfErrors +2 0 StrCpy $option_ivshmem 1 !endif