+ Reply to Thread
Results 1 to 2 of 2

Thread: [Execute Programs] before [Install Files]

  1. #1

    Default [Execute Programs] before [Install Files]

    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.

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: [Execute Programs] before [Install Files]

    Andre,

    the script is completely from "top to bottom". What you see in the script is what you get at installer runtime. So if you move your "Run Program" action to a place before the "Install File" action then it is executed before the file installation process. BTW, make sure that you have "Run program once the installation exists" in the Run Program "Finish Dialog" tab disabled. And you should "wait" until the external program has finished. Otherwise, the installation continues immediately.

    Friedrich
    Attached Images Attached Images  

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •