User forums > Help
Problem with installation
aravinthan6206:
hi... I recently downloaded the codeblocks-12.11mingw-setup for windows 7. When i try to install, i get a message "Cannot create target folder. Installation cannot continue. (Probably missing access rights?)." I have administrative privileges and there are no other users in my laptop. Need solution...
MortenMacFly:
--- Quote from: aravinthan6206 on December 10, 2012, 06:48:01 am ---I have administrative privileges and there are no other users in my laptop. Need solution...
--- End quote ---
Being admin on a Win7 computer doesn't mean applications nor installers have admin rights, too. Please right-click on the installer and select "Run as administrator". Alternatively install in a folder where you have write access right.
aravinthan6206:
thank you... it worked.. i have installed tons of software jst by double clicking.. this was the first time i encountered such problem..
MortenMacFly:
--- Quote from: aravinthan6206 on December 10, 2012, 01:38:11 pm ---thank you... it worked.. i have installed tons of software jst by double clicking.. this was the first time i encountered such problem..
--- End quote ---
This is Win7 magic: It uses a certain pattern to detect, whether its a setup you are running or an app. If the pattern matches, you are automatically asked for permission (UAC), otherwise you have to take care yourself. Note that if this pattern matches, it also requests UAC, even if the setup would actually not require admin rights... its just a pattern, not working reliable. That's why it may work or not - just as you experienced.
Complains to Microsoft, please.
asaharia:
Morten, I disagree with your "Windows 7 Magic" comment... Don't dismiss this issue yet ! There's no magic here - the behaviour is highly deterministic and reliable. Aravinthan is right about having installed numerous software packages without having to run their setups as Administrator. I have the exact same problem on my Windows 7 64-Bit box. To put things in perspective, your own setup for Code::Blocks 10.05 does not have this problem - it installs correctly even without running it as Administrator. You can try it out yourself, on any Windows 7 64-Bit machine. Obviously, something has changed / broken in the new installer (v12.11, MinGW Bundle) ! And it doesn't end there. Even after running the new setup "as Administrator", Code::Blocks cannot be uninstalled from "Programs and Features" in the control panel. I suspect "uninst.exe" in the installation directory would also need to be run "as Administrator" for a successful uninstall, but I haven't tried that myself. Uninstalling it from "Programs and Features" in the control panel doesn't display any errors, but it leaves all the files and shortcuts behind; I had to delete the files from my installation folder (C:\Program Files (x86)\CodeBlocks) manually after attempting to uninstall it from the control panel. A broken installer / uninstaller is a serious problem. I request you to look into the matter, and release an updated setup for Windows, if possible. Please note that I have experienced the exact same behaviour on 2 different machines running Windows 7 64-Bit, so reproducing it should easy. Let me know if you need any further information about my experience with this issue. Thanks, and keep up the good work !
Navigation
[0] Message Index
[#] Next page
Go to full version