Hop wrote:(Using Advanced Installer 8.2)
Patch .AIP files don't seem to have properties that can be controlled with the /edit /SetProperty command-line options. However, the MsiPropertiesComponent's Subject value and the PatcheMetadataComponent's DisplayName are two strings that would be especially useful to have command-line access to change.
Please extend the functionality of /SetProperty or add a new command-line option for modifying the patch's summary and Control Panel strings.
Please can you read the initial request. I can't use SetProperty on a patch project to change the below bold strings
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<DOCUMENT Type="Advanced Installer" CreateVersion="10.0" version="10.0" Modules="patch" RootPath="." Language="en" Id="{02BEC2A2BF6925}">
<COMPONENT cid="caphyon.advinst.msicomp.FragmentComponent">
<ROW Fragment="MspValidation.aip" Path="<AI_FRAGS>MspValidation.aip"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MspImageFamiliesComponent">
<ROW Family="PatchFamily" MediaDiskId="2" FileSequenceStart="89"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MspPropertiesComponent">
<ROW Name="AllowProductCodeMismatches" Value="1"/>
<ROW Name="AllowProductVersionMajorMismatches" Value="1"/>
<ROW Name="IncludeWholeFilesOnly" Value="1"/>
<ROW Name="ListOfTargetProductCodes" Value="*"/>
<ROW Name="PatchOutputFileName" Value="
MyOutputFileName"/>
<ROW Name="PatchSourceList" Value="PatchSourceList"/>
<ATTRIBUTE name="Author" value="
ImTheAuthor"/>
<ATTRIBUTE name="Comments" value="This patch contains the logic and data required to modify <product name>."/>
<ATTRIBUTE name="ExeName" value="
MyOutputEXEFilename"/>
<ATTRIBUTE name="KeepPCPFile" value="false"/>
<ATTRIBUTE name="Subject" value="
MyPatchSubject"/>
<ATTRIBUTE name="UseExe" value="true"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MspTargetImagesComponent">
<ROW Target="Old" MsiPath="Old\MyProduct.msi" Upgraded="New" Order="0" ProductValidateFlags="0x00000922" IgnoreMissingSrcFiles="0"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MspUpgradedImagesComponent">
<ROW Upgraded="New" MsiPath="New\MyProduct.msi" Family="PatchFamily"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.PatchMetadataComponent">
<ROW Property="AllowRemoval" Value="1"/>
<ROW Property="DisplayName" Value="
DisplayName v1.01 to v1.02"/>
<ROW Property="Classification" Value="Update"/>
<ROW Property="Description" Value="
Product v1.01 Patch"/>
<ROW Property="TargetProductName" Value="TargetProduct"/>
<ROW Property="MoreInfoURL" Value="
MoreInfoURL"/>
</COMPONENT>
</DOCUMENT>