[python-win32] Creating a self-contained MSI or self-extracting installation executable

2012-05-21 Thread Sriram Karra
I am working on a web application based on tornado and sqlalchemy that I want to distribute to Windows users so they can install and uninstall with zero pain and execute the program without needing to install anything else (including python or pywin32). After a bit of research it appears like ther

Re: [python-win32] Creating a self-contained MSI or self-extracting installation executable

2012-05-21 Thread Nivth Ket
Shiram Karra, I am in no way experienced, but I do believe that pywin32 would not help with the first or second. In my opinion and experience, the easiest way to make the exe would be py2exe, and you should look to NSIS for making your installeer, as NSIS is fairly easy to use. Hoping I helped, Nin

[python-win32] DIR reports file timestamp and size, but os.path.getctime(), os.path.getsize() raise WindowsError [Error 5] Access is denied

2012-05-21 Thread python
Wondering if any of you have stumbled across the following behavior: I'm doing a recursive directory listing of my Windows folder and I can access the timestamps and file sizes of all files except the following 6 files: In the \windows\microsoft.net\framework\v2.0.50727\config folder: enterprise

Re: [python-win32] DIR reports file timestamp and size, but os.path.getctime(), os.path.getsize() raise WindowsError [Error 5] Access is denied

2012-05-21 Thread Preston Landers
I'm guessing Microsoft set some unusual ACLs on the files for security reasons. Have you looked at the advanced security options for these files in Windows Explorer? Have you tried running the script as Administrator? If you don't really care about the files you can skip them. If for some reaso

Re: [python-win32] Creating a self-contained MSI or self-extracting installation executable

2012-05-21 Thread Sriram Karra
Hm, ok. I think I will just go with py2exe and NSIS. Thanks Sriram On Mon, May 21, 2012 at 9:19 PM, Nivth Ket wrote: > Shiram Karra, I am in no way experienced, but I do believe that pywin32 > would not help with the first or second. In my opinion and experience, the > easiest way to make the e