installer and permissions on windows 7

tank junior

New member
Local time
5:56 AM
Messages
1
Hi,

I have deployed an app using python + py2exe. The app is working fine on XP but on
windows 7, app is not able to write and modify it's own files. It's because
"permissions" on win 7. After installing I have to manually change the permissions on executable in order to work with out any problems.
How I set "write" and "modify" permissions while producing an executable? I am on
XP and Python 2.6.5.

To create an installer I am using "InnoSetup". Posting this query there suggests
that this has nothing to do with "install builder".

Cheers

Prashant
 

My Computer My Computer

OS
Windows 7 Ultimate x86
You don't change the permissions, you run the application as admin. Or better yet. Do not change the files in "Program Files" but rather use the User's AppData (Application Data in Windows XP) folder in there profile. That is what that folder is for, application data.

http://www.sevenforums.com/tutorials/11841-run-administrator.html
 
Last edited by a moderator:

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
Back
Top