how can I set the name of a patch using the command line version of AI?
I'd like to have it show up in the control panel like
Update for XY
Hotfix for XY
Alternatively, is there a way to set the classification using the CLI?
Hi,
is there any change for this topic for the current release? (v 10)
I think this is very basic functionality when I look at the aip file for a patch project.
Unfortunately, this command line functionality wasn't included in our last version (10.0) of Advanced Installer. However, we have this improvement on our TODO list and it will be available in a future version of Advanced Installer, but since yours is the only request implementing it has very low priority. So, I'm afraid I cannot give you an ETA at this moment.
I doubt that creating MSPs in an automated build environment is such an uncommon use case. From looking at the aip structure for patch projects I guess that modifying additional fields is a very simple task for you. We are on the enterprise maintenance plan for over 3 years now which is a lot of money...
Can you give me any advice on how to set the fields for patch name or classification with the current tools available (maybe vb script or similar)? Thanks in advance.
As a workaround you can use in the "Patch Name" field (from your patch project) an unique string identifier (e.g. CustomPatchName). Then, before you build your .aip file you can call an an EXE, a VB Script, etc. which will search for "CustomPatchName" identifier within the .aip file and will replace it with a desired string.
Also, if you want to change the "Classification" field, then you can proceed like this:
- Open your .aip file (of your patch project) and save it.
- Change the "Classification" field and save the project under a different name.
- Now you can make a diff between the two .aip files.
- Before you build your .aip file you can call an an EXE, a VB Script, etc. which will edit (in the .aip file) the corresponding Classification row accordingly.