selfupdate is not in hidden mode

Hi,

I have modified the wyupdate.exe and upload the wyupdate.exe as a patch(as a self update).I followed the below URLhttp://wyday.com/wybuild/help/custom-wyupdate-version.php

I have made the software patch that i am triggering it as part of installation with FLAG SW_HIDE to the process.

TCHAR szPath[MAX_PATH];GetModuleDirectory(szPath);PathAppend(szPath, _T("wyUpdate.exe"));

// Start the wyUpdate and QuitShellExecute(NULL, NULL, szPath, NULL, NULL, SW_HIDE);

But the problem is when selfupdate patch is applying before software patch its not hidden. The problem is its not taking the flag as SW_HIDE for self-update and selfupdate coming on top of software.

Is there any way to solve this?

RegardsPranay

Here's how to do silent updating: https://wyday.com/wybuild/help/faq.php#silent

HI Sam,

Thanks for your response.There is a bug in wyupdate.exe i.e. i have changes the icon in wyupdate.exe and host the "self-update" sites with new version.Now i am running wyupdate.exe in silent mode but the problem is for self-update the exe is getting triggered that is not silent. It means the same input is not getting passed for self-update what the user gave when he triggered wyupdate.exe with SW_HIDE param.

RegardsPranay

Don't use SW_HIDE. If you want to do silent updates do them like described here, or else it won't work: https://wyday.com/wybuild/help/faq.php#silent