On the "ExitDialog" dialog screen I have added a checkbox for determining if the help file should be opened when the "Finish" button clicked.
I added a "Published Event" to the "Finish" button, to run conditionally if the checkbox is selected. The variable used for the condition is "IFLAUNCHHELP" and that is what I entered for the "Condition" field in the published event.
The problem I have is when it comes to creating a "Custom Action" to open the file. I can create a custom action for "run executable" which works when I select an .exe file, but it doesn't work when I choose my help file (which is .htm file).
That in part makes sense, as it's not an executable. So the question is: how do I get it to open the .htm file? (in it's default application)
I have tried playing the the LUA script custom action type, but I am not comfortable with that, and wasn't even sure if it was the right path. If I need to use the LUA option, an example would be useful.
Thanks
I added a "Published Event" to the "Finish" button, to run conditionally if the checkbox is selected. The variable used for the condition is "IFLAUNCHHELP" and that is what I entered for the "Condition" field in the published event.
The problem I have is when it comes to creating a "Custom Action" to open the file. I can create a custom action for "run executable" which works when I select an .exe file, but it doesn't work when I choose my help file (which is .htm file).
That in part makes sense, as it's not an executable. So the question is: how do I get it to open the .htm file? (in it's default application)
I have tried playing the the LUA script custom action type, but I am not comfortable with that, and wasn't even sure if it was the right path. If I need to use the LUA option, an example would be useful.
Thanks
Comment