diff --git a/sfx/sfx/ProgressDlg.cpp b/sfx/sfx/ProgressDlg.cpp
index be80b24..88ea2c0 100644
--- a/sfx/sfx/ProgressDlg.cpp
+++ b/sfx/sfx/ProgressDlg.cpp
@@ -1023,7 +1023,7 @@ DWORD CProgressDlg::RunInstall()
theApp.m_js.addNative(_T("function SetRegistryKeyValue(root, key, name, val)"), scSetRegistryKeyValue, (void *)this);
theApp.m_js.addNative(_T("function ShowLicenseDlg()"), scShowLicenseDlg, (void *)this);
theApp.m_js.addNative(_T("function SpawnProcess(cmd, params, rundir, block)"), scSpawnProcess, (void *)this);
- theApp.m_js.addNative(_T("function TextFileOpen(filename)"), scTextFileOpen, (void *)this);
+ theApp.m_js.addNative(_T("function TextFileOpen(filename, mode)"), scTextFileOpen, (void *)this);
theApp.m_js.addNative(_T("function TextFileClose(handle)"), scTextFileClose, (void *)this);
theApp.m_js.addNative(_T("function TextFileReadLn(handle)"), scTextFileReadLn, (void *)this);
theApp.m_js.addNative(_T("function TextFileWrite(handle, text)"), scTextFileWrite, (void *)this);
diff --git a/sfx/sfxPackager/sfxPackager.rc b/sfx/sfxPackager/sfxPackager.rc
index f8a0671..76ad01e 100644
Binary files a/sfx/sfxPackager/sfxPackager.rc and b/sfx/sfxPackager/sfxPackager.rc differ
diff --git a/sfxPackagerSetup.sfxpp b/sfxPackagerSetup.sfxpp
index aad0cd2..006a518 100644
--- a/sfxPackagerSetup.sfxpp
+++ b/sfxPackagerSetup.sfxpp
@@ -21,7 +21,7 @@
-
+