andrelernhart
02-12-2017, 04:31 AM
Good day,
I need to actualize .chm files (replace or patch). This works fine.
I also need to actualize a database - an app (#include support file...) performs some magic doing INSERT, UPDATE, DELETE... This works most the time, but sometimes it fails.
With the given order to first installs the files, and later executing the support app, the files are updated, but the DB is not, and we have a nice mess.
Is there a way to change the order with which the tasks are executed - say, first trying to actualize the DB (Execute Programs), and if it doesn't fail, install the files?
Moving or copying the [Execute Programs] section to a place in the upper part of the script (before install files) did not work.
Any hint will be highly appreciated, thanks in advance.
I need to actualize .chm files (replace or patch). This works fine.
I also need to actualize a database - an app (#include support file...) performs some magic doing INSERT, UPDATE, DELETE... This works most the time, but sometimes it fails.
With the given order to first installs the files, and later executing the support app, the files are updated, but the DB is not, and we have a nice mess.
Is there a way to change the order with which the tasks are executed - say, first trying to actualize the DB (Execute Programs), and if it doesn't fail, install the files?
Moving or copying the [Execute Programs] section to a place in the upper part of the script (before install files) did not work.
Any hint will be highly appreciated, thanks in advance.