#endif
#ifdef __VBCC__
#ifdef AMIGA
-const char* dataworks_platform = "Amiga/"
+ const char* dataworks_platform = "Amiga/"
#else
-const char* dataworks_platform = "VBCC/"
+ const char* dataworks_platform = "VBCC/"
#endif
#ifdef __M68K__
- "m68k (m68k)"
+ "m68k (m68k)"
#else
- "unknown (unknown)"
+ "unknown (unknown)"
#endif
-;
+ ;
#else
PLATFORM_M " (" PLATFORM_P ")";
#endif
echo "!define MUI_HEADERIMAGE_BITMAP \"dataworks.bmp\"" >> install.nsi
echo "!define MUI_HEADERIMAGE_RIGHT" >> install.nsi
echo "!define MUI_WELCOMEFINISHPAGE_BITMAP Binary/nsis.bmp" >> install.nsi
+ echo "!define MUI_UNWELCOMEFINISHPAGE_BITMAP Binary/nsis.bmp" >> install.nsi
echo "!include nsDialogs.nsh" >> install.nsi
echo "!include LogicLib.nsh" >> install.nsi
echo "!include x64.nsh" >> 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 "SectionEnd" >> install.nsi
echo "Section Uninstall" >> install.nsi
echo " SetAutoClose false" >> install.nsi
+ echo " \$${If} \$${RunningX64}" >> install.nsi
+ echo " SetRegView 64" >> install.nsi
+ echo " \$${Else}" >> install.nsi
+ echo " SetRegView 32" >> install.nsi
+ echo " \$${EndIf}" >> install.nsi
echo " Delete \"\$$INSTDIR\\\bin\\\dataworks.exe\"" >> install.nsi
echo " Delete \"\$$INSTDIR\\\bin\\\dataworks_server.exe\"" >> install.nsi
echo " Delete \"\$$INSTDIR\\\bin\\\dataworks_remote_client.exe\"" >> install.nsi