Updates project - changes to some fields are not persisted - 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!

toddpatt
Posts: 111
Joined: Fri Jan 08, 2010 1:36 am

Updates project - changes to some fields are not persisted

Hola,

I'm using AI 7.6 build 27499

Maybe this is a known problem, but I searched the forum and couldn't find an existing topic. When editing an existing Updates project, changes to some fields are not persisted to the aip file after saving.

STEPS:
1) create a new Updates project
2) click the "New Update" button, browse to an appropriate MSI or MSP file
3) leave all default values on the "Properties" and "Auto Close Applications" tabs
4) save the project, exit
5) open the saved projected
6) "Properties" tab > Installed Detection > select the "Registry Value" radio button > provide a registry key
7) "Auto Close Applications" tab > click the "New" button > provide path and window title
8) save the project, exit, reopen

RESULT:
~ the changes made on the "Properties" tab (registry key) and the "Auto Close Applications" tab are not shown, seem to be lost

WORK-AROUND:
~ enter this information (registry key, auto-close) when the Updates project is first created

I assume this is a bug? Or maybe I've misunderstood the expected behavior ...

Thanks for your help,
-Todd
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Updates project - changes to some fields are not persisted

Hi Todd,

This would be a bug if it happened, however I could not reproduce this on my machine. Tested this on a Windows Vista x64, with the same build you mentioned.
What system are you testing this on?
Also, perhaps the circumstances in which this issue manifests itself are a little more obscure than that, perhaps you are overlooking something?

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
toddpatt
Posts: 111
Joined: Fri Jan 08, 2010 1:36 am

Re: Updates project - changes to some fields are not persisted

Hi Gabriel,

Thanks for your reply. Yes, you are correct - I overlooked something critical. You must also change the default name from "Update" to something else, such as "U1" or "Test". I don't mean the "Display Name" field, but the actual name within the "Organization" tree. In the .aip project file, this corresponds to the "Section" attribute for each ROW element:

Code: Select all

<ROW Section="U1" Key="Name" Value="MyApp"/>
This bug should now be reproducible - I retested on my Win2K and WinXP machines.

thanks,
-Todd
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Updates project - changes to some fields are not persisted

Hi Todd,

We managed to reproduce this behavior. It's caused by a bug in Advanced Installer. Thank you for bringing it to our attention. A bugfix will be included in a future release.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
toddpatt
Posts: 111
Joined: Fri Jan 08, 2010 1:36 am

Re: Updates project - changes to some fields are not persisted

Thanks for confirming, Cosmin.
I'll look for the bugfix in future releases.

-Todd

Return to “Common Problems”