Pyinstaller,temporary file location

203 views
Skip to first unread message

Carica Milica

unread,
Sep 25, 2015, 4:33:30 AM9/25/15
to PyInstaller
First of all, sorry for my English, I have a problem with temporary file that pyinstaller makes, I find my database in C:\Users\User\AppData\Local\VirtualStore\Program Files (x86)\App\tmp ) and after uninstall (using WiX) this file is not removed. So I was wandering if I can aproach temporary file location from my python skript and then somehow remove it? If anybody can help I would  grateful.
Thank you in advance!

Hartmut Goebel

unread,
Sep 25, 2015, 5:11:38 AM9/25/15
to pyins...@googlegroups.com
Am 25.09.2015 um 10:33 schrieb Carica Milica:
First of all, sorry for my English, I have a problem with temporary file that pyinstaller makes, I find my database in C:\Users\User\AppData\Local\VirtualStore\Program Files (x86)\App\tmp ) and after uninstall (using WiX) this file is not removed. So I was wandering if I can aproach temporary file location from my python skript and then somehow remove it? If anybody can help I would  grateful.

I don't know, why the temp-dir is created in the application directory. We are using the Python standard module for creating the files, so please refer to <https://docs.python.org/2/library/tempfile.html#tempfile.tempdir>


--
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP
Information Security Management, Security Governance, Secure Software Development

Goebel Consult, Landshut
http://www.goebel-consult.de

Blog: http://www.goebel-consult.de/blog/openstreetmap-karten-in-typo3-einbinden
Kolumne: http://www.cissp-gefluester.de/2012-09-steht-ein-manta-fahrer-vor-der-uni

Reply all
Reply to author
Forward
0 new messages