Jump to content

Recommended Posts


Posted (edited)

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:

Path=%programfiles%\WinRAR
SavePath
Silent=1
Overwrite=1

Then I execute the reg file with the following content:

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.

Edited by Dynaletik
Posted (edited)

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

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"

Edited by BoardBabe
Posted
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. :}

Posted

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

  • 4 weeks later...
Posted

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:

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.

Posted

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:

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.

in windows this will work , but not unattended

Posted

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

Posted

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.

Posted

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.

  • 2 months later...
Posted

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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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