SFX commands: Presetup


Presetup=<program>

SFX will try to execute <program> before starting extraction, so <program> must already exist on disk. 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.

Example

Presetup=uninstall.exe /clean

Notes

  1. SFX module displays "Extract" button instead of "Install" if no Setup or Presetup commands are present in the archive comment. If you prefer "Install" button, but do not need to execute any setup programs, you can add Setup command without any parameters.



Posted on line by http://winrar-france.com