]> Nishi Git Mirror - dataworks.git/commitdiff
fix installer
authornishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Mon, 24 Jun 2024 12:46:26 +0000 (12:46 +0000)
committernishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Mon, 24 Jun 2024 12:46:26 +0000 (12:46 +0000)
git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@422 d4a5a174-5a4a-5b4b-b672-37683c10d7d5

Makefiles/installer.mk
RemoteClient/tcpip.c

index 30c10461b13945ea74a37b28611b998b0ddfe5e3..1c73044871b66aa772fee9a738f80471648dd4b5 100644 (file)
@@ -65,6 +65,7 @@ dos-installer:
        echo "InstallDir \"\$$$(TO)\\DataWorks\"" >> install.nsi
        echo "XPStyle on" >> install.nsi
        echo "!define MUI_LICENSEPAGE_RADIOBUTTONS" >> install.nsi
+       echo "!define MUI_FINISHPAGE_NOAUTOCLOSE" >> install.nsi
        echo "!insertmacro MUI_RESERVEFILE_LANGDLL" >> install.nsi
        echo "!insertmacro MUI_PAGE_WELCOME" >> install.nsi
        echo "!insertmacro MUI_PAGE_LICENSE LICENSE" >> install.nsi
@@ -97,12 +98,12 @@ dos-installer:
        echo "  $(CUSTOM_NSIS)" >> install.nsi
        echo "FunctionEnd" >> install.nsi
        echo "Section -Pre" >> install.nsi
+       echo "  SetShellVarContext all" >> install.nsi
        echo "  CreateDirectory \"\$$SMPROGRAMS\\\DataWorks\"" >> install.nsi
        echo "SectionEnd" >> install.nsi
        echo "SectionGroup /e \"\$$(APP_SET_DESC)\" APP_SET" >> install.nsi
        echo "  Section -PreApp" >> install.nsi
        echo "    CreateDirectory \"\$$INSTDIR\\\bin\"" >> install.nsi
-       echo "    SetShellVarContext all" >> install.nsi
        echo "  SectionEnd" >> install.nsi
        echo "  Section \"\$$(CLIENT_SET_DESC)\" CLIENT_SET" >> install.nsi
        echo "    SetOutPath \"\$$INSTDIR\\\bin\"" >> install.nsi
@@ -181,6 +182,7 @@ dos-installer:
        echo "  !insertmacro MUI_DESCRIPTION_TEXT \$${DLL_SET} \"\$$(DLL_SET_DESC)\"" >> install.nsi
        echo "  !insertmacro MUI_DESCRIPTION_TEXT \$${HEADERS_SET} \"\$$(HEADERS_SET_DESC)\"" >> install.nsi
        echo "!insertmacro MUI_FUNCTION_DESCRIPTION_END" >> install.nsi
+       cat install.nsi
        makensis install.nsi
        cat install.nsi
        rm install.nsi dataworks.bmp
index 18e1f92df151b39fcff975f1d0dd850bcc47c4d6..00105ce643fdc6bc709253d55421c06558bce017 100644 (file)
@@ -92,7 +92,7 @@ int rcli_init(void) {
                                printf("Usage: %s [options] host\n", argv[0]);
                                printf("You can use double-dash or slash for long-format flag, and single-dash or slash for short-foramt flag.\n");
                                printf("Options:\n");
-                               printf("\t-p --port [port]   Specify the port to be listened on\n");
+                               printf("\t-p --port [port]   Specify the port to be connected to\n");
                                exit(0);
                        } else {
                                fprintf(stderr, "Invalid option: %s\n", argv[i]);