[tomboy] [Setup] Require .Net framework 3.5 (fixes bug #603811)



commit 920abba0891b2ed0fcf1e84b7ceb82fb6de6ff20
Author: Benjamin Podszun <benjamin podszun topimagesystems com>
Date:   Tue Aug 10 15:08:19 2010 +0200

    [Setup] Require .Net framework 3.5 (fixes bug #603811)

 Setup/Setup.wixproj |    1 +
 Setup/Setup.wxs     |    6 ++++++
 2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/Setup/Setup.wixproj b/Setup/Setup.wixproj
index 6769c78..15a3783 100644
--- a/Setup/Setup.wixproj
+++ b/Setup/Setup.wixproj
@@ -27,6 +27,7 @@
   <Import Project="$(WixToolPath)\wix.targets" />
   <ItemGroup>
     <WixExtension Include="$(WixToolPath)\WixUIExtension.dll" />
+    <WixExtension Include="$(WixToolPath)\WixNetFxExtension.dll" />
     <Compile Include="Files.wxs" />
     <Compile Include="Setup.wxs" />
     <None Include="BannrBmp.bmp" />
diff --git a/Setup/Setup.wxs b/Setup/Setup.wxs
index 0799eb4..2e535ed 100644
--- a/Setup/Setup.wxs
+++ b/Setup/Setup.wxs
@@ -46,6 +46,12 @@
 		</Condition>
 
 		
+		<PropertyRef Id="NETFRAMEWORK35"/>
+		<Condition Message="This application requires .NET Framework 3.5. Please install the .NET Framework then run this installer again.">
+			<![CDATA[Installed OR NETFRAMEWORK35]]>
+		</Condition>
+
+
 		<Feature ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" 
 					Id="TomboyNotes"
 		         Title="Tomboy Notes"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]