Python Forum
Building a .msi with Admin permissions
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Building a .msi with Admin permissions
#1
I am trying to create an executable from my python/tkinter code that can be installed by other users. I have been able to successfully do this with cx_Freeze, however, the .exe is unable to write to files in the working or specified directories. After researching this issue, I discovered that this may be because the .exe does not have the appropriate read/write permissions.
Sure enough, when I tried running the .exe with Admin permissions, I was able to perform the relevant functions. Since this worked, I was wondering whether there is a way to build the cx_Freeze .msi while specifying user permissions in the setup.py file. I have not been able to find any documentation about this, so I am hoping that you can help with this. Any help is greatly appreciated!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Could you please clarify where i did mistake also how run without admin right Abubakkar 1 1,794 Jun-14-2021, 09:32 AM
Last Post: Larz60+
  Pyinstaller exe file permissions Rainbow_Crash 1 3,186 Jul-11-2019, 04:53 PM
Last Post: SheeppOSU
  Problem with permissions gehrenfeld 0 2,016 Dec-15-2018, 05:31 PM
Last Post: gehrenfeld
  Django-admin.exe HenryJ 1 4,388 Mar-07-2018, 04:17 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020