Code::Blocks Forums

User forums => Help => Topic started by: jokoon on October 05, 2014, 05:02:40 pm

Title: Do I need admin rights to install codeblocks ?
Post by: jokoon 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 ?
Title: Re: Do I need admin rights to install codeblocks ?
Post by: stahta01 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.
Title: Re: Do I need admin rights to install codeblocks ?
Post by: jokoon 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.
Title: Re: Do I need admin rights to install codeblocks ?
Post by: oBFusCATed 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.
Title: Re: Do I need admin rights to install codeblocks ?
Post by: jokoon 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.
Title: Re: Do I need admin rights to install codeblocks ?
Post by: Miguel Gimenez 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.
Title: Re: Do I need admin rights to install codeblocks ?
Post by: jokoon 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.
Title: Re:
Post by: MortenMacFly on October 06, 2014, 09:38:05 pm
There is a special installer for non admin installs.look at the download page for details...
Title: Re:
Post by: jokoon 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.
Title: Re: Do I need admin rights to install codeblocks ?
Post by: oBFusCATed on October 07, 2014, 12:20:53 am
For the record I cannot find such installer, too.
Title: Re:
Post by: MortenMacFly on October 07, 2014, 05:19:19 am
http://sourceforge.net/projects/codeblocks.berlios/files/codeblocks-13.12-nosetup.zip/download
Title: Re:
Post by: MortenMacFly on October 07, 2014, 05:22:18 am
http://sourceforge.net/projects/codeblocks/files/Binaries/13.12/Windows/codeblocks-13.12-nosetup.zip/download