Browse Source

Diskspace check

all-modes
Predrag Manojlovic 8 years ago
parent
commit
8db5373b93
  1. 19
      assets/BitRock Installer Files/IgaunaApp-Linux.xml
  2. 18
      assets/BitRock Installer Files/IgaunaApp-OSX.xml
  3. 18
      assets/BitRock Installer Files/IgaunaApp-Win.xml

19
assets/BitRock Installer Files/IgaunaApp-Linux.xml

@ -10,8 +10,9 @@
<componentList> <componentList>
<component> <component>
<name>default</name> <name>default</name>
<description>Default Component</description> <description>${project.shortName}</description>
<canBeEdited>1</canBeEdited> <canBeEdited>0</canBeEdited>
<detailedDescription>All application files. Required size: ${project.component(default).requiredSize} bytes</detailedDescription>
<selected>1</selected> <selected>1</selected>
<show>1</show> <show>1</show>
<desktopShortcutList> <desktopShortcutList>
@ -325,6 +326,7 @@
<path>/bin/Iguana</path> <path>/bin/Iguana</path>
</deleteFile> </deleteFile>
</postUninstallationActionList> </postUninstallationActionList>
<allowComponentSelection>1</allowComponentSelection>
<compressionAlgorithm>lzham-ultra</compressionAlgorithm> <compressionAlgorithm>lzham-ultra</compressionAlgorithm>
<defaultUnixFilePermissions>755</defaultUnixFilePermissions> <defaultUnixFilePermissions>755</defaultUnixFilePermissions>
<enableRollback>0</enableRollback> <enableRollback>0</enableRollback>
@ -354,6 +356,19 @@
<mustBeWritable>1</mustBeWritable> <mustBeWritable>1</mustBeWritable>
<mustExist>0</mustExist> <mustExist>0</mustExist>
<width>30</width> <width>30</width>
<validationActionList>
<throwError>
<text>You don't have enough disk space to install the application,
please select another installation directory</text>
<ruleList>
<checkFreeDiskSpace>
<logic>less</logic>
<path>${installdir}</path>
<size>${required_diskspace}</size>
</checkFreeDiskSpace>
</ruleList>
</throwError>
</validationActionList>
</directoryParameter> </directoryParameter>
<choiceParameterGroup> <choiceParameterGroup>
<name>installation_type</name> <name>installation_type</name>

18
assets/BitRock Installer Files/IgaunaApp-OSX.xml

@ -10,8 +10,9 @@
<componentList> <componentList>
<component> <component>
<name>default</name> <name>default</name>
<description>Default Component</description> <description>${project.shortName}</description>
<canBeEdited>1</canBeEdited> <canBeEdited>0</canBeEdited>
<detailedDescription>All application files. Required size: ${project.component(default).requiredSize} bytes</detailedDescription>
<selected>1</selected> <selected>1</selected>
<show>1</show> <show>1</show>
<folderList> <folderList>
@ -275,6 +276,19 @@
<mustBeWritable>1</mustBeWritable> <mustBeWritable>1</mustBeWritable>
<mustExist>0</mustExist> <mustExist>0</mustExist>
<width>30</width> <width>30</width>
<validationActionList>
<throwError>
<text>You don't have enough disk space to install the application,
please select another installation directory</text>
<ruleList>
<checkFreeDiskSpace>
<logic>less</logic>
<path>${installdir}</path>
<size>${required_diskspace}</size>
</checkFreeDiskSpace>
</ruleList>
</throwError>
</validationActionList>
</directoryParameter> </directoryParameter>
<choiceParameterGroup> <choiceParameterGroup>
<name>installation_type</name> <name>installation_type</name>

18
assets/BitRock Installer Files/IgaunaApp-Win.xml

@ -10,8 +10,9 @@
<componentList> <componentList>
<component> <component>
<name>default</name> <name>default</name>
<description>Default Component</description> <description>${project.shortName}</description>
<canBeEdited>1</canBeEdited> <canBeEdited>0</canBeEdited>
<detailedDescription>All application files. Required size: ${project.component(default).requiredSize} bytes</detailedDescription>
<selected>1</selected> <selected>1</selected>
<show>1</show> <show>1</show>
<desktopShortcutList> <desktopShortcutList>
@ -366,6 +367,19 @@
<mustBeWritable>1</mustBeWritable> <mustBeWritable>1</mustBeWritable>
<mustExist>0</mustExist> <mustExist>0</mustExist>
<width>30</width> <width>30</width>
<validationActionList>
<throwError>
<text>You don't have enough disk space to install the application,
please select another installation directory</text>
<ruleList>
<checkFreeDiskSpace>
<logic>less</logic>
<path>${installdir}</path>
<size>${required_diskspace}</size>
</checkFreeDiskSpace>
</ruleList>
</throwError>
</validationActionList>
</directoryParameter> </directoryParameter>
<choiceParameterGroup> <choiceParameterGroup>
<name>installation_type</name> <name>installation_type</name>

Loading…
Cancel
Save