MSFN Forum: Using Winrar for silent install - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Using Winrar for silent install Rate Topic: -----

#1 User is offline   jadtunrau 

  • Junior
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 12-January 10

Posted 24 May 2010 - 02:42 PM

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?


#2 User is offline   Raoul90 

  • Member
  • PipPip
  • Group: Members
  • Posts: 282
  • Joined: 05-February 08

Posted 24 May 2010 - 05:24 PM

Right click .dll, add to archive, click make sfx archive, go to comment tab, add this:

;SFX

Path=%systemdrive%\windows
SavePath
Silent=1
Overwrite=1



Change path to the folder where the .dll you want to override is located.

#3 User is offline   jadtunrau 

  • Junior
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 12-January 10

Posted 25 May 2010 - 08:28 AM

View PostRaoul90, on 24 May 2010 - 05:24 PM, said:

Right click .dll, add to archive, click make sfx archive, go to comment tab, add this:

;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 User is offline   Geej 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 547
  • Joined: 01-January 08
  • OS:XP Pro x86
  • Country: Country Flag

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy