|
-
Jul 13th, 2011, 09:38 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Cannot write to the program files directory in Windows7
I normally install my application in a directory in the c:\ drive as the software is only used within the company.
There is some simple security; the program writes a 'bat' file that gets the volume serial number this then this is used to generate a licence file. Both of these files are written in the application directory.
I'm giving the program to an external client and am going to install the program in the program files directory - but I find I cannot write a file to the Windows 7 program files directory.
Is there a way round this?
Or is there an alternative method of having some simple security so that the software cannot be installed on another computer.
Thanks
-
Jul 13th, 2011, 09:54 PM
#2
Re: Cannot write to the program files directory in Windows7
Give the program elevated privileges, or find a different location to write them to; probably using a more standard approach rather than a place that always requires elevated permission to write in to.
-
Jul 14th, 2011, 05:33 AM
#3
Thread Starter
Hyperactive Member
Re: Cannot write to the program files directory in Windows7
Thanks, I will use a different location.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|