Jump to content

bober

Members
  • Posts

    827
  • Joined

  • Last visited

Everything posted by bober

  1. well its not new code, its just snipped out for testing purpouses. also thx rud for those screen shots you posted earlier
  2. set name=winntbba set ext=dll set big=WINNTBBA set com=DL_ 1-if exist "i386\%big%.%com%" %xp% "i386\%big%.%com%" "%tmp%\%name%.%ext%" >nul 2-if exist "i386\%big%.%com%" Del "i386\%big%.%com%" >nul 3-if not exist "i386\%big%.%com%" set com=dll 4-if exist "i386\%big%.%com%" %cp% "i386\%big%.%com%" "%tmp%\%big%.%com%" >nul 5-if not exist "i386\%big%.%com%" goto winnt32a 6-%rh% %del% "%tmp%\%name%.%ext%", "%tmp%\%name%.%ext%", stringtable,, 7-%rh% %ao% "%tmp%\%name%.%ext%", "%tmp%\%name%.%ext%", "%res%\%name%.%ext%.res",,,&echo patching %name%.%ext% 8-%pe% -c %tmp%\%name%.%ext% >nul 9-%cp% /v /y "%tmp%\%name%.%ext%" "i386\%big%.%com%" >nul 1a-if WINNTBBA.DL_ is present extract it to i386\temp 2a-delete WINNTBBA.DL_ cause we only need the uncompressed version 3a-if WINNTBBA.DL_ dosent exist set com as dll to search for uncompressed version 4a-if WINNTBBA.dll exists copy it to i386\temp 5a-if WINNTBBA.dll dosent exist jump to next label 6a-del specific objects in winntbba.dll 7a-add resources over winntbba.dll 8a-pe checksum winntbba.dll 9a-copy back to i386 WINNTBBA.dll yes,the scripting is not optimal,some lines could have ben done in one instance.but when i edited the batch and decided to add certain lines to take care of files that may be present twice b oth in its compressed and uncompressed stated. it was just too crazy for me to remove some lines while adding others (theres what 6000 lines in the batch?),so i opted to just add lines.and yes some times the case dosent match,but it has no impact on the process. the way the winnt* file are patched is in case they are present twice or if either only the compressed version is present or vice versa.when i made the modification these 4 lables,i made sure to test and re-rest the posibilities,and each time the resulting file was an uncompressed winnt*.dll file with no compressed duplicate. i urge people to test as i have done in the past.so simply test the code concerning only these 4 files and see.pls test by putting both compressed and uncompressed file to the i386 dir, then test with only thoses files compressed and finaly test with only uncompressed files.i can asure you the outcome will always be 4 uncompressed files with no compressed duplicates: @echo off color 3A mode con cols=67 lines=23 title XPtsp script set rh=Programs\ResHacker set pe=Programs\PEChecksum set cab=Programs\makecab set xp=Programs\expand set res=Resources set tmp=temp set sptmp=spcabtmp set spcab=DRIVER.CAB set xtra=Extra set ao=-addoverwrite set del=-delete set cp=copy set mcextra=Extra\mce set homextra=Extra\home if not exist "%tmp%" md "%tmp%" :winntbbu set name=winntbbu set ext=dll set big=WINNTBBU set com=DL_ if exist "i386\%big%.%com%" %xp% "i386\%big%.%com%" "%tmp%\%name%.%ext%" >nul if exist "i386\%big%.%com%" Del "i386\%big%.%com%" >nul if not exist "i386\%big%.%com%" set com=dll if exist "i386\%big%.%com%" %cp% "i386\%big%.%com%" "%tmp%\%big%.%com%" >nul if not exist "i386\%big%.%com%" goto winntbba %rh% %del% "%tmp%\%name%.%ext%", "%tmp%\%name%.%ext%", stringtable,, %rh% %ao% "%tmp%\%name%.%ext%", "%tmp%\%name%.%ext%", "%res%\%name%.%ext%.res",,,&echo patching %name%.%ext% %pe% -c %tmp%\%name%.%ext% >nul %cp% /v /y "%tmp%\%name%.%ext%" "i386\%big%.%com%" >nul :winntbba set name=winntbba set ext=dll set big=WINNTBBA set com=DL_ if exist "i386\%big%.%com%" %xp% "i386\%big%.%com%" "%tmp%\%name%.%ext%" >nul if exist "i386\%big%.%com%" Del "i386\%big%.%com%" >nul if not exist "i386\%big%.%com%" set com=dll if exist "i386\%big%.%com%" %cp% "i386\%big%.%com%" "%tmp%\%big%.%com%" >nul if not exist "i386\%big%.%com%" goto winnt32a %rh% %del% "%tmp%\%name%.%ext%", "%tmp%\%name%.%ext%", stringtable,, %rh% %ao% "%tmp%\%name%.%ext%", "%tmp%\%name%.%ext%", "%res%\%name%.%ext%.res",,,&echo patching %name%.%ext% %pe% -c %tmp%\%name%.%ext% >nul %cp% /v /y "%tmp%\%name%.%ext%" "i386\%big%.%com%" >nul :winnt32a set name=winnt32a set ext=dll set big=WINNT32A set com=DL_ if exist "i386\%big%.%com%" %xp% "i386\%big%.%com%" "%tmp%\%name%.%ext%" >nul if exist "i386\%big%.%com%" Del "i386\%big%.%com%" >nul if not exist "i386\%big%.%com%" set com=dll if exist "i386\%big%.%com%" %cp% "i386\%big%.%com%" "%tmp%\%big%.%com%" >nul if not exist "i386\%big%.%com%" goto winnt32u %rh% %ao% "%tmp%\%name%.%ext%", "%tmp%\%name%.%ext%", "%res%\%name%.%ext%.res",,,&echo patching %name%.%ext% %pe% -c %tmp%\%name%.%ext% >nul %cp% /v /y "%tmp%\%name%.%ext%" "i386\%big%.%com%" >nul :winnt32u set name=winnt32u set ext=dll set big=WINNT32U set com=DL_ if exist "i386\%big%.%com%" %xp% "i386\%big%.%com%" "%tmp%\%name%.%ext%" >nul if exist "i386\%big%.%com%" Del "i386\%big%.%com%" >nul if not exist "i386\%big%.%com%" set com=dll if exist "i386\%big%.%com%" %cp% "i386\%big%.%com%" "%tmp%\%big%.%com%" >nul if not exist "i386\%big%.%com%" goto end %rh% %ao% "%tmp%\%name%.%ext%", "%tmp%\%name%.%ext%", "%res%\%name%.%ext%.res",,,&echo patching %name%.%ext% %pe% -c %tmp%\%name%.%ext% >nul %cp% /v /y "%tmp%\%name%.%ext%" "i386\%big%.%com%" >nul :end echo ull have to manualy delete the temp/working/prog/res dirs. echo looking in the temp dir if the files have ben copied over and echo modified is a good indication that the process is working, echo also compair the files in temp with the ones in i386 for reference. pause as stated a couple of posts back im getting more and more school work and will not be able to maintain, update, fix etc.. this project.
  3. and how do you integrate it to ure source?
  4. well this tool is to patch ure windows install source.so in order for the patch process to work you must dump the contents of a win xp disc and run the tool . yeah thats exactly what im gonna do, but i wonder what addon it is, and what cab archive the rest of the files are in,cause im sure there are more files not getting patched. well its kinda of a good annoyance as if the addon is ran along side an update pack,the modification wont be applied.ull have to keep manually removing the check. about the winn* files.its strange that they get deleted,i would have noticed.mine dont get deleted and i dont think the case should matter.ill change it but i still find it very odd.thx for the input. could you list the files removed is you can. @ RUD: can you show me what ie7 addon ure using.and how you integrate it to ure source.
  5. humm i thought i had fix this.will do 2nite
  6. all i have to say about n lite is its only good for integrating stuff period.
  7. yeah this is wanted, i purpously deleted the giberish and lies m$ is feeding while widnows is installing. lol thats what i thought, you have to understand that an installer running later in the windows process cannot be patched cause the files arent present in i386 when xptsp is patching.true addons overwrite files in the source so they are available and dont change later in the install process.so if you want ure ie7 to be patched plz use a true addon or unpack the ie7 installer and manualy patch them and rebuild the installer. also: there will be some work to do on ieframe.dll/ieframe.dll.mui seems ms has change the layout of the dialog,as everythign used to be centered but now after updating to the latest ie7 hotfixes and manualy patchign the resources the avi dl dialog is no longer centered.i will wait a while b4 updatign cause 1st,there are no updated ie7 true addons available and what good is it to include the fixed res files to patch a file a certain way when it is not available yet...so once the ie7 true addons are released ill fix it. after further investigation im not sure if ieframe.dll.mui is the culprit... seems they may ahve revereted back on using ie6's shdoclc.dll dialog for dls,but i have no idea this ism only speculation
  8. rud: "I'm using Polish ie7" r u using a silent install or a true addon?
  9. ah yes yes everything should be working fine.i even tested and formated last night and everything seem alright.the problem proxis is having is very strange.
  10. ok so can you manually extract xptsp files to ure root dir where i386 is and edit xptsp.bat.plz remove the "@echo off" should be 1st line. save it and run the batch.once you know the batch is interrupted please copy the lines where the batch has stopped at.also i really do recommend integrating the addon version alone . also is it possible that it is just taking way longer cause you have more files in drivers.cab than you had b4?
  11. spcplui is fixed i forgot to update lol,about wucltui.mui.res i know about this, a while back i said i was gonna remove it and i forgot to do so. about hmmapi.dll.mui.res to hmmapi.mui.res it also should be fixed when i update. thx for noticing. dougie: lol too bad there arent "sidetracks" incase of derailements. i had 2 hmmapi res files,now theres only one (hmmapi.dll.res) code adapted to patch hmmapi.dll and hmmapi.dll.mui depending on the case.(nrie7/onepeice)
  12. seems xptsp.inf created by the gui breaks the install.meanwhile that a fix is made you can try one of the batch scripts instead. thx man, will add. also: can any one also confirm that inetcpl.mui or inetcpl.cpl.mui get patched(onepeice or nr ie7 addons) is getting patched or not thx.
  13. well it is almost impossible that it dosent work ,there is a section in the batch that especially takes care of inetcpl: :nrie7inetcplmui set name=inetcpl set name1=cpl set ext=mui %rh% %ao% "NRIE7en\%name%.%name1%.%ext%", "NRIE7en\%name%.%name1%.%ext%", "%res%\%name%.%ext%.res",,,&echo patching %name%.%name1%.%ext% %pe% -c NRIE7en\%name%.%name1%.%ext% >nul no hurries.but thx.did you find a way to make icons faster?.. lol
  14. what ie7 addon r you using? and im prety sure dougie could easely add his drive space indicator.
  15. yes understood. but i do not know what file to edit.
  16. but it would be nice to find where the ballons are. "XPNETDG.EXE.RES is renamed to XPNETDIAG.EXE.RES so that the GUI can deal with it easier." if you want i can also change the the resourse name for update conveniance.but just to be sure were ont he same wave lenght: the cabbed file = XPNETDG.EXE and when uncabed = XPNETDIAG.EXE on an other note im having probs with my mobo, in sata ide more the board only support 4 out of 6 sata ports.so idealy i have to install win on the ports in AHCI mode instead of ide,but the damn drivers are screwed up. i have tried almost every combination and i just cant get the system to install the drivers.my board has an nforce 780a chipset. so if anyone has the same chipset and was successful to install win on sata in AHCi mode please tell me how they did it.(tried adding drivers via driver packs .net(added the drivers to the pack)tried simply via f6 floppy,still a no go.tried adding manualy to txtsetup.sif and adding them to i386 and $OEM$\etc,again a no go,but driver packs were present so the setup may have took the drivers from driver pack instead.)
  17. well i just changed a couple of typos and also added some lines to the nr ie7 addon.other than tweaking nothing much has ben done.as stated a couple of posts earlier, the "major" changes are: " also i fixed the problems mention by kaylar (thx) so ill be reuploading. i have also added to the nrie7 section :nrie7iexplorem (patching of iexplore.mui.res) and iexplore.exe.mui.res was renamed to iexplore.mui.res also plz note that dvdplay has ben moved to the sp* section and that XPNETDG.EX_ has a different internal name > xpnetdiag.exe "
  18. apparently im a moron and forgot that pp is the propram path and that infact the code should look like this(altho ure way is just as good): REG ADD %KEY%\987 /VE /D "running OEM info generator" /f REG ADD %KEY%\987 /V 1 /D %PP%\oemgen.exe" /f <<<< "oemgen.exe is missing from i386\svcpack\ " um no its not,its gets executed fine here,ive never had any problem and each "real" install i have done was modified by oemgen.exe. "Notice the lack of forward-slashes?" lol well it still worked but yeah it should have needed some but anyways thx mr smartepants for the comment. argh ... will fix. on an other note i might not be able to update in the next few weeks as i have a program to make in VB for school.so if any other bugs or typoes are found ill be able to fix it if they are found by the end of the weekend. dougie: yeah thats what i thought, the damn dialogs and strings will have to be manualy edited and be saved an a res file.my thoughts are thta the ptach process can be done as usual and depending on the lang selected the patched files could then ben ID patched afterwards and for the files that need translating a re patch could occure or it could be vice versa, it could be determined 1st,id lang patch the res files instead and include the dialog/string etc.. lang specific res file.
  19. hehe thx update time! edit i just noticed a miss match of spcplui.dll.res between the manual patcher ansd the addon version.the addon version has the proper file.it dosent really matter .
  20. heres a sample on how to batch change lang IDs; Restorator.exe -open access.cpl.res -setLangID 0x040C -noBackup -save -exit 0x040C is for french ids. restorator is used as it can apply the id on all the objects at the same time in a res file versus reshacker which we need to specify each object .(id have to investigate but maybe we could switch to restorator to do the patching, i dunno how the command line would differ) --rant-- :censored: btw, remind me to never ever include the glass toast in xptsp, its driving me nuts its just a whorthless piece of garbage.i had bad experiances with it a while back, and some one said it would be a cool addition to xptsp or soemthing so i reinstalled it and now i remember why i hated it so much. --rant over--
  21. umm well appart from the normal ID ing of each object of the res to the correct lang code there is only one issue. xpsp2res.dll.res has a dialog section which would need to be translated. but apaprt formt hat jsut changing the lang IDs of the said resoruces should do the trick. also i fixed the problems mention by kaylar (thx) so ill be reuploading. i have also added to the nrie7 section :nrie7iexplorem (patching of iexplore.mui.res) and iexplore.exe.mui.res was renamed to iexplore.mui.res also plz note that dvdplay has ben moved to the sp* section and that XPNETDG.EX_ has a different internal name > xpnetdiag.exe
  22. lol about the .backup,lol guess i repacked it to quick. ill have a look at the other files you mentioned that need editing.(will do this 2nite)
  23. updated: replaced some resources and fixed the patching of :nrie7inetcplmui and :inetcplmui in the batch.
×
×
  • Create New...