This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- .NET Framework3.5 install first - InstallScript
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎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:
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 10, 2008
11:15 AM
You have to wire it up as a Setup Prerequisite so that setup.exe will call the .NET 3.5 framework prior to invoking your MSI.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎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! 🙂
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎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).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎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!:)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎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:
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)