Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorLluis Sanchez <lluis@novell.com>2009-09-18 14:44:29 +0400
committerLluis Sanchez <lluis@novell.com>2009-09-18 14:44:29 +0400
commit119fd354eb43590e2269c399c664993d20192b40 (patch)
treec20c2774d89f5510678269c624bdf1c6429a22ad /setup
parent3ddad87b9b48493bb8b97b6f2be7546148394162 (diff)
Make sure MonoDevelop uses the correct gtk libs by adding a private Path registry key.
svn path=/trunk/monodevelop/; revision=142180
Diffstat (limited to 'setup')
-rw-r--r--setup/WixSetup/Product.wxs12
1 files changed, 10 insertions, 2 deletions
diff --git a/setup/WixSetup/Product.wxs b/setup/WixSetup/Product.wxs
index 1ef774eade..db258f574d 100644
--- a/setup/WixSetup/Product.wxs
+++ b/setup/WixSetup/Product.wxs
@@ -26,7 +26,12 @@
Installed OR NETFRAMEWORK35
</Condition>
- <!-- Major upgrade -->
+ <!-- Get the GTK# install directory -->
+ <Property Id="GTKSHARPPATH">
+ <RegistrySearch Id="gspath" Root="HKLM" Key="SOFTWARE\Novell\GtkSharp\InstallFolder" Type="raw" />
+ </Property>
+
+ <!-- Major upgrade -->
<Upgrade Id="$(var.UpgradeCode)">
<UpgradeVersion Minimum="$(var.ProductVersion)" OnlyDetect="yes" Property="NEWERVERSIONDETECTED" />
<UpgradeVersion Minimum="0.0.0" IncludeMinimum="yes" IncludeMaximum="no" Property="OLDERVERSIONBEINGUPGRADED" />
@@ -68,6 +73,9 @@
<!-- Program Menu Shortcut -->
<RemoveFolder Id='ProgramMenuDir' Directory="ProgramMenuDir" On='uninstall' />
+
+ <!-- GTK# path -->
+ <RegistryValue Root='HKLM' Key='SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\MonoDevelop.exe' Type='string' Name='Path' Value='[GTKSHARPPATH]\bin' />
</Component>
</Directory>
<Directory Id="AddIns" Name="AddIns">
@@ -100,7 +108,7 @@
<File Name="MonoDevelop.AspNet.dll" Source="$(var.BuildRoot)\AddIns\MonoDevelop.AspNet\MonoDevelop.AspNet.dll" />
</Component>
</Directory>
- <Directory Id="MonoDevelop.Autotools" Name="MonoDevelop.Autotools">
+ <Directory Id="MonoDevelop.Autotools" Name="MonoDevelop.Autotools">
<Directory Id="templates" Name="templates">
<Component Id="MonoDevelop_AddIns_MonoDevelop_Autotools_templates" Guid="e83dc765-18b6-4de6-8dc2-a8bbe69fd3c1">
<File Name="autogen.sh.template" Source="$(var.BuildRoot)\AddIns\MonoDevelop.Autotools\templates\autogen.sh.template" />