Jump to content

TRSyntax

Members
  • Posts

    54
  • Joined

  • Last visited

Everything posted by TRSyntax

  1. so i had all updates for my windows 7 ultimate iso in one directory, both msu and cab files. but thanks to one misplaced punctuation mark in a cleanup script i managed to delete everything on the drive containing that folder. i could retrieve most of my data with a recovery program, but some files, including all my updates, was retrieved as null byte files with scrambled filenames i have some iso images with the wim containing all my updates, is it possible to retrieve the updates from my wim images? or is there some log containing the KB numbers created from dism when i installed them? the updates was installed with WinToolkit i think. i don't know if it leaves any traces or logs inside the wim i could use for reference.. hope for some positive feedbacks thanks in advance
  2. you could also: put the vbcredist_aio_x86_x64.exe in "wim":\temp\vbcredist_aio_x86_x64.exe create "wim":\windows\setup\scripts\setupcomplete.cmd with this code in it: @echo offset startupcmd="%programdata%\microsoft\windows\start menu\programs\startup\runonce.cmd"> %startupcmd% echo @echo off>>%startupcmd% echo start /w "%systemroot%\temp\vbcredist_aio_x86_x64.exe /y">>%startupcmd% echo del /f /q %systemroot%\temp\vbcredist_aio_x86_x64.exe>>%startupcmd% echo del /f /q "%%~f0" 2^>nul ^& exit
  3. most deleted codes re-gained from ntfs cluster. others are under re-development!

  4. don't see how your question is anything like the one who started the thread. but for your question: all this CAN be achieved with some simple batching. the softwares you describe does not NEED to restart the computer before continuing with the next install. try finding silent installs and no reboot switches for your installers. if there is no such options, look into autohotkey to automate it for you. i use a 7 part batch that is executed after first login and does all this. at the end of each batch a new batch is typed to the startup folder and then the computer is restarted. the batches in startup folder self deletes right after the shutdown command so that there is only one batch there at the time. piece of cake. you can do it
  5. is there any easy way to have the installer keep the original uninstall display names for all entries added to control panels programs and features directory?
  6. i just deleted 6 months worth of coding by accident.. darn regex differences in all these languages!!

  7. i'm not sure what you are writing in, but in software like visual studio express and code::blocks where you have alot of project options, you can just add a resource file. then and add an icon resource.you can add only one icon or you can also add a icon group. usually containing 4 icons in the sizes; 16x16, 24x24, 32x32 and 48x48. you CAN add more where the highest resoulution would be 96x96. i think... i have tried adding .rc files with mingw and tcc as well but havn't really had any success. im sure it's possible if thats what you're using. here is a tutorial on how to do it in visual studio:
  8. just run the file as is. if the three lines are in the host file they will be removed, and if they are not, they will be added. how to add the more peculiar total uninstall part of your request i'm sure you can figure out yourself. @echo offset "string=www.facebook.com"set "host=C:\Windows\System32\drivers\etc\hosts"for /f "delims=" %%h in ('type "%host%" ^| find /c /i "%string%"') do ( set "result=%%h" >nul )if "%result%"=="0" ( >>%host% echo 127.0.0.1 www.facebook.com >>%host% echo 127.0.0.1 http://www.facebook.com/ >>%host% echo 127.0.0.1 https://www.facebook.com/ set "msg=%string% successfully added to host file )if "%result%" geq "1" ( for /f "tokens=*" %%a in ('findstr /in ".*" "%host%"') do ( echo %%a>>"%tmp%\l_1.x" ) for /f "eol=# tokens=1,2 delims=:" %%a in ('findstr /i ".*%string%.*" "%tmp%\l_1.x"') do ( set stringlines=%%a ) setlocal enabledelayedexpansion set /a "beforelines=stringlines-3" set /a "afterlines=stringlines+1" for /f "eol=# tokens=2* delims=:" %%a in ('findstr /in ".*" "%tmp%\l_1.x"') do ( if %%a leq !beforelines! echo %%b>>"%tmp%\l_2.x" if %%a geq !afterlines! echo %%b>>"%tmp%\l_2.x" ) endlocal move /y "%tmp%\l_2.x" %host% >nul del /q /f %tmp%\*.x set "msg=%string% successfully removed from host file )call ipconfig /flushdns >nulecho.echo %msg%timeout 2 /nobreak >nul | exitlimitations: the script does not handle empty newlines (carriage returns). they would be typed as the ECHO status in the new host file. all lines you want it to remove must be in sequence or all lines between the first and last occurrence of the SET "string" value will be removed. i'm sure there is others limitations, just be careful if you edit the script. test it on some random text file or so..
  9. back to sdx.os! new week with new ideas

    1. TRSyntax

      TRSyntax

      sa jeg, og 5 minutt etterpå fortsatte jeg med noe anna dritt :\

  10. needs a new cpu watercooler!! i blew my current one :o

  11. if you buy directly from logitechs stor a couple of times and get the vip pass you get up to 75% off any product when sending in your old products. to be correct they FIRST give you the discount then you get some return papers with your new cheap logicrap products. it's twice now i havn't sent them the used hid hardware and they havn't said a word :\ but i use 3-4 mouses and keybords a year.. (anger issues in front of computer) as to recomandations.. ALL my logitech mouses have had that same problem. the last one was the logitech anywhere mx mouse. now stationed at my desk where i hope some time will change it's mind i really like that mouse. now i've fallen back on one of my two logitech preformance mx mouses. that was my former favorite and it's the only one that keeps up (not going click crazy) i don't know about you but my logitech mouses have this thing where they loose the 'hook' of my clicks.. say i drag a window and it just desides to let go of it. if mark text or files it looses the original start point and starts off somwhere else. REALLY ANNOYING!! all of those mouses are soundly placed inside my wall across the room.. anyway that issue is setpoint related. i don't have the link for the ticket on logitech's support sites but you can search your way there.. i love and hate logitech, but i.m.o all the competition is either lacking in features or not ergonomic enough.. choosing the right mouse is like choosing the righ car.. you don't know you did the wrong choice before it starts leaking..
  12. hah! my 32-bit installer was corrupted :doh: i never thought of checking
  13. found a lot of treasures today :D

  14. nice! i.m.o that makes it much easier to add as a silent installer during windows setup especially if you use software like WinToolkit where there is a 'switch input box' for all of our installers yeah, i read that entry when i was trying to figure out the Wow64DisableWow64FsRedirection function. i haven't tried to add it to the inf though. windows should just add it to the dirids with an explanation. that would have saved me some time
  15. btw, the last issue was releated to some system restriction of windows known as 'file system redirection' not giving me access to syswow64 when trying to install drivers with 'rundll32 setupapi.dll,InstallHinfSection DefaultInstall' from my setup batch. Olof had already fixed this with his runwait.exe application, using the Wow64DisableWow64FsRedirection function, but i had no idea. i thought it only used the detached_process creation flag and the startf_useshowwindow startup info flag to hide the console window as i have seen lots of other small apps like his do. while trying to debug the install i didn't want any of those options activated of course and ended up having to learn of this 'file system redirection' by looking through the runwait.exe source. but now i know and everything installs as it should!! sorry for my very little knowlegde in c. i'm working on it!
  16. aaah, it's done! :P

  17. u picku materinu, i wanna learn serbian

  18. there is another one ? :w00t: i've always had my eyes on Advanced Bat to Exe Converter but then i would have needed a Distributor License to share my darling batches. the one you shared isn't quite so horsy it seems. some other tools there as well, it's a nice find!! thanks mooms
  19. ah i c. batch compiler. i could swear i saw a ahk script icon.. do you have a license for batch2exe? i've been wanting to buy one for some time. but i've just stucked with ahk myself. a little inconvenient some times as translation is impossible for some code seems lego has added your registry cleanup to his latest version nice!
  20. bonjour mooms. est WTCleanup.exe votre projet? pouvez-vous nous expliquer comment cela fonctionne en profondeur? parce qu'il ne fait rien quand il est exécuté à partir de mon dossier de téléchargements. how's that for google translate?
  21. trying to do what WinToolkitRunOnce.exe does

×
×
  • Create New...