Updater return codes - Advanced Installer Community
tjwlsdkzzz
Posts: 26
Joined: Fri Sep 12, 2014 10:54 am

Updater return codes

I'm going to integrate Updater in a MFC.
And I'm going to use Updater return codes.
What function return Updater return codes??
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Updater return codes

Hi,

You can check our How To regarding the integration of the updater in your application.

Also, it could be useful for you to read the updater return codes documentation as well.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tjwlsdkzzz
Posts: 26
Joined: Fri Sep 12, 2014 10:54 am

Re: Updater return codes

Thank you for your answer.

But I already know content of return code document.

What I want to know is that, How I get the error return code. (for example, if I use some updater.exe API function in order to get error code )

I use 'GetLastError()' in order to check 'Updater specific error codes' in MFC, but it returns different value...

What can I do for the problem... ??
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Updater return codes

Hi,

Sorry, I should have pointed out the Integrate Updater in a C++ Application How to.

Try using GetExitCodeProcess function to get the return code.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tjwlsdkzzz
Posts: 26
Joined: Fri Sep 12, 2014 10:54 am

Re: Updater return codes

Hi~~^^

You mean that can I get updater return codes(http://www.advancedinstaller.com/user-guide/updater.html#updater-return-codes) by using 'GetExitCodeProcess'

or what can I use to get updater return codes?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Updater return codes

Hello,

Yes, you can use the "GetExitCodeProcess" function to get the Updater return code.

If you have any questions or doubts just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”