Jump to content

alfreire

Members
  • Posts

    314
  • Joined

  • Last visited

  • Days Won

    9

Posts posted by alfreire

  1. zbDzmoL.jpg

    With 7z-sfx I always use -y switch to silent mode install... I see that /y switch work too... X-D

    Tried with 7z-sfx x64 module...? other option is install .Net Framework to image and capture it, I use that mode... I'm not expert, only try give any idea...
    Regards... ;-)

  2. Lego, about the above mistake, please also test ricktendo's popular .net 4.5.1 installer - I ALWAYS get errors for x64 builds with it, when running it with the usual silent switch /y 

     

    On x86 build everything is always ok. Maybe it has something to do with the latest .7z SFX, that ricktendo started to use some time ago (~then the errors started, and not only with Win Toolkit's First Logon Installer).

    Test to split installer and change sfx module... If you run the installer manually, it works fine...?

    Regards... ;-)

     

    p.d.: correct swith is -y not /y

  3. @alfreire,  Rick currently has some computer issues, so will probably be unable to update any of his apps or packs until next month when he is expecting the replacement part he needs to arrive from China.  Thanks in advance for your patience.

     

    Cheers and Regards

    Thanks for the warning, mate... I hope you can fix it soon...

    Regards... ;-)

  4. Works for me in Win7 x86 & x64 SP1 whith this config: (tested in Vmware)

    SetEnvironment="Path=%programfiles%\\WinRAR"RunProgram="x86:wrar500es.exe /S"RunProgram="x64:winrar-x64-500es.exe /S"RunProgram="hidcon:cmd /c copy rarreg.key %Path% /y"RunProgram="hidcon:xcopy %%T\\Temas %appdata% /y /e /i /c /h"RunProgram="REGEDIT /S Themdef.reg"

    In x64 %programfiles% variable = C:\Program Files => %Path% = C\:Program Files\WinRAR
     
    At least with this sfx version:
    9N9FLui.jpg
     
    Regards... ;-)

     

  5.  

     

    - You should add \" around appdata and ProgramFiles & ProgramW6432 because the full paths contains spaces)

     

    Isn't necessary when we use variable value... test, works perfect...

     

    While that might be true, I haven't verified it in all circumstances, I personally agree with mooms and would choose to err on the side of caution and include the \" , as long as including them does not cause a problem. I guess I've been burned too many times by apps that "should" handle embedded spaces correctly, but sometimes don't for some reason.

    Also can use: SetEnvironment="Path=%programfiles%\\WinRAR"

    But I don't see a problem with this method, AFAIK, but I haven't tried it that way myself. :) Neat approach!

    Cheers and Regards

     

    Thanks & regards... ;-)

  6. - You should add \" around appdata and ProgramFiles & ProgramW6432 because the full paths contains spaces)

     

    Isn't necessary when we use variable value... test, works perfect... Also can use: SetEnvironment="Path=%programfiles%\\WinRAR"

    SetEnvironment="Path=%programfiles%\\WinRAR"RunProgram="WinRAR500es_%%P.exe /S"RunProgram="hidcon:cmd /c copy rarreg.key %Path% /y"RunProgram="hidcon:xcopy %%T\\Temas %appdata% /y /e /i /c /h"RunProgram="REGEDIT /S Themdef.reg"

    Regards... ;-)

  7. Hi, friend... with your help and ideas, I updated and simplified my 7z-sfx config to:

    RunProgram="x86:wrar500es.exe /S"RunProgram="x64:winrar-x64-500es.exe /S"RunProgram="hidcon:x86:xcopy rarreg.key %programfiles%\\WinRAR /y /e /i /c /h"RunProgram="hidcon:x64:xcopy rarreg.key %programW6432%\\WinRAR /y /e /i /c /h"RunProgram="hidcon:xcopy %%T\\Temas %appdata% /y /e /i /c /h"RunProgram="REGEDIT /S Themdef.reg"

    Thanks and regards... ;-)

     

    p.d.: Also can rename WinRAR installers to WinRAR500es_x86.exe & WinRAR500es_x64.exe and simplify little more:

    RunProgram="WinRAR500es_%%P.exe /S"RunProgram="hidcon:x86:xcopy rarreg.key %programfiles%\\WinRAR /y /e /i /c /h"RunProgram="hidcon:x64:xcopy rarreg.key %programW6432%\\WinRAR /y /e /i /c /h"RunProgram="hidcon:xcopy %%T\\Temas %appdata% /y /e /i /c /h"RunProgram="REGEDIT /S Themdef.reg"
  8. That's already done by the original installer if you don't extract it (or if you recreate it like Onepiece explained).

     

    In your install scenario the uninstall.exe /clean command should be run before copying WinRAR folder in the program files (you can run it from the temp sfx folder).

    Thanks again...

    Regards... ;-)

  9.  

    That's not true. Try my maker and you'll see.

     

    Yes, you are right... I don´t remember why choose this sfx mode, but I remember some problem in X64 mode... works anyway...

    Thanks and regards... ;-)

     

    p.d.: I think I remember, I wanted to run a cleanup of any previous version before installing the new...

    SFX commands: PresetupPresetup=<program>SFX will try to execute <program> before starting extraction. The destination folder is set as the current before executing <program>. You may use this command, for example, to remove a previous version of program, when installing a new version over the old one. If a program name contains spaces, it must be enclosed in quotes.ExamplePresetup=uninstall.exe /clean
  10.  

    Hi alfreire, that's similar to the OnePiece method he posted above, but with 7zip sfx instead of winrar sfx

     

    You can achieve the same without extracting WinRAR setups with this much simpler config file:

    (Install is silent, all files are in the root of the 7zip archive except themes who are in the Temas subfolder)

    Thanks... I know that, but the problem is that WinRAR x64 is installed in %programfiles(86)% that way...

    Regards... ;-)

  11. Hi... I created a WinRAR AIO made with 7z-sfx, you need three folders:

     

    X86 (All x86 files uncompressed + rarreg.key + Themdef.reg inside)

    X64 (All x64 files uncompressed + rarreg.key + Themdef.reg inside)

    Temas (your favorite Themes)

     

    Sfx:

    ;!@Install@!UTF-8!SetEnvironment="Name=WinRAR"SetEnvironment="Vers=v5.00"Title="%Name% %Vers% x86/x64 esp Silent..."BeginPrompt="    Creado por alfreire¿Quieres instalar %Name% %Vers%...?"ExtractDialogText="%Name% %Vers% x86/x64 español"FinishMessage="Instalación finalizada correctamente... ;-)"GUIFlags="2+4+8+16+32+2048"MiscFlags="4"ExtractTitle="Extrayendo archivos..."ExtractCancelText="Cancelar la instalación"RunProgram="hidcon:cmd /c xcopy \"%%T\\Temas\" \"%appdata%\" /y /e /i /c /h"RunProgram="hidcon:x86:cmd /c xcopy \"%%T\\x86\" \"%programfiles%\\WinRAR\" /y /e /i /c /h"RunProgram="x86:\"%programfiles%\\WinRAR\\Uninstall.exe\" /clean"RunProgram="x86:\"%programfiles%\\WinRAR\\Uninstall.exe\" /setup /s"RunProgram="x86:REGEDIT /S \"%programfiles%\\WinRAR\\Themdef.reg\""RunProgram="hidcon:x64:cmd /c xcopy \"%%T\\x64\" \"%programW6432%\\WinRAR\" /y /e /i /c /h"RunProgram="x64:\"%programW6432%\\WinRAR\\Uninstall.exe\" /clean"RunProgram="x64:\"%programW6432%\\WinRAR\\Uninstall.exe\" /setup /s"RunProgram="x64:REGEDIT /S \"%programW6432%\\WinRAR\\Themdef.reg\"";!@InstallEnd@!

    Themdef.reg:

    [HKEY_CURRENT_USER\Software\WinRAR\Interface\Themes]"Activepath"="sscom_winrar_48x"[HKEY_CURRENT_USER\Software\WinRAR\Profiles\0]"Name"="Perfil predeterminado""Default"=dword:00000001"ImmExec"=dword:00000000"ExclNames"="""StoreNames"="""UseRAR"=dword:00000001"SFXModule"="""SFXIcon"="""SFXLogo"="""SFXElevate"=dword:00000000"CmtFile"="""CmtDataWide"=hex:00,00"VolumeSize"="0""VolSizeMod"=dword:00000000"VolPause"=dword:00000000"OldVolNames"=dword:00000000"RecVolNumber"=dword:00000000"Update"=dword:00000000"Fresh"=dword:00000000"SyncFiles"=dword:00000000"Overwrite"=dword:00000000"Move"=dword:00000000"ArcRecBin"=dword:00000000"ArcWipe"=dword:00000000"WipeIfPassword"=dword:00000000"Solid"=dword:00000000"AV"=dword:00000000"Test"=dword:00000000"Recovery"=dword:00000000"EraseDest"=dword:00000000"AddArcOnly"=dword:00000000"ClearArc"=dword:00000000"Lock"=dword:00000000"Method"=dword:00000001"DictSizeLZ"=dword:00400000"Background"=dword:00000000"WaitForOther"=dword:00000000"Shutdown"=dword:00000000"PasswordWide"=hex:49,4a"EncryptHeaders"=dword:00000000"OpenShared"=dword:00000000"ProcessOwners"=dword:00000000"SaveStreams"=dword:00000000"GenerateArcName"=dword:00000000"VersionControl"=dword:00000000"GenerateMask"="yyyymmddhhnnss""FileTimeMode"=dword:00000000"FileDays"=dword:00000000"FileHours"=dword:00000000"FileMinutes"=dword:00000000"FileTimeBefore"=dword:88000000"FileTimeAfter"=dword:88000000"ArcTimeOriginal"=dword:00000000"ArcTimeLatest"=dword:00000000"mtime"=dword:00000004"ctime"=dword:00000000"atime"=dword:00000000"PathsAbs"=dword:00000000"PathsNone"=dword:00000000"PathsAbsDrive"=dword:00000000"SeparateArc"=dword:00000000"EmailArcTo"="""PackDetails"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00  [HKEY_CURRENT_USER\Software\WinRAR\Viewer]"Type"=dword:00000002"DosCharSet"=dword:00000000"ReuseWindow"=dword:00000000"Wrap"=dword:00000001"ViewerUnpackAll"="*.exe *.msi *.htm *.html""ViewerIgnoreModifications"="""ExternalViewer"="

    Need "WinRAR_Silent.exe -y" to full silent install...

     

    Thanks and regards... ;-)

     

    p.d.: I apologize if my post is not appropriate...


  12. I have tested the cab integration, it works with WinToolkit 1.4.1.27.
    Just be careful with the order of the integration, to avoid problems with prerequisites, IE11 should be integrated at the end, then eventually his additional packs.
     
     
    The direct integration of the exe will fail however, because at this day WinToolkit do not recognize IE11 setup, (it expect IE9/10 setup so it need an update).

    Thanks, mooms... One question, what are prerequisites for IE11...?

    Regards... ;-)

×
×
  • Create New...