- Don't use NextFile attributes.
- Update the BuildKey attribute of the the BuildComponent (or any other Key attribute of other components) when the BuildName (or any other display name) is changed. Now we have the following XML as a result of a rename:
Code: Select all
<COMPONENT cid="caphyon.advinst.msicomp.BuildComponent">
<ROW BuildKey="DefaultBuild" BuildName="FullSetup" BuildOrder="1" BuildType="1" PackageFolder="FullSetup" PackageFileName="Setup" Languages="en" InstallationType="2" CabsLocation="1" UseLzma="true" PackageType="1" FilesInsideExe="true" ExeIconPath="Resources\3mensio.ico" ExtractionFolder="[AppDataFolder][|Manufacturer]\[|ProductName]\install" UACExecutionLevel="2"/>
<ROW BuildKey="FullSetup_1_1" BuildName="PatchSetup" BuildOrder="2" BuildType="1" PackageFolder="PatchSetup" PackageFileName="Setup" Languages="en" InstallationType="2" CabsLocation="1" UseLzma="true" PackageType="1" FilesInsideExe="true" ExeIconPath="Resources\3mensio.ico" ExtractionFolder="[AppDataFolder][|Manufacturer]\[|ProductName]\install" UACExecutionLevel="2"/>
<ATTRIBUTE name="CurrentBuild" value="FullSetup_1_1"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.PreReqComponent">
<ROW PrereqKey="Adobe_Reader_9.1" DisplayName="Adobe Reader 9.3" SetupFileUrl="Tools\PatchWarning.js" Location="0" ExactSize="0" Operator="1" ComLine="Adobe Reader 9.3" BasicUiComLine="Adobe Reader 9.3" NoUiComLine="Adobe Reader 9.3" Options="m" TargetName="PatchWarning.js" Builds="FullSetup_1_1"/>
</COMPONENT>
FOLLOW US
Get the latest news in Application Packaging