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:
Diffstat (limited to 'setup')
-rw-r--r--setup/WixSetup/Product.wxs85
-rw-r--r--setup/WixSetup/build.js10
2 files changed, 89 insertions, 6 deletions
diff --git a/setup/WixSetup/Product.wxs b/setup/WixSetup/Product.wxs
index 4da158e5a5..c643c99ae6 100644
--- a/setup/WixSetup/Product.wxs
+++ b/setup/WixSetup/Product.wxs
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<?define ProductShortName = "MonoDevelop" ?>
-<?define ProductVersion = "2.4.9.1" ?>
-<?define ProductVersionText = "2.4.9.1" ?>
+<?define ProductVersion = "2.6.0" ?>
+<?define ProductVersionText = "2.6" ?>
+<?define HKCRNAME = "MonoDevelop2.6.0.0" ?>
<?define Manufacturer = "Novell" ?>
<?define UpgradeCode = "9134F74C-E7E3-471A-9833-C86FB45CD38E" ?>
@@ -582,6 +583,86 @@
<File Name="MonoDevelop.AssemblyBrowser.dll" Source="$(var.BuildRoot)\AddIns\MonoDevelop.AssemblyBrowser.dll" />
<File Name="MonoDevelop.SourceEditor2.dll" Source="$(var.BuildRoot)\AddIns\MonoDevelop.SourceEditor2.dll" />
<File Name="WindowsPlatform.dll" Source="$(var.BuildRoot)\AddIns\WindowsPlatform.dll" />
+ <File Name="Microsoft.WindowsAPICodePack.dll" Source="$(var.BuildRoot)\AddIns\Microsoft.WindowsAPICodePack.dll" />
+ <File Name="Microsoft.WindowsAPICodePack.Shell.dll" Source="$(var.BuildRoot)\AddIns\Microsoft.WindowsAPICodePack.Shell.dll" />
+
+ <RegistryKey Root='HKCR' Key='$(var.HKCRNAME)' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='AppUserModelID' Value='$(var.HKCRNAME)' />
+ <RegistryValue Type='string' Name='CurVer' Value='$(var.ProductVersion)' />
+ <RegistryValue Type='string' Name='DefaultIcon' Value='@shell32.dll,-47' />
+ <RegistryValue Type='string' Name='FriendlyTypeName' Value='@shell32.dll,-8975' />
+ </RegistryKey>
+
+ <RegistryKey Root='HKCR' Key='$(var.HKCRNAME)\shell\Open\Command' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Value='[INSTALLLOCATION]bin\monodevelop.exe %1' />
+ </RegistryKey>
+
+ <RegistryKey Root='HKCR' Key='.asax\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
+ <RegistryKey Root='HKCR' Key='.ascx\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
+ <RegistryKey Root='HKCR' Key='.ashx\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
+ <RegistryKey Root='HKCR' Key='.asmx\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
+ <RegistryKey Root='HKCR' Key='.asp\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
+ <RegistryKey Root='HKCR' Key='.aspx\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
+ <RegistryKey Root='HKCR' Key='.c\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
+ <RegistryKey Root='HKCR' Key='.cc\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
+ <RegistryKey Root='HKCR' Key='.cs\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
+ <RegistryKey Root='HKCR' Key='.csproj\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
+ <RegistryKey Root='HKCR' Key='.cxx\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
+ <RegistryKey Root='HKCR' Key='.h\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
+ <RegistryKey Root='HKCR' Key='.hpp\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
+ <RegistryKey Root='HKCR' Key='.htm\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
+ <RegistryKey Root='HKCR' Key='.html\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
+ <RegistryKey Root='HKCR' Key='.hxx\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
+ <RegistryKey Root='HKCR' Key='.master\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
+ <RegistryKey Root='HKCR' Key='.mdp\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
+ <RegistryKey Root='HKCR' Key='.sln\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
+ <RegistryKey Root='HKCR' Key='.vb\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
+ <RegistryKey Root='HKCR' Key='.vbproj\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
+ <RegistryKey Root='HKCR' Key='.xml\OpenWithProgids' Action='createAndRemoveOnUninstall'>
+ <RegistryValue Type='string' Name='$(var.HKCRNAME)' Value='' />
+ </RegistryKey>
</Component>
</Directory>
diff --git a/setup/WixSetup/build.js b/setup/WixSetup/build.js
index 34ce882977..922f273a30 100644
--- a/setup/WixSetup/build.js
+++ b/setup/WixSetup/build.js
@@ -1,15 +1,16 @@
var MAJOR_VERSION = 2;
-var MINOR_VERSION = 4;
-var POINT_VERSION = 9;
-var BUILD_VERSION = 1;
+var MINOR_VERSION = 6;
+var POINT_VERSION = 0;
+var BUILD_VERSION = 0;
var sh = new ActiveXObject("WScript.Shell");
var fs = new ActiveXObject("Scripting.FileSystemObject");
-var MONO_LIBS = "C:\\Program Files\\MonoLibraries\\2.6\\lib\\mono\\2.0";
+var MONO_LIBS = "C:\\Program Files (x86)\\MonoLibraries\\2.6\\lib\\mono\\2.0";
var MD_DIR = "..\\..";
var MD_EXTRAS_DIR = "..\\..\\extras";
var PRODUCT_VERSION = "" + MAJOR_VERSION + "." + MINOR_VERSION + "." + POINT_VERSION + (BUILD_VERSION != 0 ? "." + BUILD_VERSION : "");
var PRODUCT_VERSION_TEXT = "" + MAJOR_VERSION + "." + MINOR_VERSION + (POINT_VERSION != 0 || BUILD_VERSION != 0 ? "." + POINT_VERSION : "") + (BUILD_VERSION != 0 ? "." + BUILD_VERSION : "");
+var HKCRNAME = "MonoDevelop" + MAJOR_VERSION + "." + MINOR_VERSION + "." + POINT_VERSION + "." + BUILD_VERSION;
var MONO_PRODUCT_VERSION = "" + MAJOR_VERSION + format (MINOR_VERSION, 2) + format (POINT_VERSION, 2) + format (BUILD_VERSION, 3);
// Build the main solution and the windows-specific add-ins
@@ -49,6 +50,7 @@ fs.CopyFolder ("ExtraFiles\\*", MD_DIR + "\\main\\build\\bin\\");
regexreplace ("Product.wxs", /ProductVersionText = ".*?"/g, "ProductVersionText = \"" + PRODUCT_VERSION_TEXT + "\"");
regexreplace ("Product.wxs", /ProductVersion = ".*?"/g, "ProductVersion = \"" + PRODUCT_VERSION + "\"");
+regexreplace ("Product.wxs", /HKCRNAME = ".*?"/g, "HKCRNAME = \"" + HKCRNAME + "\"");
// Create the updateinfo file