Disallowed error changing Product Name - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

anupmistry
Posts: 52
Joined: Tue Jan 12, 2010 6:39 pm

Disallowed error changing Product Name

Using AI 7.3 Enterprise Edition

In the Project Settings > Product Details > Product Name: box am unable to change the value.

Gives me error message:

Exception value "new name" is disallowed.
Reason:
Invalid internal name. Referred form.
Shortcut
ProductName_f
ProductName

The AIP project file was created from a copy of another AIP. Wondering maybe thats why its not allowing me to change it.

If I edit the AIP in notepad to the "new name", when its opened it gives a different error
"Exception - Invalid MSI Filename string [new name]."
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Disallowed error changing Product Name

Hello,

This is odd. Could you please send the .aip file in question to support at advancedinstaller dot com so we can take a look?

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
anupmistry
Posts: 52
Joined: Tue Jan 12, 2010 6:39 pm

Re: Disallowed error changing Product Name

Got this error again; same scenario. What was the fix. do you remember?

This time I have determined that if the new product name is smaller width wise then it accepts it. If the new name is longer than the older product name thats when it does not allow saving throwing those errors. Hopefully that provides some insight.

Tried changing the .aip file xml tag via regular notepad .. it still gets that error on startup. Where in the file does it store the product-name lenght?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Disallowed error changing Product Name

Hi,

If the product name is used by files, for example shortcuts, it is also used for these files short names. This means that when you change the product name, the short name is also changed. Currently a limitation in Advanced Installer requires that the new short name has a shorter or equal length compared to the old name. This means that the new product name cannot be longer than the old one.

To avoid this limitation you can try removing the shortcuts which use the ProductName property, change the Product Name and create the shortcuts again.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
anupmistry
Posts: 52
Joined: Tue Jan 12, 2010 6:39 pm

Re: Disallowed error changing Product Name

Removed the two shortcuts (desktop and startup) and was able to edit the Product Name and re-create shortcuts. Thank you.

Return to “Common Problems”