OSDN Git Service

Fix the problem that the plug-in setting window cannot be opened on 32-bit OS
authorTakashi Sawanaka <sdottaka@users.sourceforge.net>
Sat, 22 Apr 2023 04:09:03 +0000 (13:09 +0900)
committerTakashi Sawanaka <sdottaka@users.sourceforge.net>
Sat, 22 Apr 2023 04:09:03 +0000 (13:09 +0900)
Plugins/dlls/ApplyPatch.sct
Plugins/dlls/CompareMSExcelFiles.sct
Plugins/dlls/CompareMSPowerPointFiles.sct
Plugins/dlls/CompareMSVisioFiles.sct
Plugins/dlls/CompareMSWordFiles.sct
Plugins/dlls/PrediffLineFilter.sct

index f2a73de..b2a53f5 100644 (file)
@@ -253,7 +253,7 @@ Function ShowSettingsDialog()
     tfile.Write Translate(getResource("dialog1"))
     tfile.Close
     exportSettingsToJSONFile jsonfile
-    mshta = wsh.ExpandEnvironmentStrings("%SystemRoot%\mshta.exe")
+    mshta = wsh.ExpandEnvironmentStrings("%SystemRoot%\System32\mshta.exe")
     If Not fso.FileExists(mshta) Then
         mshta = wsh.ExpandEnvironmentStrings("%SystemRoot%\SysWOW64\mshta.exe")
     End If
index 3ba6ca0..9b28a35 100644 (file)
@@ -660,7 +660,7 @@ Function ShowSettingsDialog()
        tfile.Write Translate(getResource("dialog1"))
        tfile.Close
        exportSettingsToJSONFile jsonfile
-       mshta = wsh.ExpandEnvironmentStrings("%SystemRoot%\mshta.exe")
+       mshta = wsh.ExpandEnvironmentStrings("%SystemRoot%\System32\mshta.exe")
        If Not fso.FileExists(mshta) Then
                mshta = wsh.ExpandEnvironmentStrings("%SystemRoot%\SysWOW64\mshta.exe")
        End If
index f282b10..70dafb0 100644 (file)
@@ -346,7 +346,7 @@ Function ShowSettingsDialog()
        tfile.Write Translate(getResource("dialog1"))
        tfile.Close
        exportSettingsToJSONFile jsonfile
-       mshta = wsh.ExpandEnvironmentStrings("%SystemRoot%\mshta.exe")
+       mshta = wsh.ExpandEnvironmentStrings("%SystemRoot%\System32\mshta.exe")
        If Not fso.FileExists(mshta) Then
                mshta = wsh.ExpandEnvironmentStrings("%SystemRoot%\SysWOW64\mshta.exe")
        End If
index 83bc1a3..79ab2a9 100644 (file)
@@ -304,7 +304,7 @@ Function ShowSettingsDialog()
        tfile.Write Translate(getResource("dialog1"))
        tfile.Close
        exportSettingsToJSONFile jsonfile
-       mshta = wsh.ExpandEnvironmentStrings("%SystemRoot%\mshta.exe")
+       mshta = wsh.ExpandEnvironmentStrings("%SystemRoot%\System32\mshta.exe")
        If Not fso.FileExists(mshta) Then
                mshta = wsh.ExpandEnvironmentStrings("%SystemRoot%\SysWOW64\mshta.exe")
        End If
index 3603eb8..d6d474b 100644 (file)
@@ -343,7 +343,7 @@ Function ShowSettingsDialog()
        tfile.Write Translate(getResource("dialog1"))
        tfile.Close
        exportSettingsToJSONFile jsonfile
-       mshta = wsh.ExpandEnvironmentStrings("%SystemRoot%\mshta.exe")
+       mshta = wsh.ExpandEnvironmentStrings("%SystemRoot%\System32\mshta.exe")
        If Not fso.FileExists(mshta) Then
                mshta = wsh.ExpandEnvironmentStrings("%SystemRoot%\SysWOW64\mshta.exe")
        End If
index 30e46a4..5ca4e94 100644 (file)
@@ -167,7 +167,7 @@ Function ShowSettingsDialog()
   tfile.Write Translate(getResource("dialog1"))\r
   tfile.Close\r
   exportSettingsToJSONFile jsonfile\r
-  mshta = wsh.ExpandEnvironmentStrings("%SystemRoot%\mshta.exe")\r
+  mshta = wsh.ExpandEnvironmentStrings("%SystemRoot%\System32\mshta.exe")\r
   If Not fso.FileExists(mshta) Then\r
     mshta = wsh.ExpandEnvironmentStrings("%SystemRoot%\SysWOW64\mshta.exe")\r
   End If\r