aboutsummaryrefslogtreecommitdiff
path: root/devtools/create_project/scripts/installer.vbs
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/create_project/scripts/installer.vbs')
-rw-r--r--devtools/create_project/scripts/installer.vbs16
1 files changed, 15 insertions, 1 deletions
diff --git a/devtools/create_project/scripts/installer.vbs b/devtools/create_project/scripts/installer.vbs
index 3348b692e5..716fa279a9 100644
--- a/devtools/create_project/scripts/installer.vbs
+++ b/devtools/create_project/scripts/installer.vbs
@@ -21,6 +21,20 @@
'
'/
+''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
+' This script calls the makensis tool to generate a NSIS Windows installer for ScummVM
+'
+' It tries to read the NSIS installation folder from the registry and then calls the
+' command line script compiler to create the installer.
+'
+' This is called from the postbuild.cmd batch file
+''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
+
+'================================================================
+' TODO: Reduce duplication with revision.vbs script
+' (ReadRegistryKey and ParseCommandLine are identical)
+'================================================================
+
Option Explicit
Dim FSO : Set FSO = CreateObject("Scripting.FileSystemObject")
@@ -167,4 +181,4 @@ Function ReadRegistryKey(shive, subkey, valuename, architecture)
Set Outparams = objReg.ExecMethod_("GetStringValue", Inparams,,objCtx)
ReadRegistryKey = Outparams.SValue
-End Function \ No newline at end of file
+End Function