Silent install of CCTray

80 views
Skip to first unread message

Brad Stiles

unread,
Jan 26, 2007, 2:37:16 PM1/26/07
to ccnet...@googlegroups.com
Is there any way to silently install CruiseControl or CCTray to a custom location, as opposed to using the Setup.exe? I've looked through the documentation, and I don't see anything. If I missed it, please point me to the spot I should be reading.

I'm looking to set up an automated installation of our tools for both build servers and developers' machines, and the setup program appears to be the simplest way to do this, at least for the server.

Thanks,
Brad

Tom Soderling

unread,
Jan 26, 2007, 2:47:59 PM1/26/07
to ccnet...@googlegroups.com

I’d suggest using MsiExec. 

It’s a free tool that’s part of windows platform SDK and it allows you to install msi installers from the command line using options and property inputs.  To install silently, I think you’ll need the /passive switch

http://msdn2.microsoft.com/en-us/library/aa367988.aspx

 

Hope this helps,

 --> tom

Brad Stiles

unread,
Jan 26, 2007, 3:03:40 PM1/26/07
to ccnet...@googlegroups.com
> I'd suggest using MsiExec.
>
> It's a free tool that's part of windows platform SDK and it allows you
> to install msi installers from the command line using options and
> property inputs. To install silently, I think you'll need the /passive
> switch

How does one tell msiexec to install a ...Setup.exe file? Simply specifying the name that way on the msiexec command line doesn't work. Attempting to do so displays the msiexec help options. Is it as simple as renaming the exe to msi?

Brad


Tom Soderling

unread,
Jan 26, 2007, 3:20:51 PM1/26/07
to ccnet...@googlegroups.com

My mistake.  I was under the impression that the CCNet installers were msi packages. 

Unfortunately MsiExec only works with the Windows Installer technology, so I doubt you will be able to simply rename the installers

 --> tom

 

-----Original Message-----
From: ccnet...@googlegroups.com [mailto:ccnet...@googlegroups.com] On Behalf Of Brad Stiles
Sent: Friday, January 26, 2007 2:04 PM
To: ccnet...@googlegroups.com

Jay Flowers

unread,
Jan 26, 2007, 3:22:49 PM1/26/07
to ccnet...@googlegroups.com
Brad,
Tom's suggestion would be great if the cctray install was an msi installer.  It is not.  It is Nullsoft's NSIS.  I am not aware of how to help you from here.  You might try their docs.

Good Luck!
--
Jay Flowers
----------------------------------------------------------------------
http://jayflowers.com
---------------------------------------------------------------------

Tom Soderling

unread,
Jan 26, 2007, 3:23:44 PM1/26/07
to ccnet...@googlegroups.com

From: ccnet...@googlegroups.com [mailto:ccnet...@googlegroups.com] On Behalf Of Tom Soderling
Sent: Friday, January 26, 2007 2:21 PM
To: ccnet...@googlegroups.com
Subject: [ccnet-user] Re: Silent install of CCTray

 

My mistake.  I was under the impression that the CCNet installers were msi packages. 

Unfortunately MsiExec only works with the Windows Installer technology, so I doubt you will be able to simply rename the installers

 --> tom

 

-----Original Message-----
From: ccnet...@googlegroups.com [mailto:ccnet...@googlegroups.com] On Behalf Of Brad Stiles
Sent: Friday, January 26, 2007 2:04 PM
To: ccnet...@googlegroups.com
Subject: [ccnet-user] Re: Silent install of CCTray

 

 

> I'd suggest using MsiExec. 

Owen Rogers

unread,
Jan 26, 2007, 3:42:15 PM1/26/07
to ccnet...@googlegroups.com
hi brad,

On 26/01/07, Brad Stiles <brads...@bellsouth.net> wrote:
> Is there any way to silently install CruiseControl or CCTray to a custom location, as opposed to using the Setup.exe? I've looked through the documentation, and I don't see anything. If I missed it, please point me to the spot I should be reading.
>
> I'm looking to set up an automated installation of our tools for both build servers and developers' machines, and the setup program appears to be the simplest way to do this, at least for the server.

i'm currently looking into doing this in more detail, but at least as
a starting point if you are willing to accept the defaults, you can
use the /S switch when installing the setup file.
see http://nsis.sourceforge.net/Which_command_line_parameters_can_be_used_to_configure_installers

cheers,
owen.


--
Owen Rogers | http://dotnetjunkies.com/weblog/exortech |
CruiseControl.NET - http://ccnet.thoughtworks.com

Owen Rogers

unread,
Jan 26, 2007, 8:09:05 PM1/26/07
to ccnet...@googlegroups.com
i've updated the docs on confluence with some information about silent
installation:
http://confluence.public.thoughtworks.org/display/CCNET/Basic+Installation

if you really want to reliably automate the deployment, for now, i
would recommend using the binary .zip distribution and just xcopying
the files. the only other things that the installers do is that they
(optionally) register the service and create the vdir -- both of which
can just be done with batch scripts, if desired.
cheers,
owen.

Reply all
Reply to author
Forward
0 new messages