Pavel, if I understand your question correctly you are starting your loader exe which starts the main exe. If necessary the loader will copy any newer version. On some OS's your main exe does not get the focus. If this is the problem then why use API_AppRun for this? Simply start the main exe using the RUN command:
RUN /N Main.exe
>I used 'starting' EXE to copy (if it's necessary) and launch application EXE from local HD.
>I used class api_apprun from downloads here.
>oProcess=CreateObject("API_AppRun",...
>oProcess.LaunchApp()
>On W9x it works fine, but coming computers with W2K and application after this haven't got focus and user must click (shocking) with mouse to enter the password.
>Can you help me?
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.