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
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
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
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]);