Mikka Posted April 9, 2006 Posted April 9, 2006 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 Posted April 9, 2006 Posted April 9, 2006 (edited) But HOW can the icon change also be applied please?I'm doing it like this:On Error Resume Next' Our variables hereDim 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.QuitSub 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.SaveEnd SubJust replace "\Packer" with nothing (i.e. delete it) or kompressorer or however compression progs are called in Norwegian.HTH Edited April 10, 2006 by Mikka
Scubar Posted April 9, 2006 Posted April 9, 2006 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 Posted April 9, 2006 Posted April 9, 2006 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 Posted April 11, 2006 Posted April 11, 2006 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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now