<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Am 06.10.2014 um 23:04 schrieb Kevin
      Hall:<br>
    </div>
    <blockquote cite="mid:543303C1.8060504@hallictservices.co.uk"
      type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      Hi Everyone<br>
      <br>
      I would like to do this:<br>
      <br>
      WPKG runs an AutoIt GUI which asks the user "Do you want to
      install program x ? Yes No"<br>
      <br>
      If answer$ = yes, WPKG installs the program.<br>
      <br>
      If answer$ = no, WPKG does not install the program but continues
      processing.<br>
      <br>
      How do I pass the variable answer$ from AutoIt back to WPKG?<br>
    </blockquote>
    WPKG is designed to run without user interaction and in the context
    of an administrative user.<br>
    <br>
    There is a file check of type execute which checks against the
    result (returned error code), but that is not suitable.<br>
    <br>
    Your AutoIt program must return 0 (zero) or any other value, then
    you could use it as the first install command and the package
    installation would only proceed on the return of zero.<br>
    <br>
    Still I think that the Administrator decides which software has to
    go on which computer and user has only the ability to use it or not,
    so there is no need to let the user decide what to install.<br>
    <pre class="moz-signature" cols="72">

--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?</pre>
  </body>
</html>