Jump to content

[REQUEST] Vista Icon Pack 2.1


SonWolve

Recommended Posts

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 :P)
No need in fact; if you want to reload icons, just use regular VIP installer. :P

Nooooo ? :rolleyes:

Again, take a look at XPize. There's some mysterious thing called "autoreloader" that update hotfixed files unattended on reboot :thumbup

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%29

I 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 :P

++

Edited by Delprat
Link to comment
Share on other sites


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. :rolleyes:

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%, Hide

Should work. :P

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. :rolleyes:

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%29

I 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

I think PE is working quite well. It's simply you can't get rid of lib dependancies.

:w00t: Found a free 64-bit PE Explorer !

XPize !

Edited by Camarade_Tux
Link to comment
Share on other sites

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%.

:realmad: for myself. :blushing:

http://rapidshare.de/files/24202487/vip_slipstream.exe.html

Usage : 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!
return

BrowseSOURCESS:
FileSelectFolder, SOURCESS
GuiControl, Text, SOURCESS, %SOURCESS%
return

BrowseSAVEDIR:
FileSelectFolder, SAVEDIR
GuiControl, Text, SAVEDIR, %SAVEDIR%
return

BrowseTEMPDIR:
FileSelectFolder, TEMPDIR
GuiControl, Text, TEMPDIR, %TEMPDIR%
return

SaveMethod:
Gui, Submit
If SaveMethod=1
GuiControl, Disable, SAVEDIR
If SaveMethod=2
GuiControl, Enable, SAVEDIR
Gui, Show
return


OK:
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 Patch
FileMove, %A_WorkingDir%\%SysPatch%\*.res, %A_WorkingDir%, 1

;cleans everything
FileDelete, GlobalList.txt

;collects the list of files that have to be updated
FileRead, FileList, main.txt
if DoIE=1
FileRead, IEFileList, IE.txt
if DoWMP=1
FileRead, WMPFileList, %SysPatch%\WMP.txt
GlobalList=%FileList%`r`n%IEFileList%`r`n%WMPFileList%
StringReplace, GlobalList, GlobalList, `;`; ReplacerScript`r`n,, All ;*.txt files contained "bad" lines
StringReplace, GlobalList, GlobalList, `r`n`r`n,, All ; remove the final two blank lines
Sort, GlobalList
FileAppend, %GlobalList%, GlobalList.txt

;moves all needed files in the same folder so I can use an easy syntax with expand.exe
Loop, 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.txt
FileAppend, %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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...