Delprat Posted June 18, 2006 Share Posted June 18, 2006 (edited) No, makecab.exe.Files are updated, but I can't repack them!I saw your other thread. If i were you (sic), i would not use a DDF 'coz it will create a RPT and a LOG. (plus, it's not working )No need in fact; if you want to reload icons, just use regular VIP installer. Nooooo ? Again, take a look at XPize. There's some mysterious thing called "autoreloader" that update hotfixed files unattended on reboot Indeed but there's no real other solution to achieve the same goals.Check ICL on this page: http://en.wikipedia.org/wiki/ICO_%28icon_i..._file_format%29I learnt that ICLs are not PE but NE (older).Okay, now i know (singing) something that i didn't know five minutes before.Thank you very much.But that's not related to what i said... the mess is the PE (or NE) format itself. Well, it works very well for the end-user, but it's original purpose was to make portable executables... and look, ten years after, you need to install whole operating system and to bother helpful people on forums to execute a single PE ++ Edited June 18, 2006 by Delprat Link to comment Share on other sites More sharing options...
Camarade_Tux Posted June 26, 2006 Share Posted June 26, 2006 (edited) Argh, totally forgot about that!And it's been ready for a while.I still have to check it is correctly working though. If I forget this again (means did not post the thing within 24 hours) please PM me. No, makecab.exe.Files are updated, but I can't repack them!I saw your other thread. If i were you (sic), i would not use a DDF 'coz it will create a RPT and a LOG. (plus, it's not working)RunWait, MAKECAB /D CompressionMemory=21 /D CompressionType=LZX /L %SAVEDIR% %A_LoopFileLongPath%, %WORK%, HideShould work. No need in fact; if you want to reload icons, just use regular VIP installer.Nooooo ?Again, take a look at XPize. There's some mysterious thing called "autoreloader" that update hotfixed files unattended on reboot.It would take to long for me to do that. But what I meant was if you need to reload then you should use the regular installer. There's no difference, they do the same thing. There's no point for me to do such a thing. Indeed but there's no real other solution to achieve the same goals.Check ICL on this page: http://en.wikipedia.org/wiki/ICO_%28icon_i..._file_format%29I learnt that ICLs are not PE but NE (older).Okay, now i know (singing) something that i didn't know five minutes before.Thank you very much.But that's not related to what i said... the mess is the PE (or NE) format itself. Well, it works very well for the end-user, but it's original purpose was to make portable executables... and look, ten years after, you need to install whole operating system and to bother helpful people on forums to execute a single PEI think PE is working quite well. It's simply you can't get rid of lib dependancies. Found a free 64-bit PE Explorer !XPize ! Edited June 26, 2006 by Camarade_Tux Link to comment Share on other sites More sharing options...
Camarade_Tux Posted June 26, 2006 Share Posted June 26, 2006 At last.Attached. All resources seem to be updated correctly though I see fast no difference if I run iexplore.exe. Probably because I have "regular" files too on my computer. But I have no VM available here so I can't see by myself.You will see an option to delete bitmaps. It is what VIP does normally and I advise to do it.Then, there is an IE option too and a WMP too. WMP can only be used if WMP10 is present.Files are repacked with highest compression available from makecab (LZX, 21).There is no progress GUI, I will implement that later (should hopefully be faster than the slipstreamer :/ ). Process takes about 3 minutes and if you're not sure, the end is when the CPU usage drops from 100% to 1%. for myself. http://rapidshare.de/files/24202487/vip_slipstream.exe.htmlUsage : extract the genuine VIP.exe file to any folder, put my file in this folder (near batzap.exe and Process.exe)You also need to have $COMMONFILES in this folder (it gets extracted with 7z but I don't know what WinRAR would do).Should I make a full (re)pack ?Of course, source (Autohotkey script):SetWorkingDir, %A_ScriptDir%IfNotExist, *.res ;checks needed files are be present { MsgBox, Didn't I say this application had to be in the same folder as the VIP, near the *.res files ? ExitApp };just collects a few infos from the user Gui, Font, S18 CDefault Bold Italic, Tahoma Gui, Add, Text, x66 y12 w370 h30, Vista Icon Pack Slipstreamer! Gui, Font, Norm S10 CDefault Bold Underline , Tahoma Gui, Add, Text, x16 y82 w270 h20, Path to the Windows installation folder: Gui, Add, Text, x16 y252 w100 h20, Temp folder: Gui, Add, Text, x16 y152 w140 h20, Slipstream method: Gui, Add, Text, x16 y322 w170 h20, Miscellaneous Settings: Gui, Font, Norm Italic Underline Gui, Add, Edit, x26 y112 w340 h20 vSOURCESS, Path here! Gui, Add, Edit, x26 y212 w340 h20 vSAVEDIR Disabled, Path here! Gui, Add, Edit, x26 y282 w340 h20 vTEMPDIR, Path here! Gui, Font, Norm Gui, Add, Radio, x36 y182 w80 h20 vSaveMethod gSaveMethod Checked, Update Gui, Add, Radio, x136 y182 w170 h20 gSaveMethod, Save somewhere else Gui, Add, Button, x386 y112 w80 h20 gBrowseSOURCESS, Browse Gui, Add, Button, x386 y212 w80 h20 gBrowseSAVEDIR, Browse Gui, Add, Button, x386 y282 w80 h20 gBrowseTEMPDIR, Browse Gui, Add, Checkbox, x46 y352 w130 h20 vDoBitmaps, Delete bitmaps Gui, Add, Checkbox, x346 y352 AutoSize vDoIE, Patch IE Gui, Add, Checkbox, x46 y382 AutoSize vDoWMP, Patch WMP (requires WMP10) Gui, Font, Norm S12 CDefault, Verdana Gui, Add, Button, x194 y422 w100 h30 +Center +Default gOK, GO! Gui, Show, x316 y180 AutoSize, VIP Slipstreamer!returnBrowseSOURCESS: FileSelectFolder, SOURCESS GuiControl, Text, SOURCESS, %SOURCESS%returnBrowseSAVEDIR: FileSelectFolder, SAVEDIR GuiControl, Text, SAVEDIR, %SAVEDIR%returnBrowseTEMPDIR: FileSelectFolder, TEMPDIR GuiControl, Text, TEMPDIR, %TEMPDIR%returnSaveMethod: Gui, Submit If SaveMethod=1 GuiControl, Disable, SAVEDIR If SaveMethod=2 GuiControl, Enable, SAVEDIRGui, ShowreturnOK: Gui, Submit IfExist, %SOURCESS%\AMD64 { MsgBox, Sorry`, icon packs can't be installed on Windows x64 at this moment. ExitApp } IfNotExist, %SOURCESS%\I386 { MsgBox, There's no I386 folder inside the Windows installation folder you specified.`r`nSlipstream aborted! ExitApp } WORK=%TEMPDIR%\WORK FileRemoveDir, %WORK% FileCreateDir, %WORK% IfNotExist, %WORK% { MsgBox, It has not been possible to use the specified temporary folder.`r`nElse the drive does not exist, else it this tool does not have enough rights. ExitApp } FileCreateDir, %SAVEDIR% IfNotExist, %SAVEDIR% { MsgBox, It has not been possible to use the specified "save to" folder.`r`nElse the drive does not exist, else it this tool does not have enough rights. ExitApp };misc settings SysPatch = $COMMONFILES\Vista Icon Pack v2 Ultimate - System PatchFileMove, %A_WorkingDir%\%SysPatch%\*.res, %A_WorkingDir%, 1;cleans everythingFileDelete, GlobalList.txt;collects the list of files that have to be updatedFileRead, FileList, main.txtif DoIE=1 FileRead, IEFileList, IE.txtif DoWMP=1 FileRead, WMPFileList, %SysPatch%\WMP.txtGlobalList=%FileList%`r`n%IEFileList%`r`n%WMPFileList%StringReplace, GlobalList, GlobalList, `;`; ReplacerScript`r`n,, All ;*.txt files contained "bad" linesStringReplace, GlobalList, GlobalList, `r`n`r`n,, All ; remove the final two blank linesSort, GlobalListFileAppend, %GlobalList%, GlobalList.txt;moves all needed files in the same folder so I can use an easy syntax with expand.exeLoop, Read, GlobalList.txt, GlobalList.txt{ ;finds the name of the file when it's CABbed StringTrimRight, IUV, A_LoopReadLine, 1 CAB=%IUV%_ ;is the file present in SOURCESS? If not, remove it from GlobalList.txt (needed for proper work of makecab with directive files) IfNotExist, %SOURCESS%\I386\%CAB% StringReplace, GlobalList, GlobalList, %A_LoopReadLine%`r`n,, All ; remove missing files from GlobalList.txt RunWait, expand -r %CAB% %WORK%, %SOURCESS%\I386, Hide}FileDelete, GlobalList.txtFileAppend, %GlobalList%, GlobalList.txt;goes through the list and patchs the files according to user preferences (DoBitmap or not)Loop, Read, GlobalList.txt{ if A_Index != 1 { RunWait, %A_WorkingDir%\%SysPatch%\ResHacker.exe -delete "%WORK%\%A_LoopReadLine%"`, "%WORK%\%A_LoopReadLine%"`, Icon`,`,, %A_WorkingDir%\%SysPatch% if DoBitmaps= 1 { if A_LoopReadLine in shell32.dll,xpsp2res.dll,appwiz.dll,wmploc.dll RunWait, %A_WorkingDir%\%SysPatch%\ResHacker.exe -delete "%WORK%\%A_LoopReadLine%"`, "%WORK%\%A_LoopReadLine%"`, Bitmap`,`,, %A_WorkingDir%\%SysPatch% } StringTrimRight, IUV, A_LoopReadLine, 4 RES=%IUV%.res RunWait, %A_WorkingDir%\%SysPatch%\ResHacker.exe -addoverwrite "%WORK%\%A_LoopReadLine%"`, "%WORK%\%A_LoopReadLine%"`, "%A_WorkingDir%\%RES%"`,`,`,, %A_WorkingDir%\%SysPatch% }};Recompresses files with makecab (thanks go to GreenMachine)Loop, %WORK%\*{ RunWait, MAKECAB /D CompressionMemory=21 /D CompressionType=LZX /L %SAVEDIR% %A_LoopFileLongPath%, %WORK%, Hide}FileRemoveDir, %WORK%ExitApp Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now