Components
Components
Useful SetupS Component Tools
- %WaitForIt% "[path\filename]|[filename]" : Force SetupS to pause until a specific file or process is created. Shortcut files (.lnk) are recommended because they are often created last by installers.
- %AddonInstaller% "[path\filename]" : Process Addons such as ones from Kel or RyanVM.
Note: This requires 7-Zip be available (usually in Tools). - %ProcessKill% "[filename]" : To force a process/task to close from a given filename.
- %AddToHosts% "{IP address} {host name}" : Sets mappings of IP addresses to host names.
For example:
%AddToHosts% "127.0.0.1 secure.example.com"
- %Extract% "{archive}" -o"{destination path}" : Extract an archive to a specified destination path. Exactly equivalent to: '7z x -y -aoa {archive} -o{destination path}'. Note: This requires 7-Zip be available (usually in Tools).
For example:
%Extract% "Extras.rar" -o"%SystemRoot%\ssTek"
becomes...
7z.exe x -y -aoa "Extras.rar" -o"C:Windows\ssTek"
Ξ Some Notes:
- These can be used in <Assembly> or <Script> only.
- With the exception of %Extract%, the components are built into SetupS when used within <Assembly>. All are evoked as external tools when used within <Script>.
Created with the Personal Edition of HelpNDoc: Full-featured Help generator