Hallo Patrik,
ich meine das geht auch einfach
wenn man zur Anwendung im Visual Studio
ein Setupprojekt erstellt. Dort gibts eine
Einstellung, welche auf das Framework prüft
und es gegebenfalls installiert.
Grüße, Daniel
Christoph Wille wrote:
At 08:28 AM 11/8/2005, you wrote:
Hallo Chris
> Also wir machen einen Registry-Check. Das funktioniert
> eigentlich 100%.
Danke für die Antwort. Wie macht Ihr aus technischer Sicht her gesehen
den
Check? Was für ein Tool setzt Ihr ein? Oder macht Ihr das manuell?
Manuell. Anhand dieser Keys:
<http://msdn.microsoft.com/netframework/default.aspx?pull=/library/en-us/dnnetdep/html/redistdeploy1_1.asp>
Hier ein Teil unseres Setups (NSIS):
Function .onInit
ReadRegDWORD $R0 HKLM "SOFTWARE\Microsoft\NET Framework
Setup\NDP\v2.0.50727" Install
StrCmp $R0 "" 0 CheckPreviousVersion
MessageBox MB_OK "Microsoft .NET Framework 2.0 was not found on
this system.$\r$\n$\r$\nUnable to continue this installation."
Abort
Der ReadRegDWORD Aufruf hat die notwendigen Keys. Funkt mit 1.1 genauso.
Chris
_______________________________________________
CSharp.net Mailingliste, Postings senden an:
[email protected]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/csharp.net
_______________________________________________
CSharp.net Mailingliste, Postings senden an:
[email protected]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/csharp.net