Info |
---|
Since IzPack 5.0 |
All Windows systems block executable files that are currently in use, as device drivers, EXE, DLL and even JAR files. Normally, a running application is to be shut down before such files can be overwritten, for instance by an IzPack installer. This might fit most of the use cases IzPack is used with.
...
Lets start with an example of install.xml:
Code Block | ||
---|---|---|
| ||
<installation version="1.0"> <info> ... <rebootaction>ask</rebootaction> ... </info> ... <native type="izpack" name="SetupAPI.dll"> <os family="windows"/> </native> <native type="izpack" name="SetupAPI_64.dll"> <os family="windows"/> </native> ... <packs> <pack name="Core files" required="yes"> <description>The core files needed for this test</description> <singlefile src="plain/my_exefile_v1.exe" target="${INSTALL_PATH}/my_exefile.exe" override="true" blockable="auto"/> </pack> </packs> </installation> |
Explanation:
...
For a complete specification of the according elements and attributes see the documentation of <rebootaction>
in the Header - <info> and the blockable
attribute in one of the elements <file>
, <fileset>
or or <singlefile>.