diff options
Diffstat (limited to 'src/wixlib/VS2012.wxs')
| -rw-r--r-- | src/wixlib/VS2012.wxs | 256 |
1 files changed, 256 insertions, 0 deletions
diff --git a/src/wixlib/VS2012.wxs b/src/wixlib/VS2012.wxs new file mode 100644 index 00000000..c4baa2c9 --- /dev/null +++ b/src/wixlib/VS2012.wxs | |||
| @@ -0,0 +1,256 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
| 3 | |||
| 4 | |||
| 5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 6 | <Fragment> | ||
| 7 | <Property Id="VS2012_EXTENSIONS_DIR" Secure="yes"> | ||
| 8 | <RegistrySearch Id="VS2012DevEnvForExtensionsSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\11.0\Setup\VS" Name="EnvironmentDirectory" Type="raw"> | ||
| 9 | <DirectorySearch Id="VS2012ExtensionsPathSearch" Path="Extensions" Depth="1" /> | ||
| 10 | </RegistrySearch> | ||
| 11 | </Property> | ||
| 12 | </Fragment> | ||
| 13 | |||
| 14 | <Fragment> | ||
| 15 | <Property Id="VS2012_PROJECTTEMPLATES_DIR" Secure="yes"> | ||
| 16 | <RegistrySearch Id="VS2012DevEnvForProjectTemplatesSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\11.0\Setup\VS" Name="EnvironmentDirectory" Type="raw"> | ||
| 17 | <DirectorySearch Id="VS2012ProjectTemplatesPathSearch" Path="ProjectTemplates" Depth="1" /> | ||
| 18 | </RegistrySearch> | ||
| 19 | </Property> | ||
| 20 | </Fragment> | ||
| 21 | |||
| 22 | <Fragment> | ||
| 23 | <Property Id="VS2012_SCHEMAS_DIR" Secure="yes"> | ||
| 24 | <RegistrySearch Id="VS2012ProductPathSearch" Root="HKLM" Key="Software\Microsoft\VisualStudio\SxS\VS7" Name="11.0" Type="raw"> | ||
| 25 | <DirectorySearch Id="VS2012XmlPathSearch" Path="Xml" Depth="1"> | ||
| 26 | <DirectorySearch Id="VS2012XmlSchemasPathSearch" Path="Schemas" Depth="1" /> | ||
| 27 | </DirectorySearch> | ||
| 28 | </RegistrySearch> | ||
| 29 | </Property> | ||
| 30 | </Fragment> | ||
| 31 | |||
| 32 | <Fragment> | ||
| 33 | <Property Id="VS2012_ITEMTEMPLATES_DIR" Secure="yes"> | ||
| 34 | <RegistrySearch Id="VS2012DevEnvForItemTemplatesSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\11.0\Setup\VS" Name="EnvironmentDirectory" Type="raw"> | ||
| 35 | <DirectorySearch Id="VS2012ItemTemplatesPathSearch" Path="ItemTemplates" Depth="1" /> | ||
| 36 | </RegistrySearch> | ||
| 37 | </Property> | ||
| 38 | </Fragment> | ||
| 39 | |||
| 40 | <Fragment> | ||
| 41 | <Property Id="VS2012_BOOTSTRAPPER_PACKAGE_FOLDER" Secure="yes"> | ||
| 42 | <RegistrySearch Id="SearchForVs2012BootstrapperPackageFolder" Root="HKLM" Key="Software\Microsoft\GenericBootstrapper\4.0" Name="Path" Type="raw" /> | ||
| 43 | </Property> | ||
| 44 | </Fragment> | ||
| 45 | |||
| 46 | <Fragment> | ||
| 47 | <Property Id="VS2012_ROOT_FOLDER" Secure="yes"> | ||
| 48 | <RegistrySearch Id="SearchForVS2012RootPath" Root="HKLM" Key="Software\Microsoft\VisualStudio\SxS\VS7" Name="11.0" Type="raw" /> | ||
| 49 | </Property> | ||
| 50 | </Fragment> | ||
| 51 | |||
| 52 | <Fragment> | ||
| 53 | <Property Id="VS2012DEVENV" Secure="yes"> | ||
| 54 | <RegistrySearch Id="VS2012DevEnvSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\11.0\Setup\VS" Name="EnvironmentPath" Type="raw" /> | ||
| 55 | </Property> | ||
| 56 | </Fragment> | ||
| 57 | |||
| 58 | <Fragment> | ||
| 59 | <CustomAction Id="VS2012Setup" Property="VS2012DEVENV" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
| 60 | <PropertyRef Id="VS2012DEVENV" /> | ||
| 61 | |||
| 62 | <InstallExecuteSequence> | ||
| 63 | <Custom Action="VS2012Setup" Before="InstallFinalize" Overridable="yes">VS2012DEVENV</Custom> | ||
| 64 | </InstallExecuteSequence> | ||
| 65 | </Fragment> | ||
| 66 | |||
| 67 | <Fragment> | ||
| 68 | <CustomAction Id="VS2012InstallVSTemplates" Property="VS2012DEVENV" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
| 69 | <PropertyRef Id="VS2012DEVENV" /> | ||
| 70 | |||
| 71 | <InstallExecuteSequence> | ||
| 72 | <Custom Action="VS2012InstallVSTemplates" Before="InstallFinalize" Overridable="yes">VS2012DEVENV</Custom> | ||
| 73 | </InstallExecuteSequence> | ||
| 74 | </Fragment> | ||
| 75 | |||
| 76 | <!-- Indicates whether the Visual C# project system is installed as a part of --> | ||
| 77 | <!-- Visual Studio 2012 standard or higher. If this property is set, that --> | ||
| 78 | <!-- means Visual Studio 2012 standard or higher is installed and the Visual --> | ||
| 79 | <!-- C# language tools were installed as a part of VS 2012 setup. --> | ||
| 80 | <Fragment> | ||
| 81 | <Property Id="VS2012_IDE_VCSHARP_PROJECTSYSTEM_INSTALLED" Secure="yes"> | ||
| 82 | <RegistrySearch Id="SearchForVCS2012ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\11.0\Setup\VC#" Name="ProductDir" Type="raw" /> | ||
| 83 | </Property> | ||
| 84 | </Fragment> | ||
| 85 | |||
| 86 | <!-- Indicates whether the Visual Basic project system is installed as a part of --> | ||
| 87 | <!-- Visual Studio 2012 standard or higher. If this property is set, that --> | ||
| 88 | <!-- means Visual Studio 2012 standard or higher is installed and the Visual --> | ||
| 89 | <!-- Basic language tools were installed as a part of VS 2012 setup. --> | ||
| 90 | <Fragment> | ||
| 91 | <Property Id="VS2012_IDE_VB_PROJECTSYSTEM_INSTALLED" Secure="yes"> | ||
| 92 | <RegistrySearch Id="SearchForVB2012ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\11.0\Setup\VB" Name="ProductDir" Type="raw" /> | ||
| 93 | </Property> | ||
| 94 | </Fragment> | ||
| 95 | |||
| 96 | <!-- Indicates whether the Visual Web Developer 2012 Express IDE component is installed. --> | ||
| 97 | <!-- If this property is set, that means Visual Web Developer 2012 Express Edition is --> | ||
| 98 | <!-- installed on the system. --> | ||
| 99 | <Fragment> | ||
| 100 | <Property Id="VWD2012EXPRESS_IDE" Secure="yes"> | ||
| 101 | <ComponentSearch Id="SearchForVwdExpressIde2012Component" Guid="92A0CBA0-BF39-422D-87FA-AB64564CD136" Type="file"> | ||
| 102 | <FileSearch Id="VwdExpressIde2012" Name="vwdexpress.exe" /> | ||
| 103 | </ComponentSearch> | ||
| 104 | </Property> | ||
| 105 | </Fragment> | ||
| 106 | <!-- Custom action definition to run vwdexpress.exe /setup --> | ||
| 107 | <Fragment> | ||
| 108 | <CustomAction Id="VWD2012Setup" Property="VWD2012EXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
| 109 | <PropertyRef Id="VWD2012EXPRESS_IDE" /> | ||
| 110 | <InstallExecuteSequence> | ||
| 111 | <Custom Action="VWD2012Setup" Before="InstallFinalize" Overridable="yes">VWD2012EXPRESS_IDE</Custom> | ||
| 112 | </InstallExecuteSequence> | ||
| 113 | </Fragment> | ||
| 114 | <!-- Custom action definition to run vwdexpress.exe /InstallVSTemplates --> | ||
| 115 | <Fragment> | ||
| 116 | <CustomAction Id="VWD2012InstallVSTemplates" Property="VWD2012EXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
| 117 | <PropertyRef Id="VWD2012EXPRESS_IDE" /> | ||
| 118 | <InstallExecuteSequence> | ||
| 119 | <Custom Action="VWD2012InstallVSTemplates" Before="InstallFinalize" Overridable="yes">VWD2012EXPRESS_IDE</Custom> | ||
| 120 | </InstallExecuteSequence> | ||
| 121 | </Fragment> | ||
| 122 | |||
| 123 | <!-- Indicates whether the Visual Studio 2012 Express IDE for Phone component is installed. --> | ||
| 124 | <Fragment> | ||
| 125 | <Property Id="VPD2012EXPRESS_IDE" Secure="yes"> | ||
| 126 | <RegistrySearch Id="VPD2012ExpressForPhoneEnvSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VPDExpress\11.0\Setup\VS" Name="EnvironmentPath" Type="raw" /> | ||
| 127 | </Property> | ||
| 128 | </Fragment> | ||
| 129 | <!-- Custom action definition to run VPDexpress.exe /setup --> | ||
| 130 | <Fragment> | ||
| 131 | <CustomAction Id="VPD2012Setup" Property="VPD2012EXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
| 132 | <PropertyRef Id="VPD2012EXPRESS_IDE" /> | ||
| 133 | <InstallExecuteSequence> | ||
| 134 | <Custom Action="VPD2012Setup" Before="InstallFinalize" Overridable="yes">VPD2012EXPRESS_IDE</Custom> | ||
| 135 | </InstallExecuteSequence> | ||
| 136 | </Fragment> | ||
| 137 | <!-- Custom action definition to run VPDexpress.exe /InstallVSTemplates --> | ||
| 138 | <Fragment> | ||
| 139 | <CustomAction Id="VPD2012InstallVSTemplates" Property="VPD2012EXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
| 140 | <PropertyRef Id="VPD2012EXPRESS_IDE" /> | ||
| 141 | <InstallExecuteSequence> | ||
| 142 | <Custom Action="VPD2012InstallVSTemplates" Before="InstallFinalize" Overridable="yes">VPD2012EXPRESS_IDE</Custom> | ||
| 143 | </InstallExecuteSequence> | ||
| 144 | </Fragment> | ||
| 145 | |||
| 146 | <!-- Indicates whether the Visual Web Developer project system is installed as a part of --> | ||
| 147 | <!-- Visual Studio 2012 standard or higher. If this property is set, that --> | ||
| 148 | <!-- means Visual Studio 2012 standard or higher is installed and the Visual --> | ||
| 149 | <!-- Web Developer language tools were installed as a part of VS 2012 setup. --> | ||
| 150 | <Fragment> | ||
| 151 | <Property Id="VS2012_IDE_VWD_PROJECTSYSTEM_INSTALLED" Secure="yes"> | ||
| 152 | <ComponentSearch Id="SearchForVWD2012ProjectSystemUnderVSSetup" Guid="03E73DF8-BED3-44BB-BE2E-BAC10FAE723E" /> | ||
| 153 | <ComponentSearch Id="SearchForVWD2012ProjectSystemUnderVWDSetup" Guid="3D7D4A9F-E3D7-4F13-9907-AF4F3CD75D33" Type="directory" /> | ||
| 154 | </Property> | ||
| 155 | </Fragment> | ||
| 156 | |||
| 157 | <!-- Indicates whether the Visual C++ project system is installed as a part of --> | ||
| 158 | <!-- Visual Studio 2012 standard or higher. If this property is set, that --> | ||
| 159 | <!-- means Visual Studio 2012 standard or higher is installed and the Visual --> | ||
| 160 | <!-- C++ language tools were installed as a part of VS 2012 setup. --> | ||
| 161 | <Fragment> | ||
| 162 | <Property Id="VS2012_IDE_VC_PROJECTSYSTEM_INSTALLED" Secure="yes"> | ||
| 163 | <RegistrySearch Id="SearchForVC2012ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\11.0\Setup\VC" Name="ProductDir" Type="raw" /> | ||
| 164 | </Property> | ||
| 165 | </Fragment> | ||
| 166 | |||
| 167 | <!-- Indicates whether the Visual Studio 2012 Team Test project system is installed --> | ||
| 168 | <Fragment> | ||
| 169 | <Property Id="VS2012_IDE_VSTS_TESTSYSTEM_INSTALLED" Secure="yes"> | ||
| 170 | <RegistrySearch Id="SearchForVSTS2012TestSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\11.0\Projects\{3AC096D0-A1C2-E12C-1390-A8335801FDAB}" Name="Package" Type="raw" /> | ||
| 171 | </Property> | ||
| 172 | </Fragment> | ||
| 173 | |||
| 174 | <!-- Indicates whether the Visual Studio 2012 Database project system is installed --> | ||
| 175 | <Fragment> | ||
| 176 | <Property Id="VS2012_IDE_DB_PROJECTSYSTEM_INSTALLED" Secure="yes"> | ||
| 177 | <ComponentSearch Id="SearchForVS2012DBSystemUnderVSSetup" Guid="E781FFA7-55F5-4E8C-9275-7B7EF035B13B" /> | ||
| 178 | </Property> | ||
| 179 | </Fragment> | ||
| 180 | |||
| 181 | <!-- Indicates whether the WiX project system is installed for VS2012 --> | ||
| 182 | <Fragment> | ||
| 183 | <Property Id="VS2012_IDE_WIX_PROJECTSYSTEM_INSTALLED" Secure="yes"> | ||
| 184 | <!-- Component search for the .pkgdef file for VS2012 --> | ||
| 185 | <ComponentSearch Id="SearchForVS2012WixSystemUnderVSSetup" Guid="55489E7A-7DCA-5228-975E-39C51BE332D9" /> | ||
| 186 | </Property> | ||
| 187 | </Fragment> | ||
| 188 | |||
| 189 | <!-- Indicates whether the Visual Studio Modeling project system is installed --> | ||
| 190 | <Fragment> | ||
| 191 | <Property Id="VS2012_IDE_MODELING_PROJECTSYSTEM_INSTALLED" Secure="yes"> | ||
| 192 | <RegistrySearch Id="SearchForVSTS2012ModelingSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\11.0\Projects\{f088123c-0e9e-452a-89e6-6ba2f21d5cac}" Name="Package" Type="raw" /> | ||
| 193 | </Property> | ||
| 194 | </Fragment> | ||
| 195 | |||
| 196 | <!-- Indicates whether the Visual Studio F# project system is installed --> | ||
| 197 | <Fragment> | ||
| 198 | <Property Id="VS2012_IDE_FSHARP_PROJECTSYSTEM_INSTALLED" Secure="yes"> | ||
| 199 | <RegistrySearch Id="SearchForVSTS2012FSharpSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\11.0\Setup\F#" Name="ProductDir" Type="raw" /> | ||
| 200 | </Property> | ||
| 201 | </Fragment> | ||
| 202 | |||
| 203 | <!-- Indicates whether the Visual Studio Express for Windows IDE component is installed. --> | ||
| 204 | <!-- If this property is set, that means Visual Studio Express for Windows is installed --> | ||
| 205 | <!-- on the system. --> | ||
| 206 | <Fragment> | ||
| 207 | <Property Id="VS2012WINEXPRESS_IDE" Secure="yes"> | ||
| 208 | <ComponentSearch Id="SearchForVS2012WinExpressIdeComponent" Guid="A7A5FD99-1DFE-4AA8-A563-4DF5E0DD89E1" Type="file"> | ||
| 209 | <FileSearch Id="VS2012WinExpressIde" Name="vswinexpress.exe" /> | ||
| 210 | </ComponentSearch> | ||
| 211 | </Property> | ||
| 212 | </Fragment> | ||
| 213 | <!-- Custom action definition to run vswinexpress.exe /setup --> | ||
| 214 | <Fragment> | ||
| 215 | <CustomAction Id="VS2012WinExpressSetup" Property="VS2012WINEXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
| 216 | <PropertyRef Id="VS2012WINEXPRESS_IDE" /> | ||
| 217 | <InstallExecuteSequence> | ||
| 218 | <Custom Action="VS2012WinExpressSetup" Before="InstallFinalize" Overridable="yes">VS2012WINEXPRESS_IDE</Custom> | ||
| 219 | </InstallExecuteSequence> | ||
| 220 | </Fragment> | ||
| 221 | <!-- Custom action definition to run vswinexpress.exe /InstallVSTemplates --> | ||
| 222 | <Fragment> | ||
| 223 | <CustomAction Id="VS2012WinExpressInstallVSTemplates" Property="VS2012WINEXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
| 224 | <PropertyRef Id="VS2012WINEXPRESS_IDE" /> | ||
| 225 | <InstallExecuteSequence> | ||
| 226 | <Custom Action="VS2012WinExpressInstallVSTemplates" Before="InstallFinalize" Overridable="yes">VS2012WINEXPRESS_IDE</Custom> | ||
| 227 | </InstallExecuteSequence> | ||
| 228 | </Fragment> | ||
| 229 | |||
| 230 | <!-- Indicates whether the Visual Studio Express for Windows Desktop IDE component is installed. --> | ||
| 231 | <!-- If this property is set, that means Visual Studio Express for Windows Desktop is installed --> | ||
| 232 | <!-- on the system. --> | ||
| 233 | <Fragment> | ||
| 234 | <Property Id="VS2012WDEXPRESS_IDE" Secure="yes"> | ||
| 235 | <ComponentSearch Id="SearchForVS2012WDExpressIdeComponent" Guid="{55C6B9D6-A824-4AFC-8D08-20E581B6F42C}" Type="file"> | ||
| 236 | <FileSearch Id="VS2012WDExpressIde" Name="WDExpress.exe" /> | ||
| 237 | </ComponentSearch> | ||
| 238 | </Property> | ||
| 239 | </Fragment> | ||
| 240 | <!-- Custom action definition to run WDExpress.exe /setup --> | ||
| 241 | <Fragment> | ||
| 242 | <CustomAction Id="VS2012WDExpressSetup" Property="VS2012WDEXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
| 243 | <PropertyRef Id="VS2012WDEXPRESS_IDE" /> | ||
| 244 | <InstallExecuteSequence> | ||
| 245 | <Custom Action="VS2012WDExpressSetup" Before="InstallFinalize" Overridable="yes">VS2012WDEXPRESS_IDE</Custom> | ||
| 246 | </InstallExecuteSequence> | ||
| 247 | </Fragment> | ||
| 248 | <!-- Custom action definition to run WDExpress.exe /InstallVSTemplates --> | ||
| 249 | <Fragment> | ||
| 250 | <CustomAction Id="VS2012WDExpressInstallVSTemplates" Property="VS2012WDEXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
| 251 | <PropertyRef Id="VS2012WDEXPRESS_IDE" /> | ||
| 252 | <InstallExecuteSequence> | ||
| 253 | <Custom Action="VS2012WDExpressInstallVSTemplates" Before="InstallFinalize" Overridable="yes">VS2012WDEXPRESS_IDE</Custom> | ||
| 254 | </InstallExecuteSequence> | ||
| 255 | </Fragment> | ||
| 256 | </Wix> | ||
