- Регистрация
- 25.01.2012
- Сообщения
- 1 058
- Благодарностей
- 244
- Баллы
- 63
Today I installed the latest ZP version (5.29.2.0) and in this context I deinstalled some of the older installations of ZP (I had about 21 different ZP installations on the VPS).
I use the Windows scheduler for many projects to run. It calls the .bat files for the different projects created by ZP. After the update and deinstallation of the older ZP versions all of those projects stopped working. After inspecting I found out that ZP creates in the bat-file a "version specific" link to the TasksRunner.exe that starts the projects within ZP (C:\Program Files\ZennoLab\EN\ZennoPoster Pro\5.29.2.0\Progs\TasksRunner.exe). So the scheduled projects stopped working because they had an link to an old version (5.12.3.0) of Zenno's TasksRunner inside the bat file.
Wouldn't it be better to place the TasksRunner.exe in an version independent directory (e.g. User\AppData\ZennoLab) during the installation of ZennoPoster to avoid such troubles? And when creating a .bat-file for a project in ZP it better links to this directory (like C:\Users\Username\AppData\Local\ZennoLab\TasksRunner.exe).
This would save the time for updating/editing the bat-files for all projects.
Thanks.
I use the Windows scheduler for many projects to run. It calls the .bat files for the different projects created by ZP. After the update and deinstallation of the older ZP versions all of those projects stopped working. After inspecting I found out that ZP creates in the bat-file a "version specific" link to the TasksRunner.exe that starts the projects within ZP (C:\Program Files\ZennoLab\EN\ZennoPoster Pro\5.29.2.0\Progs\TasksRunner.exe). So the scheduled projects stopped working because they had an link to an old version (5.12.3.0) of Zenno's TasksRunner inside the bat file.
Wouldn't it be better to place the TasksRunner.exe in an version independent directory (e.g. User\AppData\ZennoLab) during the installation of ZennoPoster to avoid such troubles? And when creating a .bat-file for a project in ZP it better links to this directory (like C:\Users\Username\AppData\Local\ZennoLab\TasksRunner.exe).
This would save the time for updating/editing the bat-files for all projects.
Thanks.