Execute a program on a maximized window with PHP

Viewed 23

I have an app.exe file made with ExeOutput for PHP. Sometimes I need to update the app.exe file, so Im creating another checkUpdate.exe file that check on my server if there is a new version of the app.exe. If there is not a new version, the checkUpdate.exe file, execute app.exe and close itself. If there is a new update, checkUpdate.exe delete the old app.exe version and download the new one. Once finish to download, checkUpdate.exe execute the new version of app.exe.

I tried to do it with exec, system, but only execute it repeated in the background. I tried to run from php a .bat file, but doesn't work neither. I'm thinking to create an app made of vbasic or similar, any idea or approach how can i accomplish this?

0 Answers
Related