/build/static/layout/Breadcrumb_cap_w.png

Windows Powershell (Monad)

Does anyone know if there are plans for Windows Installer to include a Powershell custom action type?

Also i'd be interested to know your thoughts on the new shell and any experiences you may have had with it.

Is it [8D] or [:@]

0 Comments   [ + ] Show comments

Answers (3)

Posted by: snissen 17 years ago
Fourth Degree Green Belt
0
I spent a week with PowerShell last May, and watched all the Technet Webcasts in November. My impression: I love it!

I have a slightly unusual use for it: For years, I've been using JPSoft's Take Command (successor to 4DOS) as my primary shell, so I can stay at a command prompt typing and avoid the GUI. (Trackball/wrist incompatibilities.) I still like Take Command, but I do have to pay for copies at home and at work, and new versions every year. I also cannot license Take Command for all college computers, so I can't "take it with me" when I've written a useful script.

Enter PowerShell: It can do everything Take Command does interactively, plus I can use its scripts on many computers for free. It took me about a dozen hours in May to figure out a function to replace Take Command's SELECT command: Present a list of files in a directory and let the user pick some, using the standard File Open dialog box. I've created functions and .txt files to replace all my Take Command aliases in PowerShell. I even found a hack to make PowerShell work on Windows 2000, which it's not supposed to do.

In short, I think PowerShell is well worth any administrator's time. Sande
Posted by: ColinBragg 17 years ago
Senior Yellow Belt
0
I've had a little chance to play with this myself now and i've got a bit of a mixed reaction to it really.

On the plus side i love the fact that it's object orientated and that so many lines written in vbscript can now be done with a single line in Powershell.

On the downside though.... Why have they gone from a vb style language to a c# style language, why not move to a vb.net style language instead. Now we have to learn yet another language which is even harder if you have no grasp of c languages to start with,

Another downside is that it implements digital certificates which sounds like a great thing but where is the documentation on this? I've found several sites with the same command lines but none of them explain them properly if you want to use an existing certificate. What happens when the certificate runs out, all your scripts around your organisation will stop running !?!?!

Also how lame is the security on this thing? They improve the security by not associating the wp1 with powershell and associating it with notepad instead. That's going to be hard to get around isn't it?!!?
Posted by: Tronex 15 years ago
Yellow Belt
0
Although this thread is pretty old, there might be still some sort of interest in this topic. PowerShell v2 is about to be finished and there is still no native support for PowerShell custom actions.

However, I needed a way of configuring IIS from within an MSI setup using custom actions and PowerShell.

Since this can be easily done (even by using managed code), I decided to post some basic information and hints on my blogs of how to do it with less than 20 lines of code. ;-)

Read it here.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ