problem regarding patch installation through auto updater - 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!

pintu.bppimt
Posts: 6
Joined: Fri Mar 11, 2011 10:03 am

problem regarding patch installation through auto updater

Hi Friends,

I am again here. I have created an application BT 1.0.0 and BT 1.0.1 with update facility. I configure the config file and put it in tomcat. Now i have created a patch for that. Now After installation of BT 1.0.0 I run the application and when i run the patch in manual mode and through updater. The observation is given here---

Manual Mode:-
See the attachment named privilegeError.JPG . But when i stop the application and run the patch there is no error. I think it happens because the patch wants to modify some files that are in use. I have to solve this issue. If needed i have to force the user to stop the application for patching. I don't know how to do it.

Through Updater:- see the attachments
patchInstallation.JPG
patchInstallation.JPG (26.57 KiB) Viewed 1962 times
,

and during the installation a text file is opened automatically. It is also attached here.
updateConfig.txt
(50 KiB) Downloaded 260 times
please let me know how to tackle this issue.
Attachments
patchInstall.JPG
patchInstall.JPG (120.88 KiB) Viewed 1962 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: problem regarding patch installation through auto updater

Hi Pintu,

This happens because either the patch is not applied correctly or after the patch is applied the "Installed Detection" condition is not met.

Note that the updater needs a file version or registry key detection criteria, therefore in the second .MSI package you should either create a registry key or change the version of an .EXE file included in your package.

Also, please make sure that the patch does not brake any patch rules.
http://msdn2.microsoft.com/en-us/library/aa367850.aspx (read about patch rules)

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

Return to “Common Problems”