Re: python-win32 Digest, Vol 242, Issue 2

"Wuping Xin" <[email protected]> Tue, 05 Sep 2023 19:11:45 +0000
Newsgroups gmane.comp.python.windows
Message-ID <[email protected]>
Did you run your "wrapped exe" package on the same computer where the 
package was wrapped,  or on a new computer?

If it was running on a new computer, probably it won't work because 
pywin32 is dependent on certain system registry entries.  PyInstaller 
does not seem to package the registry.

Wuping


------ Original Message ------
From [email protected]
To [email protected]
Date 9/5/2023 1:58:14 PM
Subject python-win32 Digest, Vol 242, Issue 2

>Send python-win32 mailing list submissions to
>[email protected]
>
>To subscribe or unsubscribe via the World Wide Web, visit
>https://mail.python.org/mailman/listinfo/python-win32
>or, via email, send a message with subject or body 'help' to
>[email protected]
>
>You can reach the person managing the list at
>[email protected]
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of python-win32 digest..."
>
>
>Today's Topics:
>
>    1. Exe not working correctly (Nasser Issa)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Tue, 5 Sep 2023 17:46:09 +0000
>From: Nasser Issa <[email protected]>
>To: "[email protected]" <[email protected]>
>Subject: [python-win32] Exe not working correctly
>Message-ID:
>	<IA1PR11MB82248C3213919ED0379E6687C8E8A@IA1PR11MB8224.namprd11.prod.outlook.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hello There,
>
>Currently been working with PyWin32 to interact with the Event Log and I'm trying to turn my Python script into a Windows executable. I'm using PyInstaller to convert my script into exe, however when I run my exe the  TimeCreated field from the Windows Event is 'None' but when I run the program as a script it works perfectly fine. So, I guess what I'm asking is why does the program work as a python script but not as an executable, I also try adding the DLLs like pywintype310 and few others when building exe with PyInstaller.
>
>Best,
>Nas
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: <https://mail.python.org/pipermail/python-win32/attachments/20230905/bde905d7/attachment.html>
>-------------- next part --------------
>A non-text attachment was scrubbed...
>Name: iWEX-exe.png
>Type: image/png
>Size: 29178 bytes
>Desc: iWEX-exe.png
>URL: <https://mail.python.org/pipermail/python-win32/attachments/20230905/bde905d7/attachment.png>
>-------------- next part --------------
>A non-text attachment was scrubbed...
>Name: iWEX-script.png
>Type: image/png
>Size: 39169 bytes
>Desc: iWEX-script.png
>URL: <https://mail.python.org/pipermail/python-win32/attachments/20230905/bde905d7/attachment-0001.png>
>-------------- next part --------------
>A non-text attachment was scrubbed...
>Name: iWEX-script.png
>Type: image/png
>Size: 39169 bytes
>Desc: iWEX-script.png
>URL: <https://mail.python.org/pipermail/python-win32/attachments/20230905/bde905d7/attachment-0002.png>
>
>------------------------------
>
>Subject: Digest Footer
>
>_______________________________________________
>python-win32 mailing list
>[email protected]
>https://mail.python.org/mailman/listinfo/python-win32
>
>
>------------------------------
>
>End of python-win32 Digest, Vol 242, Issue 2
>********************************************