Example Code

In this category you can find several Lua code samples, showing how you can perform specific tasks.
   Display # 
# Article Title Hits
1 Center Dialogs
Sample Lua script excerpts for Setup Factory, for always centering dialogs, even when they have different sizes.
2226
2 Command Line Arguments
Here you find code samples showing how to parse command line arguments passed to your application built with AutoPlay Media Studio, Setup Factory or TrueUpdate.
4277
3 Find Java home
Sample Lua script showing how to find the home folder of the Java runtime environment.
2365
4 Find RegAsm
Sample Lua script showing how to locate the .NET component registration utility (RegAsm.exe).
2282
5 GetFileVersion for MSI
Sample Lua script showing how to retrieve the Version and Language strings from a MSI package.
1924
6 Single Instance
Sample Lua code showing how to verify if another instance of your product is already running.
2365
7 Wow64 Sample Script
Sample Lua code demonstrating the use of the Wow64 actions plugin
5418

Our Plugins & Examples Feed

  • HTTP Actions plugin updated to 2.1.0.0

    Two new actions were added to the HTTP plugin:

    • HTTP.ResumeDownload()
    • HTTP.ResumeDownloadSecure()

    With these new "Resume" actions, you can...

  • Unicode Actions plugin updated to 2.0.3.0

    A new version of the Unicode actions plugin was released.

    Changes were made to the code...

Subscribe now!

Customer Login



mindquake.com.br Webutation

Click to check at AVG ThreadLabs

All installers digitally signed

Click to visit McAfee SiteAdvisor

Mindquake.com.br is gold certified

PageRank Checker