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!

Jon
Posts: 42
Joined: Tue Jan 14, 2014 4:26 pm

Control Panel - update add/remove program for patch?

I'm testing creating patches. Followed your user guide. It's working fine. Only problem I find is after applying the patch, the Control Panel now has 2 entries allowing user to uninstall - the target version (for example, 1.0.0) and and upgraded version (1.0.1). Basically, after upgrade, the old version becomes the upgraded version. So, there's only 1.0.1 to uninstall. v1.0.0 does not exist. Is it possible to update the Add/Remove program to keep just the upgraded version?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Control Panel - update add/remove program for patch?

Hello Jon,

I'm not sure why you encountered this behavior.
Can you please make sure that you followed the patch rules. Do the packages have the same upgrade code as well?
A good practice is to save the project file for each version using "Save as...". Also, you can follow Authoring a Windows Installer patch tutorial for guidance.

Also, can you please make sure that the "Override Windows Installer programs list entry" option is not enabled in the Product Details tab.

Also, this may happens if you are using the fourth field for your product version. Please note that Windows Installer uses only the first three fields of the product version. If you include a fourth field in your product version, the installer ignores the fourth field. You can take a look on the ProductVersion property article.

If this is not your case, can you please give us the AIP's( old project file, the upgraded project file and the patch project file) and a verbose log of the patch installation to support at advancedinstaller dot com so we can investigate them?

Let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Jon
Posts: 42
Joined: Tue Jan 14, 2014 4:26 pm

Re: Control Panel - update add/remove program for patch?

Thanks for the info. I did have Override Windows Installer programs list entry checked and was also using the 4th field in Product Version. After removing these 2 items, the Add/Remove program entries are working as expected. Appreciate your timely support!
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Control Panel - update add/remove program for patch?

You're welcome Jon,

I'm glad you got this working. If you have other questions, please let us know.

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

Return to “Building Installers”