From f14c92ae19b4ab3bb03300ea0233749c0dab0ee6 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Sun, 5 Sep 2021 17:46:54 +0200 Subject: [PATCH] bugfixes --- optional/install-cyberjack.cmd | 10 ++++------ optional/install-moneyplex.cmd | 13 +++++++++++++ optional/install-purebasic.cmd | 3 ++- optional/install-python2.cmd | 2 ++ optional/install-steam.cmd | 1 + optional/startmenu/CyberJack.lnk | Bin 0 -> 1219 bytes 6 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 optional/startmenu/CyberJack.lnk diff --git a/optional/install-cyberjack.cmd b/optional/install-cyberjack.cmd index 25c9f22..f4cb9f9 100644 --- a/optional/install-cyberjack.cmd +++ b/optional/install-cyberjack.cmd @@ -18,14 +18,12 @@ echo ####### %0 ####### echo installing Reiner SCT Cyberjack ... start /wait %EXE% -echo moving CyberJack startmenu shortcut ... -move /Y %STARTMENU%\"Reiner SCT cyberjack\cyberjack Device Manager*.*" %STARTMENU%\CyberJack.lnk - echo removing CyberJack startmenu folder ... -rd /S /Q %STARTMENU%\"Reiner SCT cyberjack" 2>nul +rd /S /Q %STARTMENU%\"REINER SCT cyberjack" 2>nul -echo removing CyberJack desktop shortcut ... -del /F /Q %PUBLIC%\Desktop\cyberjack*.* 2>nul +echo renaming CyberJack desktop shortcut ... +copy /Y startmenu\CyberJack.lnk %STARTMENU% +del /F %PUBLIC%\"Desktop\cyberjack*.*" 2>nul echo ####### %0 ####### pause diff --git a/optional/install-moneyplex.cmd b/optional/install-moneyplex.cmd index affac45..fb03c2f 100644 --- a/optional/install-moneyplex.cmd +++ b/optional/install-moneyplex.cmd @@ -2,6 +2,7 @@ set CONFIG=config\install-moneyxplex.txt set EXE=..\software\moneyplex-setup.exe +set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs" if NOT EXIST %EXE% ( echo ERROR: %EXE% not found! @@ -16,6 +17,18 @@ taskkill /F /IM moneyplex.exe 2>nul echo installing moneyplex ... start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS +echo moving moneyplex startmenu shortcut ... +move /Y %STARTMENU%\"moneyplex\moneyplex.lnk" %STARTMENU%\"MoneyPlex.lnk" + +echo removing moneyplex startmenu folder ... +rd /S /Q %STARTMENU%\"moneyplex" 2>nul + +echo renaming moneyplex icon on desktop ... +move /Y "%PUBLIC%\Desktop\moneyplex.lnk" "%PUBLIC%\Desktop\MoneyPlex.lnk" + +rem refresh desktop (W10 style) +ie4uinit.exe -show + echo ####### %0 ####### pause diff --git a/optional/install-purebasic.cmd b/optional/install-purebasic.cmd index 130fe42..a49c1e3 100644 --- a/optional/install-purebasic.cmd +++ b/optional/install-purebasic.cmd @@ -3,6 +3,7 @@ set T=c:\TEMP set TOOLS=c:\tools set CONFIG=config\install-purebasic.txt +set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs" rem licensed version (exe contains key!) rem access only for customers ... @@ -57,7 +58,7 @@ rem remove personal link ... del /F /Q /A %USERPROFILE%\Desktop\PureBasic*.lnk 2>nul echo copy new PureBasic link to desktop ... -copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\PureBasic\PureBasic (x64).lnk" ^ +copy /Y "%STARTMENU%\PureBasic\PureBasic (x64).lnk" ^ %PUBLIC%\Desktop\PureBasic.lnk rem refresh desktop (W10 style) diff --git a/optional/install-python2.cmd b/optional/install-python2.cmd index 7f79884..805a448 100644 --- a/optional/install-python2.cmd +++ b/optional/install-python2.cmd @@ -18,3 +18,5 @@ msiexec /i %MSI% /passive cd %OPT% echo ####### %0 ####### +pause + diff --git a/optional/install-steam.cmd b/optional/install-steam.cmd index 9eecf4b..f38e180 100644 --- a/optional/install-steam.cmd +++ b/optional/install-steam.cmd @@ -1,6 +1,7 @@ @echo off set EXE=..\software\steam-setup.exe +set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs" if NOT EXIST %EXE% ( echo ERROR: %EXE% not found! diff --git a/optional/startmenu/CyberJack.lnk b/optional/startmenu/CyberJack.lnk new file mode 100644 index 0000000000000000000000000000000000000000..6c4b293a51144d75a1c76f50d7b20fd4bb9f8395 GIT binary patch literal 1219 zcmb_bUr19?82_zIltN}{7$`2n(9F4MF1H*kue<3I9lK&?7fH9JSDo4hHDO6_LS)b% zLb6~;5Ezz$FHwjPK~E7qRN#yB5=9{Rm=^uco$e+G_0T!|zVEx=`R@1q&Uemf24KqD zK?yAC67m$ag~;E#JTfr-(UdjyRoA%mDkqEc6Y)I z>1@3>;1k&!wq$qfyPn%NyM5sD+EIPvy?<7tHq(?TU1sVt+E8ft zatu6oe{{Gv+8wdT+F&?lDUH`U%G6X#EsE5p21k3sQD1j(KsDI9SlJ47i~P4!R=4fC zx=pu)Z|g40xnmcr{_jenAG?6$5$e~3=pFA%a>dh`SWB*-9``M-EobS1}uGsD$n#mdY+xmMZ%4Yrv zYP;fBK40sQUpCiDFV^?nK0FzDdy)POQLLD#BosalJ5jUoNW_(fE6jnhG|L;u4@e+?s?j24kLdW95ob2w=TGSBu$8fGU(8Xq-!tPkDs>qYeUiJ(T} P@lT7mh#daRls4pV(23%K literal 0 HcmV?d00001