Extensions for WarpIN: Difference between revisions
Appearance
→Attributes for PCK tag: added sniffer support |
→execute program from package as sniffer: reworked requirement |
||
Line 18: | Line 18: | ||
=== execute program from package as sniffer === | === execute program from package as sniffer === | ||
Requirement: | Requirement: | ||
* run a program | * run a program, included in the WPI archive, to determine if a prerequisite for installation is met | ||
* continue installation with no message on zero reason code | * continue installation with no message on zero reason code | ||
* display a message for specific error code(s) and abort installation | * display a message for specific error code(s) and abort installation | ||
Used Case: | Used Case: | ||
* installation of device drivers: sniffer for hardware (e.g. check for a PCI device) | * installation of device drivers: sniffer for hardware (e.g. check for a PCI device) | ||
* installation of Wireless LAN Monitor: instance of xCenter | * installation of Wireless LAN Monitor: determnine active instance of xCenter | ||
Current workaround: | Current workaround: | ||
* can be done by REXX, extracting a hidden package to a temp directory. However, the WPI cannot be aborted by REXX code | * can be done by REXX, extracting a hidden package to a temp directory. However, the WPI cannot be aborted by REXX code | ||
Line 30: | Line 30: | ||
Problem: | Problem: | ||
* no idea yet how to define the message(s) being displayed on error, possibly <ERRORMSG rc=n>as counterpart to MSG, where <ERRORMSG> with no rc would be the default error msg. | * no idea yet how to define the message(s) being displayed on error, possibly <ERRORMSG rc=n>as counterpart to MSG, where <ERRORMSG> with no rc would be the default error msg. | ||
=== hide a package === | === hide a package === |
Revision as of 16:15, 13 January 2008
Suggested REXX APIs
Abort WPI
Deinstall packages
query if package is installed
query the files of a package
query WarpIN language
query Locale language
New attributes for PCK tag
execute program from package as sniffer
Requirement:
- run a program, included in the WPI archive, to determine if a prerequisite for installation is met
- continue installation with no message on zero reason code
- display a message for specific error code(s) and abort installation
Used Case:
- installation of device drivers: sniffer for hardware (e.g. check for a PCI device)
- installation of Wireless LAN Monitor: determnine active instance of xCenter
Current workaround:
- can be done by REXX, extracting a hidden package to a temp directory. However, the WPI cannot be aborted by REXX code
Suggested Change:
- additional attribute PREEXECUTE for PKG tag like (DE)EXECUTE
Problem:
- no idea yet how to define the message(s) being displayed on error, possibly <ERRORMSG rc=n>as counterpart to MSG, where <ERRORMSG> with no rc would be the default error msg.
hide a package
autodeinstall any older/other version of a PCK
execute a program/REXX code before/after executing any installation action
exit for rc!=0
force a kill of a program without prompt
force unlock of a executable without prompt
Parameters to WARPIN.EXE
deinstall a PACKAGE, supporting wildcards
allows WPS object to deinstall a program