cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Mike2003
Level 3

Cannot stop .NET 3.5 from being included in build output

I just upgraded an Installscript MSI project from Installshield 2010 to Installshield 2012 and have found that it is now automatically including 'Microsoft .NET Framework 3.5 SP1' as an ISSetupPrerequisite in the build output even though it is not ticked in Redistributables.

I have looked everywhere in the project but cannot find any reference to .NET 3.5. I have even checked the ISSetupPrerequisites table using the Direct Editor and it is not listed in there either. My project installs a couple of web apps but they are both set to use .NET 4.0.

Does anyone know what might be causing this and how I can stop it?

Thanks,

Mike.
Labels (1)
0 Kudos

(2) Replies
MichaelU
Level 12 Flexeran
Level 12 Flexeran

Try checking the dependencies of other prerequisites you have selected in your project. Probably one of them either depends directly on the framework, or depends on another prerequisite which depends on the framework.
0 Kudos
Mike2003
Level 3

Thanks Michael, you were right. It was the 'Microsoft ReportViewer 2010' which had a dependency to .NET 3.5, so I removed it and replaced it with .NET 4.0 as according to Microsoft it works with either.
0 Kudos