|
1 | 1 | <!-- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -->
|
2 | 2 | <componentGroup>
|
3 | 3 | <name>deadline_cloud_for_houdini</name>
|
4 |
| - <description>Deadline Cloud for Houdini 19.5-20.5</description> |
| 4 | + <description>Deadline Cloud for Houdini</description> |
5 | 5 | <detailedDescription>Houdini plugin for submitting jobs to AWS Deadline Cloud. Compatible with Houdini 19.5-20.5</detailedDescription>
|
6 | 6 | <canBeEdited>1</canBeEdited>
|
7 | 7 | <selected>0</selected>
|
|
14 | 14 | <platforms>all</platforms>
|
15 | 15 | <distributionFileList>
|
16 | 16 | <distributionDirectory allowWildcards="1">
|
17 |
| - <origin>components/deadline-cloud-for-houdini/src/deadline/houdini_submitter/*</origin> |
| 17 | + <origin>../src/deadline/houdini_submitter/*</origin> |
18 | 18 | </distributionDirectory>
|
19 | 19 | </distributionFileList>
|
20 | 20 | </folder>
|
|
25 | 25 | <platforms>all</platforms>
|
26 | 26 | <distributionFileList>
|
27 | 27 | <distributionDirectory allowWildcards="1">
|
28 |
| - <origin>components/deadline-cloud-for-houdini/packages/*</origin> |
| 28 | + <origin>../packages/*</origin> |
29 | 29 | </distributionDirectory>
|
30 | 30 | </distributionFileList>
|
31 | 31 | <actionList>
|
|
35 | 35 | <type>exact</type>
|
36 | 36 | <encoding>utf-8</encoding>
|
37 | 37 | <substitutionList>
|
38 |
| - <substitution pattern="INSTALL_DIR_PLACEHOLDER" value="${installdir.unix}" /> |
| 38 | + <substitution pattern="INSTALL_DIR_PLACEHOLDER" value="${houdini_installdir}" /> |
39 | 39 | </substitutionList>
|
40 | 40 | </substitute>
|
41 | 41 | <fnAddPathEnvironmentVariable>
|
|
44 | 44 | <value>${houdini_packagedir}</value>
|
45 | 45 | <scope>${installscope}</scope>
|
46 | 46 | <insertAt>end</insertAt>
|
| 47 | + <ruleList> |
| 48 | + <platformTest type="windows"/> |
| 49 | + </ruleList> |
47 | 50 | </fnAddPathEnvironmentVariable>
|
48 | 51 | </actionList>
|
49 | 52 | </folder>
|
|
54 | 57 | <platforms>all</platforms>
|
55 | 58 | <distributionFileList>
|
56 | 59 | <distributionDirectory allowWildcards="1">
|
57 |
| - <origin>components/deadline-cloud-for-houdini/dependency_bundle</origin> |
| 60 | + <origin>../dependency_bundle</origin> |
58 | 61 | </distributionDirectory>
|
59 | 62 | </distributionFileList>
|
60 | 63 | </folder>
|
61 | 64 | </folderList>
|
| 65 | + <functionDefinitionList> |
| 66 | + <actionDefinition name="fnCopyHoudiniPackageFile"> |
| 67 | + <parameterList> |
| 68 | + <stringParameter name="destinationDir"/> |
| 69 | + </parameterList> |
| 70 | + <actionList> |
| 71 | + <createDirectory> |
| 72 | + <path>${destinationDir}</path> |
| 73 | + <ruleList> |
| 74 | + <fileExists path="${destinationDir}" negate="1"/> |
| 75 | + </ruleList> |
| 76 | + </createDirectory> |
| 77 | + <copyFile origin="${houdini_packagedir}/${deadline_package_file_name}" destination="${destinationDir}/${deadline_package_file_name}"/> |
| 78 | + <addFilesToUninstaller files="${destinationDir}/${deadline_package_file_name}"/> |
| 79 | + </actionList> |
| 80 | + </actionDefinition> |
| 81 | + </functionDefinitionList> |
| 82 | + <componentList> |
| 83 | + <component> |
| 84 | + <name>houdini_19_5</name> |
| 85 | + <description>Houdini 19.5</description> |
| 86 | + <selected>0</selected> |
| 87 | + <parameterList> |
| 88 | + <directoryParameter> |
| 89 | + <name>houdini_19_5_packagedir</name> |
| 90 | + <description>Houdini 19.5 Packages Directory</description> |
| 91 | + <explanation>Enter the path to the Houdini 19.5 packages directory. For easiest installation, Houdini should be installed before installing Deadline Cloud for Houdini.</explanation> |
| 92 | + <default>${houdini_user_pref_dir_default}19.5/packages</default> |
| 93 | + <allowEmptyValue>0</allowEmptyValue> |
| 94 | + <ask>yes</ask> |
| 95 | + <cliOptionName>houdini-19-5-package-dir</cliOptionName> |
| 96 | + <cliOptionText>Path to the Houdini 19.5 packages directory. When the installer is run, if the HOUDINI_USER_PREF_DIR environment variable is set, this directory will default to the packages subdirectory at that path.</cliOptionText> |
| 97 | + <mustBeWritable>yes</mustBeWritable> |
| 98 | + </directoryParameter> |
| 99 | + </parameterList> |
| 100 | + <postInstallationActionList> |
| 101 | + <fnCopyHoudiniPackageFile destinationDir="${houdini_19_5_packagedir}" /> |
| 102 | + </postInstallationActionList> |
| 103 | + </component> |
| 104 | + <component> |
| 105 | + <name>houdini_20_0</name> |
| 106 | + <description>Houdini 20.0</description> |
| 107 | + <selected>0</selected> |
| 108 | + <parameterList> |
| 109 | + <directoryParameter> |
| 110 | + <name>houdini_20_0_packagedir</name> |
| 111 | + <description>Houdini 20.0 Packages Directory</description> |
| 112 | + <explanation>Enter the path to the Houdini 20.0 packages directory. For easiest installation, Houdini should be installed before installing Deadline Cloud for Houdini.</explanation> |
| 113 | + <default>${houdini_user_pref_dir_default}20.0/packages</default> |
| 114 | + <allowEmptyValue>0</allowEmptyValue> |
| 115 | + <ask>yes</ask> |
| 116 | + <cliOptionName>houdini-20-0-package-dir</cliOptionName> |
| 117 | + <cliOptionText>Path to the Houdini 20.0 packages directory. When the installer is run, if the HOUDINI_USER_PREF_DIR environment variable is set, this directory will default to the packages subdirectory at that path.</cliOptionText> |
| 118 | + <mustBeWritable>yes</mustBeWritable> |
| 119 | + </directoryParameter> |
| 120 | + </parameterList> |
| 121 | + <postInstallationActionList> |
| 122 | + <fnCopyHoudiniPackageFile destinationDir="${houdini_20_0_packagedir}" /> |
| 123 | + </postInstallationActionList> |
| 124 | + </component> |
| 125 | + <component> |
| 126 | + <name>houdini_20_5</name> |
| 127 | + <description>Houdini 20.5</description> |
| 128 | + <selected>0</selected> |
| 129 | + <parameterList> |
| 130 | + <directoryParameter> |
| 131 | + <name>houdini_20_5_packagedir</name> |
| 132 | + <description>Houdini 20.5 Packages Directory</description> |
| 133 | + <explanation>Enter the path to the Houdini 20.5 packages directory. For easiest installation, Houdini should be installed before installing Deadline Cloud for Houdini.</explanation> |
| 134 | + <default>${houdini_user_pref_dir_default}20.5/packages</default> |
| 135 | + <allowEmptyValue>0</allowEmptyValue> |
| 136 | + <ask>yes</ask> |
| 137 | + <cliOptionName>houdini-20-5-package-dir</cliOptionName> |
| 138 | + <cliOptionText>Path to the Houdini 20.5 packages directory. When the installer is run, if the HOUDINI_USER_PREF_DIR environment variable is set, this directory will default to the packages subdirectory at that path.</cliOptionText> |
| 139 | + <mustBeWritable>yes</mustBeWritable> |
| 140 | + </directoryParameter> |
| 141 | + </parameterList> |
| 142 | + <postInstallationActionList> |
| 143 | + <fnCopyHoudiniPackageFile destinationDir="${houdini_20_5_packagedir}" /> |
| 144 | + </postInstallationActionList> |
| 145 | + </component> |
| 146 | + </componentList> |
62 | 147 | <initializationActionList>
|
63 | 148 | <setInstallerVariable name="all_components" value="${all_components} deadline_cloud_for_houdini" />
|
64 |
| - </initializationActionList> |
65 |
| - <readyToInstallActionList> |
66 |
| - <setInstallerVariable name="houdini_installdir" value="${installdir}/Submitters/Houdini" /> |
| 149 | + <if> |
| 150 | + <conditionRuleList> |
| 151 | + <isTrue value="${individual_install}"/> |
| 152 | + </conditionRuleList> |
| 153 | + <actionList> |
| 154 | + <setInstallerVariable name="houdini_installdir" value="${installdir}"/> |
| 155 | + </actionList> |
| 156 | + <elseActionList> |
| 157 | + <setInstallerVariable name="houdini_installdir" value="${installdir}/Submitters/Houdini"/> |
| 158 | + </elseActionList> |
| 159 | + </if> |
67 | 160 | <setInstallerVariable name="houdini_packagedir" value="${houdini_installdir}/deadline_package" />
|
| 161 | + <if> |
| 162 | + <conditionRuleList> |
| 163 | + <compareText> |
| 164 | + <text>${env(HOUDINI_USER_PREF_DIR)}</text> |
| 165 | + <logic>does_not_equal</logic> |
| 166 | + <value></value> |
| 167 | + </compareText> |
| 168 | + </conditionRuleList> |
| 169 | + <actionList> |
| 170 | + <setInstallerVariable name="houdini_19_5_packagedir" value="${env(HOUDINI_USER_PREF_DIR)}/packages"/> |
| 171 | + <setInstallerVariable name="houdini_20_0_packagedir" value="${env(HOUDINI_USER_PREF_DIR)}/packages"/> |
| 172 | + <setInstallerVariable name="houdini_20_5_packagedir" value="${env(HOUDINI_USER_PREF_DIR)}/packages"/> |
| 173 | + </actionList> |
| 174 | + </if> |
68 | 175 | <if>
|
69 | 176 | <conditionRuleList>
|
70 | 177 | <platformTest type="windows" />
|
|
96 | 203 | <deleteFile path="${houdini_user_pref_dir_default}19.5/packages/deadline_submitter_for_houdini.json" />
|
97 | 204 | <deleteFile path="${houdini_user_pref_dir_default}20.0/packages/deadline_submitter_for_houdini.json" />
|
98 | 205 | <deleteFile path="${houdini_user_pref_dir_default}20.5/packages/deadline_submitter_for_houdini.json" />
|
99 |
| - </readyToInstallActionList> |
| 206 | + </initializationActionList> |
100 | 207 | <parameterList>
|
101 | 208 | <stringParameter name="deadline_cloud_for_houdini_summary" ask="0" cliOptionShow="0">
|
102 | 209 | <value>Deadline Cloud for Houdini 19.5-20.5
|
|
0 commit comments