Actually bundle always fails when i try.
Mal deutsch ( i dont know the english captions)
gehe bei den neuen windows-einstellungen und tipp ins suchfeld "Windows-Sicherheit" minus/bindestrich sonst wird es nich gefunden
Gehe zu "Viren- uund Bedohungsschutz" wennn du Schalter für "Echtzeitschutz" und "cloudbasierter Schutz" siehst bist Du auf der richtigen seite. <die rechte hälfte gannz bis unten scrollen
Da steht Ausschlüsse. und untendrunter ein link
Ausschlusse hinzufügen oder entfernen.
Klick da
Dann musst du noch mal bestätigen das du tust was du willst,(als admin mindestens) dann gibts einen Button "+ Ausschluss hinzufügen"
klick da und wähle ordner: suche thinbasic installationsordner und setzt den in die liste. Dann mach das gleiche mit einem ordner in dem du deine scripts speeicherst. - also wo deine datenquellen für bundle stehen mindestens.
dann klick nochmal und wähle statt ordner dateityp und setze ".tbasic*" ein - das sollte alles abdecken. mit oder ohne punkt, beides geht ".inc" oder sonstige files die du verwendest vorsichtshalber - kanns ja später wieder löschen.
'' # tb_Admin_always.tBasic" -save using this name for example
string lc(), sFile = replace$(app_inifile,"Ini","Reg")
parse app_path, lc,"\"
save_file(sFile ,UTF8ToWideChar$( strformat$("{1} Registry Editor {2} 5.00{3}{3}[HKEY_{4}_USER\Software\Microsoft\{1} NT\{4}{2}" & _
"\AppCompatFlags\Layers]{3}{5}{6}{7}{6}{8}{6}{7}_Bundle_UI{9}{3}{5}{6}{7}{6}{8}{6}{8}{9}{3}{5}{6}{7}{6}{7}{9}{3}",
"Windows","Version", $CRLF,"CURRENT", $DQ & lc(1), "\\",lc(2),"thinAir",".exe""=""~ RUNASADMIN" & $DQ)) )
Select case msgbox "Written a reg-import-file to " & app_scriptpath & crlf & _
"Do you want to merge it into your registry now? (Admin privileges required)" & crlf & _
"You can however import it by right-click in explorer and choose to merge," & crlf & _
"reg import " & $DQ & sFile & $DQ & crlf & _
"from an elevated command prompt or or in a batch file." & crlf & _
"Or directly through filemenu, import within regedit, however the filename" & crlf & _
"is stored to the clipboard now.", %MB_YesNoCancel | %MB_IconQuestion,
"Do you have administrative rights?"
case %IDYes
lc(1)= shell_captureoutput (sFile,"", %SW_Hide, 300)
if lenf(lc(1)) > 5 then
msgbox lc(1), %MB_IconInformation, "reply of os"
elseif leftf$(lc(1),2) = "-1" then
msgbox "Returned value -1 (True)" , %MB_IconInformation, "reply of os"
else
msgbox "no returned value implies it was not merged ", %MB_IconExclamation, "no reply of os"
endif
case %IDNO
' delete the file to prevent from accidental merging it
shell( "Explorer.exe -o ", App_Scriptpath )
end select
clipboard_settext(sFile)
shell("regedt32","")
' - - -
execute as Admin to run thinbasic thinair & bundle as Admin always.
or just execute. open the folder of the script and right-click the written .reg-File , choose Merge (as admin) to import into the registry.
Bookmarks