News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

windows silent/unattended install

Started by wolftom, September 20, 2008, 06:50:13 PM

Previous topic - Next topic

wolftom

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?

codeblocks-8.02mingw-setup.exe /S


MortenMacFly

Quote from: wolftom on September 28, 2008, 09:51:49 PM
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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]


superfluousaccount

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!

ovidiu

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!

ollydbg

Quote from: ovidiu 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!

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.

ovidiu

This is because we need it for a national programming contest and all participants must be confident that there is a stable release ...

blueshake

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?

MortenMacFly

Quote from: ovidiu on August 27, 2009, 12:16:42 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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

ovidiu

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

#11
Quote from: wolftom 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?

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!