cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ChristopheOce
Level 7

net framework on target machine !

Hi,

I have a basic msi project and i d like to know how i can verify if when i install my product if dotnet 2.0 is installed on the target machine !?

Thanks for your idea
Christophe
Labels (1)
0 Kudos

(3) Replies
RobertDickau
Flexera Alumni

For a start, perhaps see if the MsiNetAssemblySupport property will help?
0 Kudos
alphacz
Level 5

I'm not completely sure as the the validdity of the search, but I typically set up a registry system search for

"HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727\Install"

I then store the value in some property, for example, DOTNETINSTALL.

At this point you can use the property like so: if DOTNETINSTALL = "#1", then the .NET Framework 2.0 is installed.

HTH.
0 Kudos
ChristopheOce
Level 7

Hi both,

Thanks for your reply

I've use the way by searching a registry key (system search) i've try just this morning and i think that works !

system search type registry key with your path.

Robert, i will look on the property (MsiNetAssemblySupport) later but thanks for your information.

Now, i will do a custom action with condition (DOTNETINSTALL AND versionNt=Vista) for install the dotnet 2.0 !

I found this a little bored because i've read and i've saw 🙂 on vista plateform there is always the 4 framework dotnet who are installed :

1.0
1.1
2.0
3.0

Have you notice this ?

Thanks for all
Christophe
0 Kudos