[Bug 52163] New: postgresql-9.3 installer expects scrrun:filesys_GetTempName to return filename with TMP suffix

WineHQ Bugzilla wine-bugs at winehq.org
Sat Dec 4 14:53:57 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=52163

            Bug ID: 52163
           Summary: postgresql-9.3 installer expects
                    scrrun:filesys_GetTempName to return filename with TMP
                    suffix
           Product: Wine
           Version: 6.23
          Hardware: x86-64
               URL: https://web.archive.org/web/20211009084355if_/https://
                    get.enterprisedb.com/postgresql/postgresql-9.3.25-1-wi
                    ndows-x64.exe
                OS: Linux
            Status: NEW
          Keywords: download
          Severity: normal
          Priority: P2
         Component: scrrun
          Assignee: wine-bugs at winehq.org
          Reporter: sloper42 at yahoo.com
      Distribution: ---

This is followup from https://bugs.winehq.org/show_bug.cgi?id=51971

Test with postgresql-9.3 installer from [1]. It runs a script during
installation 
similar to
https://github.com/three-plus-three/tpt_env_amd64/blob/master/postgresql/installer/server/initcluster.vbs
that reports non-critical error to main install, script itself terminates.

This part

strBatchFile = Replace(objFso.GetTempName, ".tmp", ".bat")
is not working, because GetTempName returns "rad12345.tx".

File is not renamed to *.bat and cannot be started by objShell.Run later.


[1] https://www.enterprisedb.com/postgresql-tutorial-resources-training?cid=340

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list