Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Program installed in Program Files requires elevation?


09 Jun 2013   #1

Windows 7 Professional x64
 
 
Program installed in Program Files requires elevation?

I have a program that wanted to install in a document folder

I have installed it in Program Files, but it requires elevation or it produces errors when running. I know I can tick the Run As ... box in the shortcut, but is there a better way, such as taking ownership of the install folder?

My System SpecsSystem Spec
.

09 Jun 2013   #2

Win 7 Pro x64 SP1, Win 7 Ult x86 SP1
 
 

You could try using this tutorial to see if it helps with this program.
Elevated Program Shortcut - Create for Standard User
My System SpecsSystem Spec
09 Jun 2013   #3

Windows 7 Ultimate x64
 
 

My guess is that you used a portable version of the program instead of a "normal" one.
If so, it's normal that you're getting such errors. Portables often are made to write settings/data to the program folder, together with the main exe. Since users have read/write access to documents folders, it runs ok there, but normally users have read-only access to program files, so it may be failing when writing its stuff there.

The best solution I can think of is to figure out why and what it's being written and instruct the program to go to a document folder/appdata for those instead.
A less elegant and more insecure solution would be to grant all users read/write permission to the folder where the program sits, so it can write at will there whatever it needs.
My System SpecsSystem Spec
.


10 Jun 2013   #4

Windows 7 Professional x64
 
 

Thanks for the replies. The problem with relying on elevation is that it doesn't work when the program is launched by opening a file. It's actually a C compiler, so this happens a lot!

It's not a portable program; I guess the developers just decided it was easier to install in a document folder, rather than mess around with UAC etc.

I will try setting the R/W properties for the install folder.
My System SpecsSystem Spec
11 Jun 2013   #5

Windows 7 Professional x64
 
 

Quote   Quote: Originally Posted by nigelmercier View Post
I will try setting the R/W properties for the install folder.
Seems to have worked, thanks for the replies.
My System SpecsSystem Spec
Reply

 Program installed in Program Files requires elevation?




Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 08:34 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33