Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2008
    Posts
    10

    Problem executing LUA scripts

    I have three custom actions:

    CUSTOMACTION1 -> Execute vbscript
    CUSTOMACTION2 -> Execute vbscript
    CUSTOMACTION3 -> Execute LUA script

    On the Exit Dialog (exit success), I have published three events for the Finish Button (the last button viewed during de installation progress...). I have specified the numeric timing secuence to do this action in order. The last published event executes his the default published action (Event: Dialog --- Return).

    Definitively, when i push Finish button, CUSTOMACTION1 and CUSTOMACTION2 are executed, but CUSTOMACTION3 (exe LUA) do nothing.
    This LUA script file only have one sentence:
    Code:
    Dialog.Message("Hello","Hello", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
    -------------------------------------------
    That are the options for CUSTOMACTION3:

    Scheduling: Inmediate.
    Return: Ignore.
    Supress modularization: unchecked.

    Timing secuence empty.
    ------------------------------------------

    Published Events for Finish button:
    Event: DoAction Value: CUSTOMACTION1 (timing secuence 996).
    Event: DoAction Value: CUSTOMACTION2 (timing secuence 997).
    Event: DoAction Value: CUSTOMACTION3 (timing secuence 998).
    Event: EndDialog Value:Return (timing secuence 999).

    -----------------------------------------

    What is the problem?
    Last edited by Jacobo; 07-29-2008 at 01:10 AM.

  2. #2
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150
    Be sure that you are using the latest version 2.1.1002.0 since there was a bug fixed for this version dealing with the Lua Script custom action.

    - What happens if you just have the LuaScript action and not the other 2 first? Does it work?

    Adam Kapilik

  3. #3
    Join Date
    Jul 2008
    Posts
    10
    Yes, my MSI Factory version is 2.1.1002.0

    I was initiating one windows service when push Finish button. With vbscript runs without problems, but LUA script don't execute.

    I think that LUA script execution associated to a 'DoAction' have a bug...but I am not sure, because I don't know if my way to execute this script, when I push one button, is the correct way.

    Thanks. My best regards.

  4. #4
    Join Date
    Jul 2008
    Posts
    10
    Quote Originally Posted by Adam View Post
    - What happens if you just have the LuaScript action and not the other 2 first? Does it work?
    Adam Kapilik
    I am going to do this. And tomorrow I'll to tell you. Anyhow, there should not be problems with it.

    Thanks. My best regards.

Similar Threads

  1. Future of APMS
    By bule in forum AutoPlay Media Studio 6.0
    Replies: 165
    Last Post: 03-24-2008, 10:31 PM
  2. Replies: 1
    Last Post: 05-11-2007, 11:24 AM
  3. downloading scripts from server - problem
    By EugenSlo in forum TrueUpdate 2.0
    Replies: 1
    Last Post: 01-29-2006, 04:35 PM
  4. Lua Boolean function return problem
    By tkilshaw in forum Setup Factory 7.0
    Replies: 3
    Last Post: 04-19-2005, 09:05 PM

Posting Permissions

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