Dears,
exploring and using Ketarin more and more I want to go further in automation after my first round of downloads.
However what is not really clear to me is when to use setup commands and/or when to use commands after download ?
Let me try to explain. I have Ditto.exe running and what I would like to achieve is a download of a new version, extract the zip and install as well copy over the existing settings file which is located in another folder and copy this over the setting file from the just extracted zip so I can get my own settings again.
Today I have in the setup section 3 commands.
1) {NirCmd} killprocess Ditto.exe << where {NirCmd} as a globel var. has "U:\Portable Files\nircmd.exe"
2) 7Z.exe x "{file}" -o"C:\Portable Files\" -y << this is going well
3) "c:\portable files\Ditto\ditto.exe" << to start Ditto again after extract
The issue is that the kill process does not work. Ditto is not closed. this is I guess resulting in an error when using the install option from Ketarin.
In the commands after download I have the following:
xcopy U:\CentralFiles\ditto.settings "c:\portable files\Ditto\"
xcopy U:\CentralFiles\mycopy.xml "c:\portable files\Ditto\Themes\"
Any help on doing this better is appreciated as will with a explanation when to use the setup and when the commands after download or even when to use both the same time....