Author Topic: Do I need admin rights to install codeblocks ?  (Read 12365 times)

Offline jokoon

  • Single posting newcomer
  • *
  • Posts: 5
Do I need admin rights to install codeblocks ?
« on: October 05, 2014, 05:02:40 pm »
I'm planning to use codeblocks on a computer I don't have admin rights on. I'm planning to use the mingw version.

The unofficial portable version of codeblocks doesn't seem very up to date...

Do I need admin rights ?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7592
    • My Best Post
Re: Do I need admin rights to install codeblocks ?
« Reply #1 on: October 05, 2014, 08:07:07 pm »
Do I need admin rights ?

Edit: No, you do NOT for Code::Blocks; not sure about the MinGW installer.
(You can just copy the MinGW files from another machine; but, CB MinGW installer might need Admin right.)

I suggest using the zipped installation of CB; I have not verified that it still exists on sf.net.

Tim S.
« Last Edit: October 05, 2014, 08:09:22 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline jokoon

  • Single posting newcomer
  • *
  • Posts: 5
Re: Do I need admin rights to install codeblocks ?
« Reply #2 on: October 05, 2014, 10:42:50 pm »
thanks for the quick answer :) !

Yes, I found the "no-setup" zip, but it doesn't seem to come with any compiler.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Do I need admin rights to install codeblocks ?
« Reply #3 on: October 06, 2014, 01:12:44 am »
As far as I know the installer automatically requests admin rights if needed.

If you don't have admin access to the computer you have to install in non-default folder.

The compiler we're shipping is TDM 4.8 (I think) and you can install it separately.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline jokoon

  • Single posting newcomer
  • *
  • Posts: 5
Re: Do I need admin rights to install codeblocks ?
« Reply #4 on: October 06, 2014, 03:05:12 pm »
If you don't have admin access to the computer you have to install in non-default folder.

What do you mean ? How do I "install in non-default folder" ?

Do you mean I have to install mingw separately ? Or do I have to supply the codeblock+mingw installer some particular parameter ? Because once I click on that installer I'm asked to supply the admin password.

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1564
Re: Do I need admin rights to install codeblocks ?
« Reply #5 on: October 06, 2014, 04:59:05 pm »
Windows has a "smart" ??? system for deciding when to ask for admin rights. If the executable name contains words like INSTALL, SETUP or similar, it will ask for admin rights, even if not needed.

Try removing those dangerous words from the installer's name.

Offline jokoon

  • Single posting newcomer
  • *
  • Posts: 5
Re: Do I need admin rights to install codeblocks ?
« Reply #6 on: October 06, 2014, 05:45:41 pm »
Windows has a "smart" ??? system for deciding when to ask for admin rights. If the executable name contains words like INSTALL, SETUP or similar, it will ask for admin rights, even if not needed.

Try removing those dangerous words from the installer's name.

This did not help, I renamed the 'codeblocks-13.12mingw-setup-TDM-GCC-481.exe' installer to 'tre.exe', it still asks for a password.
« Last Edit: October 06, 2014, 05:48:19 pm by jokoon »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re:
« Reply #7 on: October 06, 2014, 09:38:05 pm »
There is a special installer for non admin installs.look at the download page for details...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline jokoon

  • Single posting newcomer
  • *
  • Posts: 5
Re:
« Reply #8 on: October 06, 2014, 09:54:07 pm »
There is a special installer for non admin installs.look at the download page for details...

http://www.codeblocks.org/downloads/binaries#windows

I don't see anything about an installer for non admins.

Anyway, I downloaded TDM-GCC separately from http://tdm-gcc.tdragon.net/ and codeblock no-setup, and it worked.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Do I need admin rights to install codeblocks ?
« Reply #9 on: October 07, 2014, 12:20:53 am »
For the record I cannot find such installer, too.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ