Page 1 of 2 12 LastLast
Results 1 to 5 of 6

Thread: installed dotnet2.0 ?!

  1. #1
    Join Date
    Jul 2006
    Location
    Belgium namur
    Posts
    188

    installed dotnet2.0 ?!

    Hi,

    I have a basic msi and i want to install dotnet 2.0 if there isn't present on the target machine !

    for this, i've did a system search who looks on the registry after a key under :
    hklm\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727\Install

    i place the result in the property all works perfectly.

    Now i've create a custom action => new exe store in binary table

    i've selected the .exe dotnet for file
    parameter command line : /q:a /c:"install /q" => (i've foundd on internet)
    asychrone waits for exit code
    deferred execution in system context

    after installinitialize
    condition Not MySystemSearch

    And when i execute my setup the application is well installed but on the add remove program nothing appears about the dotnet 2.0 !?

    I'd like to install net framework dotnet 2.0 and see it on the add remove program ?! is it possible?

    Thanks
    Christophe

  2. #2
    Join Date
    Mar 2002
    Posts
    91
    You can do all of the checking and installing of dotnet 2.0 (dotnetfx.exe) with a prerequisite. No need for system search, binary table or custom action. And the entry "Microsoft .NET Framework 2.0" appears in "Add or Remove Programs".

  3. #3
    Join Date
    Jul 2006
    Location
    Belgium namur
    Posts
    188
    Hi,

    sorry but on the prerequisite tab there is only setup prerequisite for dotnet 2.0 x64 or IA PLATEFORM NOT for plateform x86 !!!!

    I have installshield 2008 edition prenium

    All right, in release tab i can add the dotnet 2.0 in my setup (from source media) that's work but THE PROBLEM IS NOW this setup (net framework 2.0)will be start (install) on plateform vista ONLY and IF IS NOT PRESENT !!
    And i don't find how to place a condition for to install the dotnet 2.0

    I think system search and custom action will be the best way !?
    can you confirm me !?

    Thanks for your time
    Christophe

  4. #4
    Join Date
    Dec 2005
    Location
    Athens, Greece
    Posts
    29
    You don't need a system search. Adding it to the setup (from the release options) should be ok. The prerequisite will find out if it's installed or not, and behave accordingly.

    sorry but on the prerequisite tab there is only setup prerequisite for dotnet 2.0 x64 or IA PLATEFORM NOT for plateform x86 !!!!
    Maybe you haven't downloaded it ? You should select "Prerequisite download" from the IS menu.
    Dimitris Andrakakis
    ATES Product Manager, PeopleCert S.A.

  5. #5
    Join Date
    Mar 2002
    Posts
    91
    I had to build my own prereq for .NET Framework 2.0 x86. My setup includes both 32 bit and 64 bit versions as prereqs. The reason I do not use the release settings to get the 32 bit version is because my setup requires the .NET Framework to be available before files are copied because those files get loaded into the GAC and my setup uses gacutil.exe to remove the previous versions.

Page 1 of 2 12 LastLast

Posting Permissions

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