Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unattended installation switch for PowerShell?

774 views
Skip to first unread message

Sung M Kim

unread,
Nov 30, 2006, 10:15:02 AM11/30/06
to
Has anyone tried to install during Unattedned installation for Windows
XP SP2?
I wonder if it is even possible to install PowerShell
that way both physically(any switches for silent installation?) and
legally(license issues)

It'd be great to just have PowerShell installed
for all the computers that I would have to install unattended ;)

RichS

unread,
Nov 30, 2006, 2:30:01 PM11/30/06
to
Running windowsxp-kb926139-x86-enu.exe /?

lists a number of switches including

/quiet
/passive
/norestart

It has been stated that PowerShell is a Windows update and it appears in the
list of updates in Add\Remove Programs so it would be a fair assumption that
it can be installed int that way


--
Richard Siddaway

Please note that all scripts are supplied "as is" and with no warranty

Sung M Kim

unread,
Nov 30, 2006, 2:42:16 PM11/30/06
to

RichS wrote:
> Running windowsxp-kb926139-x86-enu.exe /?
Yupz, "WindowsXP-KB926139-x86-ENU.exe"(copied and pasted name from the
downloaded file)

> lists a number of switches including
>
> /quiet
> /passive
> /norestart

Ok, now those are the ones of my interests ;)

> It has been stated that PowerShell is a Windows update and it appears in the
> list of updates in Add\Remove Programs so it would be a fair assumption that
> it can be installed int that way

Ah, even better!
Now i was in front of my computer banging my head against a wall
thinking if i had to install powershell for each computer(50+)

Thanks for the help there Rich.

Sung M Kim

unread,
Dec 1, 2006, 10:20:49 AM12/1/06
to
Ok, now I have tried and confirmed that the above switches are working
fine ;)
But i had to actually install .NET 2.0 before installing Windows
PowerShell though.

Took me a while just to test this out.
Having a powershell on a newly installed Windows XP is quite great!

Thomy Kay

unread,
Dec 1, 2006, 10:43:49 AM12/1/06
to
> But i had to actually install .NET 2.0 before installing Windows
> PowerShell though.

Still I consider it a bug that if you're doing an unattended
installation then the installer doesn't complain about the missing .net
runtime
<news://news.microsoft.com:119/eULnrQmD...@TK2MSFTNGP04.phx.gbl>

Regards, Thomas

Sung M Kim

unread,
Dec 1, 2006, 10:57:33 AM12/1/06
to

Thomy Kay wrote:
> > But i had to actually install .NET 2.0 before installing Windows
> > PowerShell though.

well that seems about right but a lot of times, very silent
installations usually don't display error messages.

For e.g.),
I am not sure why but it doesn't seem to be possible to install Access
Viewer in a silent mode.
Access Viewer installer(after extracting the content) has an option for
a silent installtion "setup.exe /qt" which will suppress error
messages, as well.
In that perspective, it seems consistent although I do not like the
fact that i cannot see what went wrong.

Thomy Kay

unread,
Dec 1, 2006, 11:06:17 AM12/1/06
to
Even the logfile contains nothing.

Sung M Kim

unread,
Dec 1, 2006, 11:23:52 AM12/1/06
to

Thomy Kay wrote:
> Even the logfile contains nothing.

ah, i didn't even get to bother to check out if there is even a log
file... or check eventlogs...

0 new messages