Hop
Posts: 13
Joined: Mon Feb 15, 2010 2:22 pm

Command-line modifiers for Patch .AIPs

(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.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Command-line modifiers for Patch .AIPs

Hi,

This improvement is already on our TODO list and will be available in a future version.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Icidis
Posts: 10
Joined: Wed Sep 26, 2012 12:42 pm

Re: Command-line modifiers for Patch .AIPs

Good Day,

I would like to know if this feature has been implemented yet as this would make my life a lot easier.

Regards

Ryan
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Command-line modifiers for Patch .AIPs

Hello Ryan,

We already have added command line support in Advanced Installer for patches projects. Please take a look on our "Patch Commands" article which should be useful for you.

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Icidis
Posts: 10
Joined: Wed Sep 26, 2012 12:42 pm

Re: Command-line modifiers for Patch .AIPs

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>
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Command-line modifiers for Patch .AIPs

Hello Ryan,

I apologize because I omitted the initial request from this thread. Unfortunately, this improvement was not included yet in Advanced Installer. Also, I cannot give you an ETA for now. Thank you for your understanding.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
somedude
Posts: 3
Joined: Fri Sep 25, 2015 11:49 pm

Re: Command-line modifiers for Patch .AIPs

It appears this still isn't supported in 2016.

Perhaps I've misunderstood something here. I don't understand why the patch commands exist if all the patches it produces look like this:
Your Company
Your Application
This patch contains the logic and data required to modify <product name>.
Our goal is automation of the patch creation process. Surely there's a way to specify something as basic as ProductName?
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Command-line modifiers for Patch .AIPs

Hello,

I'm afraid these CLI improvements are still in a pending status on our todo list. I've increased their priority and hopefully they will be considered in a future version of Advanced Installer. We will update this thread when new patch editing project command lines will be available.

Thank you for your understanding.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”