Help - Search - Members - Calendar
Full Version: WinRAR 3.51 theme
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
BoardBabe
How can it be done?
Dynaletik
I made an WinRAR sfx archive that contains the "Themes" folder (located in %programfiles%\WinRAR) and extracts it to %programfiles%\WinRAR when its executed.
SFX comment is the following:
CODE
Path=%programfiles%\WinRAR
SavePath
Silent=1
Overwrite=1


Then I execute the reg file with the following content:
CODE
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\WinRAR\Interface\Themes]
"ShellExtBMP"="C:\\Programme\\WinRAR\\Themes\\WinRAR_XP_32x32\\RarSmall.bmp"
"ActivePath"="C:\\Programme\\WinRAR\\Themes\\WinRAR_XP_32x32"


Once you have WinRAR installed with theme you can grab these keys. These are the keys for XPero's WinRAR Theme.
glent
Yes thats how i do it newwink.gif
BoardBabe
I found that out too, but check it out! Im guessing your WinRAR shortcut (start-menu + recent programs) is still the old WinRAR icon...

If you manually change theme even that Icon (shortcut to winrar) changes, I want that to change also....




PS, here is the reg entries I have so far

CODE
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\WinRAR\Interface\Themes]
"ShellExtBMP"="C:\\Programfiler\\WinRAR\\Themes\\WinRAR_XP_48x48\\RarSmall.bmp"
"ActivePath"="C:\\Programfiler\\WinRAR\\Themes\\WinRAR_XP_48x48"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WinRAR\DefaultIcon]
@="C:\\Programfiler\\WinRAR\\Themes\\WinRAR_XP_48x48\\RAR.ico"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WinRAR.REV\DefaultIcon]
@="C:\\Programfiler\\WinRAR\\Themes\\WinRAR_XP_48x48\\REV.ico"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WinRAR.ZIP\DefaultIcon]
@="C:\\Programfiler\\WinRAR\\Themes\\WinRAR_XP_48x48\\RAR.ico"

[HKEY_CLASSES_ROOT\WinRAR\DefaultIcon]
@="C:\\Programfiler\\WinRAR\\Themes\\WinRAR_XP_48x48\\RAR.ico"

[HKEY_CLASSES_ROOT\WinRAR.REV\DefaultIcon]
@="C:\\Programfiler\\WinRAR\\Themes\\WinRAR_XP_48x48\\REV.ico"

[HKEY_CLASSES_ROOT\WinRAR.ZIP\DefaultIcon]
@="C:\\Programfiler\\WinRAR\\Themes\\WinRAR_XP_48x48\\RAR.ico"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WinRAR archiver]
"DisplayIcon"="C:\\Programfiler\\WinRAR\\Themes\\WinRAR_XP_48x48\\Setup.ico"
Dynaletik
QUOTE (BoardBabe @ Oct 21 2005, 11:25 AM) *
I found that out too, but check it out! Im guessing your WinRAR shortcut (start-menu + recent programs) is still the old WinRAR icon...

If you manually change theme even that Icon (shortcut to winrar) changes, I want that to change also....


Yes, you are right. I never thought about that, but it isn't that important for me. confused.gif
BoardBabe
Yep.

But HOW can the icon change also be applied please?
Shark007
Use a resource hacker to change the icon in the
1st position within the main executable file before
packaging it.

shark.
BoardBabe
Hmmm, well I don't think that's the proper way to do it. (The same way as it's done wen you manually change theme). Because its not the .exe that changes icon, just the .lnk. So im guessing some reg key?

But I haven't successfully found a reg key using regshot or any other method, for that particular "change".
headroom
[quote name='Dynaletik' date='Oct 21 2005, 07:18 AM' post='407992']
I made an WinRAR sfx archive that contains the "Themes" folder (located in %programfiles%\WinRAR) and extracts it to %programfiles%\WinRAR when its executed.
SFX comment is the following:
CODE
Path=%programfiles%\WinRAR
SavePath
Silent=1
Overwrite=1


Don't work for me.
I change to:

Path=c:\programmi\WinRAR
SavePath
Silent=1
Overwrite=1

Now work.
muiz
[quote name='headroom' date='Nov 17 2005, 10:33 AM' post='421644']
[quote name='Dynaletik' date='Oct 21 2005, 07:18 AM' post='407992']
I made an WinRAR sfx archive that contains the "Themes" folder (located in %programfiles%\WinRAR) and extracts it to %programfiles%\WinRAR when its executed.
SFX comment is the following:
CODE
Path=%programfiles%\WinRAR
SavePath
Silent=1
Overwrite=1


Don't work for me.
I change to:

Path=c:\programmi\WinRAR
SavePath
Silent=1
Overwrite=1

Now work.
[/quote]
in windows this will work , but not unattended
oioldman
having a quick look, you'll notice the shortcut can have a different icon, so right click | Properties | Change Icon
Notice your location, it is in the theme folder
It may be that this needs to be updated in your sfx, or reg key
sk8er_boi
CODE
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run app & "%Cdrom%\Applications\Winrar\WinRAR_Smile_d_48x48.1_00.theme.rar"
WScript.Sleep 2000
WshShell.SendKeys "{ENTER}"
WScript.Sleep 1500
WshShell.SendKeys "{ENTER}"


i'm using this vbscript.

just change the theme path and click it! But u must use original theme zip file.
fly2279
You could also run a batch file and create a new shortcut to winrar in your start menu. To do that you can use xxmklink, you can search google for it to get the exe and a list of commands. With this you can specify which icon is used for the shortcut.
owikh84
any idea on how to create silent installer for WinRAR 3.51 with registration info? step by step please. i'm a newbie... thx in advanced.
P/S: if can please post also a sample of ur creation. thx.
owikh84
any idea on how to create silent installer for WinRAR 3.51 using WinRAR?
Mikka
QUOTE (owikh84 @ Feb 9 2006, 10:51 AM) *
any idea on how to create silent installer for WinRAR 3.51 using WinRAR?

Do you happen to understand German?
If so you could make use of this tutorial.
Mikka
QUOTE (BoardBabe @ Oct 21 2005, 11:14 PM) *
But HOW can the icon change also be applied please?

I'm doing it like this:
CODE
On Error Resume Next

' Our variables here
Dim fs  : set fs = WScript.CreateObject("Scripting.FilesystemObject")
Dim WSH : set WSH= WScript.CreateObject("WScript.Shell")
Dim AUProgs: AUProgs= WSH.SpecialFolders("AllUsersPrograms")

' Create shortcut within %ProgramFiles%\Packer\WinRAR (existing folder)
LinkIt AUProgs & "\Packer\WinRAR 3.51.lnk", "", "", _
   "%ProgramFiles%\Packer\WinRAR\Themes\WinRAR_Gorilla_32x32\RAR.ico,0", _
   "%ProgramFiles%\Packer\WinRAR\WinRAR.exe", ""
WScript.Quit

Sub LinkIt(lnkObj, strArgs, strDscr, strIcon, strProg, strWDir)
   Dim oLnk : set oLnk = WSH.CreateShortcut(lnkObj)
     oLnk.Arguments   = strArgs
     oLnk.Description = strDscr
     oLnk.IconLocation= strIcon
     oLnk.TargetPath  = strProg
     oLnk.WorkingDirectory= strWDir
   oLnk.Save
End Sub

Just replace "\Packer" with nothing (i.e. delete it) or kompressorer or however compression progs are called in Norwegian.

HTH
Scubar
i do mine the old fashioned 3.42 way and hex edit the .exe to use 48x48 icons and then i resource hack and replace the default ones with my own. then i just repackage the sfx installer and its all done.
mickmack
i just opened original WinRar installation, included the key, themes and run it with /S . works perfect. normally you can't edit original WinRar installation file, but with patch you can.
muiz
CODE
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\WinRAR\Interface\Themes]
"ShellExtBMP"="C:\\Program Files\\WinRAR\\Themes\\WinRAR_Jr_48x48\\RarSmall.bmp"
"ActivePath"="C:\\Program Files\\WinRAR\\Themes\\WinRAR_Jr_48x48"


I just use a reg file to do this.




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.