Reply to Thread

Post a reply to the thread: [Execute Programs] before [Install Files]

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 02-13-2017, 04:09 AM
    linder

    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
  • 02-12-2017, 03:31 AM
    andrelernhart

    [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.

Posting Permissions

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