jadtunrau Posted May 24, 2010 Share Posted May 24, 2010 I just learned how to use Winrar to pack files as an SFX to create a silent installer. However, I would like the installer to move a file or two during installation. In other words I would like to have example.dll to be overwritten with example.dll from another folder. I couldn't figure out how to do this with Winrar. Do I need to use something different? Link to comment Share on other sites More sharing options...
Raoul90 Posted May 24, 2010 Share Posted May 24, 2010 Right click .dll, add to archive, click make sfx archive, go to comment tab, add this:;SFXPath=%systemdrive%\windowsSavePathSilent=1Overwrite=1Change path to the folder where the .dll you want to override is located. Link to comment Share on other sites More sharing options...
jadtunrau Posted May 25, 2010 Author Share Posted May 25, 2010 Right click .dll, add to archive, click make sfx archive, go to comment tab, add this:;SFXPath=%systemdrive%\windowsSavePathSilent=1Overwrite=1Change path to the folder where the .dll you want to override is located.Ok, I understand. But what if I want winrar to run an installer, and then overwrite a file in the program file directory. For example, I want the sfx to run example.exe and then after installation to copy/overwrite example.dll to C:\Program Files\Example Program. Link to comment Share on other sites More sharing options...
Geej Posted May 29, 2010 Share Posted May 29, 2010 Various indirect options are available with this kind of installtion via WINRAR1) use 2 winrar exe. 1 for setup, 2nd for override only, like Raoul90 comment example2) Use a batch file to control/install. But you will get console window open during installation. I generally use hstart.exe to hide the console to achieve fully silent effect3) Use Autoit with WinRARThe above can be achieve using an alternative good tool (it's a console tool):7z SFX Modified Module and ToolsHope that helps... Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now