cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
eladef
Level 7

Prerequisite's that run a PowerShell

Hi

I'm using basic MSI on InstallShield 2010

How can I create a prerequisite's that run a PowerShell script ?
I need to install the .net framework 3.5 on Windows 2008 R2 machine.
Labels (1)
0 Kudos
(4) Replies
Vijay__K
Level 7

Can you install the .Net framwork on these machines?
I thought you had to simply enable it from the windows features section.
0 Kudos
eladef
Level 7

This is correct.
And I'm trying to do that with a PowerShell command line that will run as prerequisite.
As described under
http://blogs.msdn.com/b/sqlblog/archive/2010/01/08/how-to-install-net-framework-3-5-sp1-on-windows-server-2008-r2-environments.aspx

Is there a better way to do that ?
0 Kudos
Vijay__K
Level 7

I see what you're trying to do.
In our installs we detect if it's installed or not.
The user then has to install it himself.

Hope someone helps u.
0 Kudos
Marwan
Level 7

How about creating your own exe that simply launches PowerShell script. You can then use that exe in a prerequisite and also include scripts in the same prerequisite...
0 Kudos