cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Flexera beginner

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
Highlighted
Pilgrim

Re: Prerequisite's that run a PowerShell

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

Re: Prerequisite's that run a PowerShell

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-s...

Is there a better way to do that ?
0 Kudos
Highlighted
Pilgrim

Re: Prerequisite's that run a PowerShell

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
Highlighted
Pilgrim

Re: Prerequisite's that run a PowerShell

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