p.briys
Posts: 1
Joined: Sat Feb 28, 2015 10:36 am

ARPPRODUCTICON property in file of commands

Hi,

I try to configure Add/Remove program with an icon, but this script don't work correctly:

Code: Select all

;aic
SetProperty ARPPRODUCTICON="D:\Patrick\dev\Msi_Installer\Rdp_Test\Rdp-test.ico"
Save
The return is:
  • SetProperty ARPPRODUCTICON="D:\Patrick\dev\Msi_Installer\Rdp_Test\Rdp-test.ico"
If I manually configure icon and uses getproperty, the return is:
  • productname.exe
How to configure this option
Controle panel icon
Thanks
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: ARPPRODUCTICON property in file of commands

Hello and welcome to Advanced Installer forums,

Please note that the ARPPRODUCTICON property points to an entry from the Icon Table. So, you cannot set this property from the command line interface through the SetProperty.

You can set the icon which will be showed for the product in the "Add or Remove Programs" applet in Control Panel in the Product Details Tab from the Product Details page.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
natecope
Posts: 38
Joined: Tue Feb 03, 2015 4:27 pm

Re: ARPPRODUCTICON property in file of commands

I'm running into this issue as well. I absolutely need a way to modify the add/remove applet icon for my builds either via the command line, or by command file.
Is there no way to do this outside of the product details GUI?

I specified a custom icon in the gui. Looking at the XML of the AIP file, I now have this:

Code: Select all

  <COMPONENT cid="caphyon.advinst.msicomp.MsiIconsComponent">
    <ROW Name="app_icon.exe" SourcePath="app_icon.ico" Index="0"/>
  </COMPONENT>
Is there really no way to edit that apart from replacing the ico file during build time?
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: ARPPRODUCTICON property in file of commands

Hello,

Unfortunately, there is no command line option to achieve this. The only way to set the Control Panel icon is by using the AI application with GUI, from "Product Details" page.

I've added your requests on our feature requests list and maybe such improvement (command line to add CP icon) will be added in a future version of Advanced Installer. Thank you for your suggestions. Until then, I'm afraid there is no workaround.

Thank you for your understanding.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: ARPPRODUCTICON property in file of commands

Hello,

After talking with our development team about your request, it seems we already had a SetIcon command available in Advanced Installer, but this command is not documented in our user guide (because it wasn't public). Starting with our next version of Advanced Installer we will published this command in our user guide. We'll let you know as soon as the new version is out.

Until then, you can use the following command to set the Control Panel icon:

Code: Select all

/SetIcon -icon <icon_path>
If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: ARPPRODUCTICON property in file of commands

Hello,

The Set Control Panel Icon Command has been added in version 12.0 of Advanced Installer released on April 2nd, 2015.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”