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?
Page 1 of 1
Using Winrar for silent install
#2
Posted 24 May 2010 - 05:24 PM
Right click .dll, add to archive, click make sfx archive, go to comment tab, add this:
Change path to the folder where the .dll you want to override is located.
;SFX Path=%systemdrive%\windows SavePath Silent=1 Overwrite=1
Change path to the folder where the .dll you want to override is located.
#3
Posted 25 May 2010 - 08:28 AM
Raoul90, on 24 May 2010 - 05:24 PM, said:
Right click .dll, add to archive, click make sfx archive, go to comment tab, add this:
Change path to the folder where the .dll you want to override is located.
;SFX Path=%systemdrive%\windows SavePath Silent=1 Overwrite=1
Change 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.
#4
Posted 29 May 2010 - 02:01 AM
Various indirect options are available with this kind of installtion via WINRAR
1) use 2 winrar exe. 1 for setup, 2nd for override only, like Raoul90 comment example
2) 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 effect
3) Use Autoit with WinRAR
The above can be achieve using an alternative good tool (it's a console tool):
7z SFX Modified Module and Tools
Hope that helps...
1) use 2 winrar exe. 1 for setup, 2nd for override only, like Raoul90 comment example
2) 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 effect
3) Use Autoit with WinRAR
The above can be achieve using an alternative good tool (it's a console tool):
7z SFX Modified Module and Tools
Hope that helps...
- ← how to create silent install of adobe pagemaker 7?
- Application Installs
- How to convert Ghost Images →
Share this topic:
Page 1 of 1



Help
Back to top









