Update Installed Detection - 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!

invalidptr
Posts: 79
Joined: Thu Nov 18, 2010 7:10 pm

Update Installed Detection

I've gotten Update working with a patch I created. But I had a question about "Installed Detection" under Properties. The logic here is, "Detect if the update is already installed." Shouldn't this logic be, "Detect if the update needs to be installed to this build"? (with an eye towards checking to make sure I don't update the wrong build). Eg.
- build 130 is installed
- Wanting to apply the build 133 patch. (Detection in the way AI's built is to see it's build 133)
- Build 140 gets put in place
- Couldn't build 133 patch get applied by accident? Since the detection is an equal and not a less than?

This is alluded to in the help page "Update Properties Tab", where it's written "Because a mismatch in the file size is automatically viewed as a missing update, you should always use the Replaces field on newer updates. This way you'll avoid older updates being installed just because the file size was different after installing a newer update."

Where is the "Replaces field"? I don't see it on this tab.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Update Installed Detection

Hello,
Where is the "Replaces field"?
The "Replaces field" is a typo in our user guide and we will fix it as soon as possible. Actually it refers to the [ Replaces ] toolbar button or the “Add Update > Replaces...” context menu item while an update is selected.

As a general observation it is recommended to use the "Version" option instead of "Size" for the "Installed Detection" criteria.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”