Re: Problem with CmdAfter (General questions)

by wodDamir, (6145 days ago) @ Paco

Paco,

Actually, You should set path in your config file to APPDIR , instead to APPDIR Setup.exe , since this will try to download it to YourAPPDirSetup.exeSetup.exe , and since most probably folder Setup.exe doesn't exist it fails.

You can check that by checking wodAppUpdate1.Files(0).Path property in CheckDone event.

Another thing you will have to probably modify is [Global] section of config file to look similiar to this:

[code][Global]
CmdLine= APP
CmdAfter=Setup.exe[/code]

These settings set the CommandLine to Application directory, so that simple call to file will execute it.

Can you try that?

Regards,
Damba

locked

Complete thread: