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.
4452
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.
9181
3 Find Java home
Sample Lua script showing how to find the home folder of the Java runtime environment.
4985
4 Find RegAsm or RegTLib
Sample Lua script showing how to locate the .NET component registration utility (RegAsm.exe) or the Microsoft Visual Studio RegTLib utility (RegTlibv12.exe).
5542
5 GetFileVersion for MSI
Sample Lua script showing how to retrieve the Version and Language strings from a MSI package.
3894
6 Single Instance
Sample Lua code showing how to verify if another instance of your product is already running.
4885
7 Wow64 Sample Script
Sample Lua code demonstrating the use of the Wow64 actions plugin
10226

Our Plugins & Examples Feed

  • Microsoft .NET Framework 4.5.2 Dependency added

    A new dependency installer was added to the site. Users of Setup Factory can now...

  • SQL Server 2014 Express (Database Only)

    A new dependency module was added to the site, now for Microsoft's SQL Server 2014...

Subscribe now!

Advertisement