Author Topic: windows silent/unattended install  (Read 20616 times)

Offline wolftom

  • Single posting newcomer
  • *
  • Posts: 3
windows silent/unattended install
« on: September 20, 2008, 06:50:13 pm »
Hello
I've found the "/S" parameter to run a silent install except the final "Do you want to run Code::block now?"
Does anybody have idea?

Code
codeblocks-8.02mingw-setup.exe /S 
« Last Edit: September 20, 2008, 07:02:59 pm by wolftom »

Offline wolftom

  • Single posting newcomer
  • *
  • Posts: 3
Re: windows silent/unattended install
« Reply #1 on: September 28, 2008, 09:51:49 pm »
nobody knows?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: windows silent/unattended install
« Reply #2 on: September 29, 2008, 09:21:17 am »
nobody knows?
Nope. This message cannot be switched off. (I simply forgot to take care of a silent installer). I'll do a note for the next installer of the next release.

As of now: If you really need a silent install you can also just copy the "installed" version of C::B to any other PC. There is no registry hocus-pocus we do...
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 wolftom

  • Single posting newcomer
  • *
  • Posts: 3
Re: windows silent/unattended install
« Reply #3 on: October 02, 2008, 07:57:10 pm »
thanks

superfluousaccount

  • Guest
Re: windows silent/unattended install
« Reply #4 on: December 21, 2008, 06:38:15 am »
another thing to note for a truly silent install is that when it finds that the destination directory already exists, the user is still prompted.
also, it still shows the codeblocks banner with /S

keep up the good work!

Offline ovidiu

  • Single posting newcomer
  • *
  • Posts: 3
Re: windows silent/unattended install
« Reply #5 on: August 27, 2009, 12:16:42 pm »
Hello,

Please tell me if there is an install parameter to run a full silent install.
I need to install the keyboard configuration plugin.

Thanks!

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: windows silent/unattended install
« Reply #6 on: August 27, 2009, 12:27:07 pm »
Hello,

Please tell me if there is an install parameter to run a full silent install.
I need to install the keyboard configuration plugin.

Thanks!

Why not downloading a nightly build version, and all the plugins were included.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline ovidiu

  • Single posting newcomer
  • *
  • Posts: 3
Re: windows silent/unattended install
« Reply #7 on: August 27, 2009, 01:12:35 pm »
This is because we need it for a national programming contest and all participants must be confident that there is a stable release ...

Offline blueshake

  • Regular
  • ***
  • Posts: 459
Re: windows silent/unattended install
« Reply #8 on: August 27, 2009, 01:35:46 pm »
even the stable release have bugs too.there is no software which are definely stable.
Keep low and hear the sadness of little dog.
I fall in love with a girl,but I don't dare to tell her.What should I do?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: windows silent/unattended install
« Reply #9 on: August 27, 2009, 01:40:52 pm »
Please tell me if there is an install parameter to run a full silent install.
Not in the 08/02 release. But the installer script in SVN is already patched to support silent install. So you would have to create the installer yourself (using the 08/02 release if you like).

Another alternative is *not* to install it at all but just copy the folder.
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 ovidiu

  • Single posting newcomer
  • *
  • Posts: 3
Re: windows silent/unattended install
« Reply #10 on: August 27, 2009, 04:06:35 pm »
Thank you!
I agree with both of you.
I simply need the best arguments (reasons) to present to the board which finally will take a decision.

www1980

  • Guest
Re: windows silent/unattended install
« Reply #11 on: July 14, 2011, 03:31:13 am »
Hello
I've found the "/S" parameter to run a silent install except the final "Do you want to run Code::block now?"
Does anybody have idea?

Code
codeblocks-8.02mingw-setup.exe /S 
if you use batch file for silent install use taskkill command at the end to kill setup after finishing installation.
I would do something like this:
one batch file:
codeblocks-8.02mingw-setup.exe /S
then run second batch file:
taskkill /F /IM codeblocks-8.02mingw-setup.exe
you're done!
« Last Edit: July 14, 2011, 03:37:46 am by www1980 »