Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 15 of 31
  1. #1
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150

    Post Dependency Module: Microsoft .NET Framework 2.0

    Dependency Module: Microsoft .NET Framework 2.0
    Last Revision: February 8, 2005 (001)

    Overview
    Use the Microsoft .NET Framework 2.0 dependency module with Setup Factory 7.0 to detect and install Microsoft .NET Framework version 2.0.

    Background Information
    Applications and controls written for the .NET Framework version 2.0 require the .NET Framework Redistributable Package version 2.0 to be installed on the computer where the application or control runs. The .NET Framework redistributable package is available as a stand-alone executable file, Dotnetfx.exe. When this dependency module is included in your setup, it installs the .NET Framework redistributable if needed.

    Note: Please note that if your application requires database support then MDAC 2.6 or greater is also required. If you require this you can download our dependency module from the Setup Factory 7.0 Addons, Modules & More forum.


    Installation Instructions
    To make the Microsoft .NET Framework 2.0 dependency module available in your Setup Factory 7.0 projects, follow the steps below:
    1. Close Setup Factory 7.0, if it is running.
    2. Browse to the folder where Setup Factory 7.0 is installed on your system. By default it is C:\Program Files\Setup Factory 7.0.
    3. Open the folder called Dependencies.
    4. Unzip the contents of dotnet2_0.zip (see bottom of article) into the dependencies folder.
    5. Create a subfolder of Dependencies and name it dotnet2_0.
    6. Download the Microsoft .NET Framework redistributable file (dotnetfx.exe) into the dotnet2_0 subfolder.
    7. Restart Setup Factory 7.0.
    To use your new dependency module, select Resources > Dependencies from the main menu and click the Add button. Microsoft .NET Framework 2.0 should now be visible in the list of available modules.

    Information Links
    SDK


    Module Name: Microsoft .NET Framework 2.0
    Type: Setup Factory 7.0 Dependency Module
    Created By: Indigo Rose Software (2/8/2006)
    Last Revision: February 8, 2006 (001)
    Attached Files

  2. #2
    Join Date
    Mar 2005
    Location
    WA 'wait a while' - Australia
    Posts
    872
    Nice One Adam

  3. #3
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150
    Thanks. It was a pretty strait foreword port from the 1.1 module. One thing to keep in mind is that the dotnetfx.exe requires version 3.0 of the Windows installers for NT based systems and 2.1 for 9x based machines. It looks like Microsoft does not encourage distributing MSI 3.0 so I've left the dotnet 2.0 installer handle this.

    Adam.

  4. #4
    Join Date
    Mar 2005
    Location
    WA 'wait a while' - Australia
    Posts
    872
    Yes , spot on there, I was thinking 'bout posting something to that effect,
    but you got it covered... V3.1 v2 is what would be downloaded, I believe.

    Pretty sure that is the v3.x on MS servers these days...
    (less overhead for a module, not to distribute Winstaller 3.x)

    The 3.1v2 redist is readliy downloadable though...don't know what MS's beef would be..
    Last edited by Eagle; 02-08-2006 at 02:25 PM.

  5. #5
    Join Date
    Jul 2006
    Posts
    1

    Grin nResult Dialog

    Which portion of the code do I change or remove to disable the nResult dialog?

  6. #6
    Join Date
    Dec 2006
    Posts
    1

    Arrow Download Framework Installer

    Is there a way to have Setup Factory download and install dotnetfx.exe only if the framework is not detected on the machine, rather than having to bundle it in the installer?

  7. #7
    Join Date
    Mar 2003
    Location
    Toronto ON
    Posts
    29
    I would also like a variant of this that does the download, rather than having to bundle it in the installer.
    Dan Cooperstock info@Software4Nonprofits.com
    416-423-7722

  8. #8
    Join Date
    Feb 2006
    Posts
    2

    Doesn't work on Vista?

    Has anybody tested this dependency on Vista? We're using 'ultimate' and followed the steps but it doesn't show up in the list of "available modules" when we try to add the dependency to the project.

    I did notice when starting up SUF that a small dialogue box appears very quickly. I'm assuming it's an error but it flashes up so quickly (and dissappears) that we can't read or screen capture it. We looked in the event log for entries and there are none. Is there a log or somewhere we can look to see what's happening. I'm sure this is related to the Dependency module (which is why I didn't start a different thread).

    Thanks in advance.

    Joe

  9. #9
    Join Date
    Feb 2006
    Posts
    2

    Clarification

    Sorry, let me clarify my last post...

    We're running SUF on a Vista Machine...
    Also, we finally caught the dialogue in a screen capture (the second part of the email) and it's "refreshing archive" - so NOT an error!

    The initial question still remains... has anybody used this successfully when running SUF (to build an installer) on a Vista machine?

    Thanks
    Joe

  10. #10
    Join Date
    Mar 2005
    Location
    WA 'wait a while' - Australia
    Posts
    872
    just a heads up...I have nearly finished a mod to this Module that:

    1) Detects for and if required downloads and installs Windows installer 2
    for 98\Me or Windows installer 3.1v2 for required Os type conditions.
    (if detection fails- defaults to the .Net2.0 runtime handling of this pre-req)

    2) Downloads and installs the appropriate .Net2.0 runtime if all pre-reqs OK.

    functionality is included to detect if Os is 64 bit and if so, if x64 or IA64
    and based on a configurable boolean downloads and installs the correct
    64bit redist IF you want true 64bit Dotnet2.0 runtime files.

    otherwise defaults to the dload-install of the standard 32 bit (x86) redist.


    that should get you out of jam or based on my code get you into one

    just give me another 24 hrs ...as a trade I want some folks to fully test
    the module when posted on all Os types and enter into a collaboration

    btw: DotNet v 3.0 redist. has gone final and is backward compatible with V2.0
    (ships with Vista 32 and 64bit OS(s)


    fwiw
    Last edited by Eagle; 03-12-2007 at 09:45 AM.

  11. #11
    Join Date
    Mar 2005
    Location
    WA 'wait a while' - Australia
    Posts
    872

    DotNet FrameWork 2.0 Download-Install Module

    If you wish to use this Modification to the Original Created by IR
    as outlined in the previous post, then please test thoroughly and
    report any bugs or changes needed here.

    download and extract the DnLoad_Mod_dotnet2_0.xml from the zip file
    into the Root of the Dependancies folder of your SUF70 installation.

    You may need to restart SUF70 to make the module available for selection.
    Attached Files

  12. #12
    Join Date
    Feb 2007
    Posts
    12
    Quote Originally Posted by Eagle View Post
    download and extract the DnLoad_Mod_dotnet2_0.xml from the zip file
    One thing I'd recommend, especially if you have the original file in your dependencies folder, is to rename the file (inside the XML file - first section), to something different - like adding " - Separate Downloads" or something like that.

    Otherwise, both files look exactly the same, when you click the 'Add' button, and you can't tell exactly which one is which.

  13. #13
    Join Date
    Mar 2005
    Location
    WA 'wait a while' - Australia
    Posts
    872
    Yes, good catch augustwind,

    I slipped up there, I did not change the 'name' field while in
    'edit mode' before the save and export, I picked this up in
    the DirectX module update(s) before I posted.

    They have a 'unique' but related 'name' , so should be ok.

  14. #14
    Join Date
    Mar 2003
    Location
    Toronto ON
    Posts
    29

    Huh?

    I have found twice now, when my installer using this dependency module was run on Windows XP systems, that it did not pick up the fact that the .NET Framework 2.0 was not installed, and just went ahead fine with my normal installation. But then when I run the application, I get a message about needing the proper .NET framework.

    Any ideas what this might be? I've been staring at the detection script, but it's rather complex, and at the moment I don't have access to the systems that it failed on.

    Thank you.
    Dan Cooperstock info@Software4Nonprofits.com
    416-423-7722

  15. #15
    Join Date
    Mar 2005
    Location
    WA 'wait a while' - Australia
    Posts
    872
    I have modified the 'detection' portion of the Download and Install Mod:

    1. Now first detects for 'Windows Vista and beyond' OS(s)
    -if detected is treated as .Net2.0 is already installed on the system
    (be warned: this Vista detection supports RTM or later releases only)

    2. now only detects for V2.0 and the 'common id files' have been changed

    the Module's 'internal name' is now:

    'Microsoft .NET Framework 2.0 - Download and Install'

    download and extract the DnLoad_Mod_dotnet2_0_v1.1.xml file itself
    into the Root of the SUF70 installation\Dependancies folder:
    Attached Files

Similar Threads

  1. Dependency Module: Microsoft .NET Framework 1.1
    By Darryl in forum Setup Factory 8.0 Examples
    Replies: 12
    Last Post: 06-10-2008, 02:26 AM
  2. Dependency Module: MDAC 2.81 SP1
    By Adam in forum Setup Factory 8.0 Examples
    Replies: 5
    Last Post: 08-23-2006, 04:46 AM
  3. Setup Factory and VS 2005
    By vazir786 in forum Setup Factory 7.0
    Replies: 4
    Last Post: 01-13-2006, 08:47 PM
  4. Microsoft .NET Framework 1.1
    By Jason Pate in forum Setup Factory 7.0
    Replies: 2
    Last Post: 12-23-2004, 01:04 PM
  5. Dependency Module: MDAC 2.6 SP2 Refresh
    By Darryl in forum Setup Factory 8.0 Examples
    Replies: 0
    Last Post: 08-31-2004, 12:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts