Jump to content

Winrar Themes Silent Install


sk8er_boi

Recommended Posts


Maybe i can make a vbscript to install. i will try :)

edit: here's a script. it works for me. write the full theme name.

don't change the names of downloaded themes. or it won't install.

paste this to a .vbs file.

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run app & "WinRAR_Smile_d_48x48.1_00.theme.rar"
WScript.Sleep 100
WshShell.SendKeys "{ENTER}"
WScript.Sleep 1000
WshShell.SendKeys "{ENTER}"

Edited by cihatkarli
Link to comment
Share on other sites

@cihatkarli

Please can you give more explanation on how your <.vbs> worke with SiMoNsAyS`s way

as SiMoNsAyS said i made a SFX Files of my installed themes with this comment

;The comment below contains SFX script commands

Path=%programfiles%\winRAR\themes
SavePath
Silent=1
Overwrite=1

then select them post-setup

and where i can put your <.vbs> in my UACD because i don`t understand it. Sorry

Any Help please

-------------

Sorry for Bad English

Link to comment
Share on other sites

For my vbs put the theme to same folder. but don't chage the theme file's name. because it's some kind of descriptor

and in this line

WshShell.Run app & "WinRAR_Smile_d_48x48.1_00.theme.rar"

put your theme's filename in the brackets.

Link to comment
Share on other sites

i usually repack WinRar with key and themes into one executable and for default theme i add this regkey. you can use name of your theme instead of smile

[HKEY_CURRENT_USER\Software\WinRAR\Interface\Themes]

"ShellExtBMP"="C:\\Program Files\\WinRAR\\Themes\\WinRAR_Smile_d_48x48\\RarSmall.bmp"

"ActivePath"="C:\\Program Files\\WinRAR\\Themes\\WinRAR_Smile_d_48x48"

Link to comment
Share on other sites

Here I revised the code a bit.

Set WshShell = WScript.CreateObject("WScript.Shell")
'put your theme path in the brackets
WshShell.Run app &
"%systemdrive%\Install\Applications\Winrar\WinRAR_Smile_d_48x48.1_00.theme.rar"
'if you have a slow pc you may need to increase this
WScript.Sleep 2000
WshShell.SendKeys "{ENTER}"
'this too
WScript.Sleep 1500
WshShell.SendKeys "{ENTER}"

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