Re: Problem with CmdAfter (General questions)
Signature problem solved using paths like file://\\server\...
As for file being deleted each time, adding CloseApp event does not work. The problem seems to be do a download method call when there are not newfiles. If I modify the CheckDone event adding:
...
If NewFiles > 0 Then wodAppUpdate1.Download
...
Setup.exe file is not deleted never!
An issue more:
I want the setup.exe file be copied to application directory, not to root. How must I set the config file? I try
[Global]
CmdAfter= APPDIR \setup.exe
[File]
Name=Setup.exe
Path= APPDIR \setup.exe
...
file is downloaded but is not copied to my application directory and so, the setup is not run.
Thanks!
Paco,
Did you receive my last response about the network paths?
Basically, you should use paths like this: file://\\192.168.0.1\Your_Share\config.txt
As for file being deleted each time, can you please add CloseApp Event to your application and put an End statemens in it?
Like this:
[code]Private Sub wodAppUpdate1_CloseApp()
End
End Sub[/code]Did that help?
Regards,
Damba
Complete thread:
- Problem with CmdAfter - Paco, 2008-07-09, 10:34
- Re: Problem with CmdAfter - woddrazen, 2008-07-09, 12:29
- Re: Problem with CmdAfter - Paco, 2008-07-09, 13:13
- Re: Problem with CmdAfter - wodgrof, 2008-07-10, 02:00
- Re: Problem with CmdAfter - Paco, 2008-07-10, 17:09
- Re: Problem with CmdAfter - wodDamir, 2008-07-10, 18:13
- Re: Problem with CmdAfter - wodDamir, 2008-07-10, 18:32
- Re: Problem with CmdAfter - Paco, 2008-07-10, 18:35
- Re: Problem with CmdAfter - wodDamir, 2008-07-10, 19:27
- Re: Problem with CmdAfter - Paco, 2008-07-11, 10:11
- Re: Problem with CmdAfter - wodDamir, 2008-07-11, 11:07
- Re: Problem with CmdAfter - Paco, 2008-07-11, 12:47
- Re: Problem with CmdAfter - wodDamir, 2008-07-11, 13:14
- Re: Problem with CmdAfter - Paco, 2008-07-11, 13:36
- Re: Problem with CmdAfter - wodDamir, 2008-07-11, 13:57
- Re: Problem with CmdAfter - Paco, 2008-07-11, 13:59
- Re: Problem with CmdAfter - Paco, 2008-07-11, 14:13
- Re: Problem with CmdAfter - Paco, 2008-07-11, 13:59
- Re: Problem with CmdAfter - wodDamir, 2008-07-11, 13:57
- Re: Problem with CmdAfter - Paco, 2008-07-11, 13:36
- Re: Problem with CmdAfter - wodDamir, 2008-07-11, 13:14
- Re: Problem with CmdAfter - Paco, 2008-07-11, 12:47
- Re: Problem with CmdAfter - wodDamir, 2008-07-11, 11:07
- Re: Problem with CmdAfter - Paco, 2008-07-11, 10:11
- Re: Problem with CmdAfter - wodDamir, 2008-07-10, 19:27
- Re: Problem with CmdAfter - Paco, 2008-07-10, 18:35
- Re: Problem with CmdAfter - wodDamir, 2008-07-10, 18:32
- Re: Problem with CmdAfter - wodDamir, 2008-07-10, 18:13
- Re: Problem with CmdAfter - Paco, 2008-07-10, 17:09
- Re: Problem with CmdAfter - wodgrof, 2008-07-10, 02:00
- Re: Problem with CmdAfter - Paco, 2008-07-09, 13:13
- Re: Problem with CmdAfter - woddrazen, 2008-07-09, 12:29