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@winehq.org Reporter: sloper42@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/ins... 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