Nov 10, 2008 10:23 AM
Need .NETFramework 3.5 installed FIRST
I need to install the .NETFramework 3.5 BEFORE executing the OnFirstUIBefore. I do not see an option when adding the .NETFramework object to tell InstallShield WHEN to install it. Is there a way to force it to be installed at the very beginning of the setup? :confused:
Nov 10, 2008 11:20 AM
Thanks for your reply Christopher.... but, my project is an InstallScript project. I haven't seen the capability of using Prerequisites for InstallScript projects. Can I do it with an InstallScript project or am I going to have to change my project to an InstallScript/MSI project?
THANK YOU! 🙂
THANK YOU! 🙂
Nov 10, 2008 11:52 AM
OnBegin? I'm not sure I'd recommend it since I don't know why you require it before OnFirstUIBefore though. If you do go that route, be careful not to prevent, say, uninstallation if the framework has been removed (unless uninstallation really requires the framework).
Nov 10, 2008 12:16 PM
I call some functions in OnFirstUIBefore that utilize .NET 3.5 assemblies. That is why I need it before OnFirstUIBefore. I'd rather call those functions before installing all the files so they won't be installed (and thus have to be uninstalled) if the assemblies fail. But, I can certainly change the order of my setup if that is the best way to make sure .NET 3.5 is installed before calling the assemblies. Does that make sense? :confused: Thanks!:)
Nov 11, 2008 07:22 AM
I moved the functions that utilize the .NET 3.5 Framework to OnFirstUIAfter. The installer installed .NET Framework 2.0 (I need both) but did NOT install the 3.5 Framework. Before it did not install either one. Any idea why it would install 2.0 but not 3.5? :confused: