Problem in patch - 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!

viral
Posts: 22
Joined: Thu Jun 23, 2011 9:07 am

Problem in patch

Hello,


I have created an installer for web application and right now we are working on patch for it.
I have created a patch without setting product version in registry and it works fine if I run it
manually but once I upload it on Update URL and run update, It downloads patch and installs it
successfully with all changes but updater ends with a Error Message as below :

"I get the error "some of the updates failed to update properly"


After surfing through your blog and looking into few posts and tutorials, I got this link

"http://www.advancedinstaller.com/forums ... f=2&t=1994"

I found that I have to save product version in registry and have to update it in patch and I tried same thing in installer. Now
when i run patch It actually starts setup. I mean so say It asks for all details like Website Name, Server Name,
Sql Credentials, Install path and other things. Where as I think patch shouldn't ask all these things again
as we are storing it in registry to run patch successfully. Is it because of i increased version of product in
patch or some other reason as when i tried with same version installer takes everything from registry and runs smoothly
without asking for details (but Updater shows error after installing patch).

Please help me out.

Thanks,
VIRAL
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Problem in patch

Hi Viral,

This happens because you answered Yes to change the Product Code when increasing your Product Version. For patches the Product Code needs to remain the same. You can change back your Product Code by using Project -> Options menu.

To get the original Product Code from your old MSI, you can open it with Orca and find it in Property table.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”