introduced custom actions file to execute devenv.exe /setup as admin
This commit is contained in:
@@ -6,6 +6,11 @@ EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReswCodeGen.Tests", "ReswCodeGen.Tests\ReswCodeGen.Tests.csproj", "{B56DDC92-E86D-46AA-BE28-7ACA670EE9CE}"
|
||||
EndProject
|
||||
Project("{6141683F-8A12-4E36-9623-2EB02B2C2303}") = "Setup", "Setup\Setup.isproj", "{F2C091E7-8B4A-4629-BF80-738294F5FFB8}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{4180087A-7F13-409B-AFE9-505371874A68} = {4180087A-7F13-409B-AFE9-505371874A68}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReswCodeGen.CustomActions", "ReswCodeGen.CustomActions\ReswCodeGen.CustomActions.csproj", "{4180087A-7F13-409B-AFE9-505371874A68}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
@@ -45,6 +50,16 @@ Global
|
||||
{F2C091E7-8B4A-4629-BF80-738294F5FFB8}.Release|Any CPU.Build.0 = CD_ROM
|
||||
{F2C091E7-8B4A-4629-BF80-738294F5FFB8}.SingleImage|Any CPU.ActiveCfg = SingleImage
|
||||
{F2C091E7-8B4A-4629-BF80-738294F5FFB8}.SingleImage|Any CPU.Build.0 = SingleImage
|
||||
{4180087A-7F13-409B-AFE9-505371874A68}.CD_ROM|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{4180087A-7F13-409B-AFE9-505371874A68}.CD_ROM|Any CPU.Build.0 = Release|Any CPU
|
||||
{4180087A-7F13-409B-AFE9-505371874A68}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{4180087A-7F13-409B-AFE9-505371874A68}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{4180087A-7F13-409B-AFE9-505371874A68}.DVD-5|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{4180087A-7F13-409B-AFE9-505371874A68}.DVD-5|Any CPU.Build.0 = Debug|Any CPU
|
||||
{4180087A-7F13-409B-AFE9-505371874A68}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{4180087A-7F13-409B-AFE9-505371874A68}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{4180087A-7F13-409B-AFE9-505371874A68}.SingleImage|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{4180087A-7F13-409B-AFE9-505371874A68}.SingleImage|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Configuration.Install;
|
||||
using System.Diagnostics;
|
||||
using System.Windows.Forms;
|
||||
using Microsoft.Win32;
|
||||
|
||||
namespace ReswCodeGen.CustomActions
|
||||
{
|
||||
public class InstallerClass : Installer
|
||||
{
|
||||
protected override void OnAfterInstall(System.Collections.IDictionary savedState)
|
||||
{
|
||||
SetupVisualStudio();
|
||||
}
|
||||
|
||||
public static void SetupVisualStudio()
|
||||
{
|
||||
string devenvPath;
|
||||
using (var key = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Wow6432Node\Microsoft\VisualStudio\11.0"))
|
||||
{
|
||||
if (key == null)
|
||||
{
|
||||
MessageBox.Show("Unable to locate devenv.exe", "Error");
|
||||
return;
|
||||
}
|
||||
devenvPath = string.Format("{0}devenv.exe", key.GetValue("InstallDir", string.Empty));
|
||||
}
|
||||
|
||||
var proc = new ProcessStartInfo
|
||||
{
|
||||
UseShellExecute = true,
|
||||
WorkingDirectory = Environment.CurrentDirectory,
|
||||
FileName = devenvPath,
|
||||
Arguments = "/setup",
|
||||
Verb = "runas"
|
||||
};
|
||||
try
|
||||
{
|
||||
var process = Process.Start(proc);
|
||||
process.WaitForExit();
|
||||
}
|
||||
catch
|
||||
{
|
||||
MessageBox.Show("Unable to execute devenv.exe /setup", "Error");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace ReswCodeGen.CustomActions
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
InstallerClass.SetupVisualStudio();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("ReswCodeGen.CustomActions")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("ReswCodeGen.CustomActions")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2012")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("a652dc5d-3c03-4fea-8565-b02c55bd4e25")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{4180087A-7F13-409B-AFE9-505371874A68}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>ReswCodeGen.CustomActions</RootNamespace>
|
||||
<AssemblyName>ReswCodeGen.CustomActions</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<StartupObject />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Configuration.Install" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="InstallerClass.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.manifest" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||
<security>
|
||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<!-- UAC Manifest Options
|
||||
If you want to change the Windows User Account Control level replace the
|
||||
requestedExecutionLevel node with one of the following.
|
||||
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
||||
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
|
||||
|
||||
Specifying requestedExecutionLevel node will disable file and registry virtualization.
|
||||
If you want to utilize File and Registry Virtualization for backward
|
||||
compatibility then delete the requestedExecutionLevel node.
|
||||
-->
|
||||
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
|
||||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||
<application>
|
||||
<!-- A list of all Windows versions that this application is designed to work with.
|
||||
Windows will automatically select the most compatible environment.-->
|
||||
|
||||
<!-- If your application is designed to work with Windows Vista, uncomment the following supportedOS node-->
|
||||
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"></supportedOS>-->
|
||||
|
||||
<!-- If your application is designed to work with Windows 7, uncomment the following supportedOS node-->
|
||||
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>-->
|
||||
|
||||
<!-- If your application is designed to work with Windows 8, uncomment the following supportedOS node-->
|
||||
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"></supportedOS>-->
|
||||
|
||||
</application>
|
||||
</compatibility>
|
||||
|
||||
<!-- Enable themes for Windows common controls and dialogs (Windows XP and later) -->
|
||||
<!-- <dependency>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity
|
||||
type="win32"
|
||||
name="Microsoft.Windows.Common-Controls"
|
||||
version="6.0.0.0"
|
||||
processorArchitecture="*"
|
||||
publicKeyToken="6595b64144ccf1df"
|
||||
language="*"
|
||||
/>
|
||||
</dependentAssembly>
|
||||
</dependency>-->
|
||||
|
||||
</asmv1:assembly>
|
||||
@@ -57,7 +57,7 @@ namespace ChristianHelle.DeveloperTools.CodeGenerators.Resw.CustomTool
|
||||
var resources = ResourceParser.Parse();
|
||||
foreach (var item in resources)
|
||||
{
|
||||
if (item.Name.Contains("."))
|
||||
if (string.IsNullOrEmpty(item.Name) || item.Name.Contains("."))
|
||||
continue;
|
||||
|
||||
var property = new CodeMemberProperty
|
||||
@@ -69,7 +69,7 @@ namespace ChristianHelle.DeveloperTools.CodeGenerators.Resw.CustomTool
|
||||
};
|
||||
|
||||
property.Comments.Add(new CodeCommentStatement("<summary>", true));
|
||||
property.Comments.Add(new CodeCommentStatement("Localized resource similar to \"" + item.Value + "\"", true));
|
||||
property.Comments.Add(new CodeCommentStatement("Localized resource similar to \"" + (item.Value ?? item.Name) + "\"", true));
|
||||
property.Comments.Add(new CodeCommentStatement("</summary>", true));
|
||||
property.GetStatements.Add(
|
||||
new CodeMethodReturnStatement(
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace ChristianHelle.DeveloperTools.CodeGenerators.Resw.CustomTool
|
||||
{
|
||||
@@ -9,33 +7,4 @@ namespace ChristianHelle.DeveloperTools.CodeGenerators.Resw.CustomTool
|
||||
string ReswFileContents { get; set; }
|
||||
List<ResourceItem> Parse();
|
||||
}
|
||||
|
||||
public class ResourceParser : IResourceParser
|
||||
{
|
||||
public ResourceParser(string reswFileContents)
|
||||
{
|
||||
ReswFileContents = reswFileContents;
|
||||
}
|
||||
|
||||
public string ReswFileContents { get; set; }
|
||||
|
||||
public List<ResourceItem> Parse()
|
||||
{
|
||||
var doc = XDocument.Parse(ReswFileContents);
|
||||
|
||||
var list = new List<ResourceItem>();
|
||||
|
||||
foreach (var element in doc.Descendants("data"))
|
||||
{
|
||||
list.Add(new ResourceItem
|
||||
{
|
||||
Name = element.Attribute("name").Value,
|
||||
Value = element.Descendants("value").First().Value,
|
||||
Comment = element.Descendants("comment").First().Value
|
||||
});
|
||||
}
|
||||
|
||||
return list;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace ChristianHelle.DeveloperTools.CodeGenerators.Resw.CustomTool
|
||||
{
|
||||
public class ResourceParser : IResourceParser
|
||||
{
|
||||
public ResourceParser(string reswFileContents)
|
||||
{
|
||||
ReswFileContents = reswFileContents;
|
||||
}
|
||||
|
||||
public string ReswFileContents { get; set; }
|
||||
|
||||
public List<ResourceItem> Parse()
|
||||
{
|
||||
var doc = XDocument.Parse(ReswFileContents);
|
||||
|
||||
var list = new List<ResourceItem>();
|
||||
|
||||
foreach (var element in doc.Descendants("data"))
|
||||
{
|
||||
if (element.Attributes().All(c => c.Name != "name"))
|
||||
continue;
|
||||
|
||||
var item = new ResourceItem();
|
||||
|
||||
var nameAttribute = element.Attribute("name");
|
||||
if (nameAttribute != null)
|
||||
item.Name = nameAttribute.Value;
|
||||
|
||||
if (element.Descendants().Any(c => c.Name == "value"))
|
||||
{
|
||||
var valueElement = element.Descendants("value").FirstOrDefault();
|
||||
if (valueElement != null)
|
||||
item.Value = valueElement.Value;
|
||||
}
|
||||
|
||||
if (element.Descendants().Any(c => c.Name == "comment"))
|
||||
{
|
||||
var commentElement = element.Descendants("comment").FirstOrDefault();
|
||||
if (commentElement != null)
|
||||
item.Comment = commentElement.Value;
|
||||
}
|
||||
|
||||
list.Add(item);
|
||||
}
|
||||
|
||||
return list;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -59,6 +59,7 @@
|
||||
<Compile Include="IResourceParser.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="ResourceItem.cs" />
|
||||
<Compile Include="ResourceParser.cs" />
|
||||
<Compile Include="ReswFileCodeGenerator.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
@@ -4,7 +4,7 @@ using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
namespace ChristianHelle.DeveloperTools.CodeGenerators.Resw.CustomTool.Tests
|
||||
{
|
||||
[TestClass]
|
||||
[DeploymentItem("Resources/Resources.resw")]
|
||||
[DeploymentItem("Resources/Valid/Resources.resw")]
|
||||
public class CodeGeneratorFactoryTests
|
||||
{
|
||||
private string reswFileContents;
|
||||
|
||||
@@ -6,7 +6,7 @@ using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
namespace ChristianHelle.DeveloperTools.CodeGenerators.Resw.CustomTool.Tests
|
||||
{
|
||||
[TestClass]
|
||||
[DeploymentItem("Resources/Resources.resw")]
|
||||
[DeploymentItem("Resources/Valid/Resources.resw")]
|
||||
public class CodeGeneratorTests
|
||||
{
|
||||
private string reswFileContents;
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
using System.IO;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace ChristianHelle.DeveloperTools.CodeGenerators.Resw.CustomTool.Tests
|
||||
{
|
||||
[TestClass]
|
||||
[DeploymentItem("Resources/ResourcesWithoutValues.resw")]
|
||||
[DeploymentItem("Resources/ResourcesWithoutComments.resw")]
|
||||
public class ResourceParserErrorHandlingTests
|
||||
{
|
||||
[TestMethod]
|
||||
public void ParseHandlesMissingResourceItemValues()
|
||||
{
|
||||
var reswFileContents = File.ReadAllText("ResourcesWithoutValues.resw");
|
||||
var target = new ResourceParser(reswFileContents);
|
||||
var actual = target.Parse();
|
||||
|
||||
Assert.IsNotNull(actual);
|
||||
CollectionAssert.AllItemsAreNotNull(actual);
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void ParseWithMissingResourceItemValuesSetsValueNull()
|
||||
{
|
||||
var reswFileContents = File.ReadAllText("ResourcesWithoutValues.resw");
|
||||
var target = new ResourceParser(reswFileContents);
|
||||
var actual = target.Parse();
|
||||
|
||||
Assert.IsNotNull(actual);
|
||||
CollectionAssert.AllItemsAreNotNull(actual);
|
||||
|
||||
foreach (var item in actual)
|
||||
Assert.IsTrue(string.IsNullOrEmpty(item.Value));
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void ParseHandlesMissingResourceItemComments()
|
||||
{
|
||||
var reswFileContents = File.ReadAllText("ResourcesWithoutComments.resw");
|
||||
var target = new ResourceParser(reswFileContents);
|
||||
var actual = target.Parse();
|
||||
|
||||
Assert.IsNotNull(actual);
|
||||
CollectionAssert.AllItemsAreNotNull(actual);
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void ParseWithMissingResourceItemCommentsSetsCommentsNull()
|
||||
{
|
||||
var reswFileContents = File.ReadAllText("ResourcesWithoutComments.resw");
|
||||
var target = new ResourceParser(reswFileContents);
|
||||
var actual = target.Parse();
|
||||
|
||||
Assert.IsNotNull(actual);
|
||||
CollectionAssert.AllItemsAreNotNull(actual);
|
||||
|
||||
foreach (var item in actual)
|
||||
Assert.IsTrue(string.IsNullOrEmpty(item.Comment));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,3 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Xml.Linq;
|
||||
@@ -42,26 +39,6 @@ namespace ChristianHelle.DeveloperTools.CodeGenerators.Resw.CustomTool.Tests
|
||||
Assert.AreNotEqual(0, resourcs.Count());
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void CanParseTestReswFileContentsIntoResourceItems()
|
||||
{
|
||||
var doc = XDocument.Parse(reswFileContents);
|
||||
|
||||
var list = new List<ResourceItem>();
|
||||
|
||||
foreach (var element in doc.Descendants("data"))
|
||||
{
|
||||
list.Add(new ResourceItem
|
||||
{
|
||||
Name = element.Attribute("name").Value,
|
||||
Value = element.Descendants("value").First().Value,
|
||||
Comment = element.Descendants("comment").First().Value
|
||||
});
|
||||
}
|
||||
|
||||
CollectionAssert.AllItemsAreNotNull(list);
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void ConstructorSetsReswFileContents()
|
||||
{
|
||||
|
||||
@@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Test1" xml:space="preserve">
|
||||
<value>Test 1 value</value>
|
||||
</data>
|
||||
<data name="Test2" xml:space="preserve">
|
||||
<value>Test 2 value</value>
|
||||
</data>
|
||||
<data name="Test3" xml:space="preserve">
|
||||
<value>Test 3 value</value>
|
||||
</data>
|
||||
<data name="TestControl.Text" xml:space="preserve">
|
||||
<value>TestControl.Text value</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,136 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Test1" xml:space="preserve">
|
||||
<value />
|
||||
<comment>Test 1 comment</comment>
|
||||
</data>
|
||||
<data name="Test2" xml:space="preserve">
|
||||
<value />
|
||||
<comment>Test 2 comment</comment>
|
||||
</data>
|
||||
<data name="Test3" xml:space="preserve">
|
||||
<value />
|
||||
<comment>Test 3 comment</comment>
|
||||
</data>
|
||||
<data name="TestControl.Text" xml:space="preserve">
|
||||
<value />
|
||||
<comment>TestControl.Test comment</comment>
|
||||
</data>
|
||||
</root>
|
||||
@@ -57,8 +57,8 @@
|
||||
<ItemGroup>
|
||||
<Compile Include="CodeGeneratorFactoryTests.cs" />
|
||||
<Compile Include="CodeGeneratorTests.cs" />
|
||||
<Compile Include="ResourceParserErrorHandlingTests.cs" />
|
||||
<Compile Include="ResourceParserTests.cs" />
|
||||
<Compile Include="Spikes.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
@@ -69,6 +69,14 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
<Content Include="Resources\ResourcesWithoutValues.resw">
|
||||
<SubType>Designer</SubType>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Resources\ResourcesWithoutComments.resw">
|
||||
<SubType>Designer</SubType>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ReswCodeGen.CustomTool\ReswCodeGen.CustomTool.csproj">
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace ChristianHelle.DeveloperTools.CodeGenerators.Resw.CustomTool.Tests
|
||||
{
|
||||
[TestClass]
|
||||
public class Spikes
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -343,6 +343,7 @@
|
||||
<col def="S0">ISDotNetInstallerArgsRollback</col>
|
||||
<row><td>ISX_DEFAULTCOMPONENT</td><td>{C30F75D3-90B0-458C-820A-E2735DE9256F}</td><td>GlobalAssemblyCache</td><td>2</td><td/><td/><td>17</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row>
|
||||
<row><td>ISX_DEFAULTCOMPONENT1</td><td>{941F8DF4-5233-4CF3-BD0A-2232A782181C}</td><td>INSTALLDIR</td><td>2</td><td/><td/><td>17</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row>
|
||||
<row><td>ReswCodeGen.CustomActions.Primary_output</td><td>{EAFEBCD5-9627-4A2D-8447-31F31BCBCBE6}</td><td>INSTALLDIR</td><td>2</td><td/><td>reswcodegen.customactions.pr</td><td>17</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row>
|
||||
<row><td>ReswCodeGen.CustomTool.Primary_output</td><td>{DC17C7A5-6FF1-4B58-90AD-C449CDB05EAD}</td><td>INSTALLDIR</td><td>2</td><td/><td>reswcodegen.customtool.prima</td><td>52</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row>
|
||||
<row><td>ReswCodeGen.CustomTool.Primary_output2</td><td>{1DA37D81-CD1F-4FA8-A520-B11B410E3B37}</td><td>GlobalAssemblyCache</td><td>2</td><td/><td>reswcodegen.customtool.prima2</td><td>52</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row>
|
||||
</table>
|
||||
@@ -1064,6 +1065,7 @@
|
||||
<col def="S0">Target</col>
|
||||
<col def="I4">ExtendedType</col>
|
||||
<col def="S255">ISComments</col>
|
||||
<row><td>DenenvSetup</td><td>3154</td><td>reswcodegen.customactions.pr</td><td/><td/><td/></row>
|
||||
<row><td>ISPreventDowngrade</td><td>19</td><td/><td>[IS_PREVENT_DOWNGRADE_EXIT]</td><td/><td>Exits install when a newer version of this product is found</td></row>
|
||||
<row><td>ISPrint</td><td>1</td><td>SetAllUsers.dll</td><td>PrintScrollableText</td><td/><td>Prints the contents of a ScrollableText control on a dialog.</td></row>
|
||||
<row><td>ISRunSetupTypeAddLocalEvent</td><td>1</td><td>ISExpHlp.dll</td><td>RunSetupTypeAddLocalEvent</td><td/><td>Run the AddLocal events associated with the Next button on the Setup Type dialog.</td></row>
|
||||
@@ -1071,7 +1073,6 @@
|
||||
<row><td>ISSelfRegisterFiles</td><td>3073</td><td>ISSELFREG.DLL</td><td>ISSelfRegisterFiles</td><td/><td/></row>
|
||||
<row><td>ISSelfRegisterFinalize</td><td>1</td><td>ISSELFREG.DLL</td><td>ISSelfRegisterFinalize</td><td/><td/></row>
|
||||
<row><td>ISUnSelfRegisterFiles</td><td>3073</td><td>ISSELFREG.DLL</td><td>ISUnSelfRegisterFiles</td><td/><td/></row>
|
||||
<row><td>NewCustomAction1</td><td>1122</td><td>IDE</td><td>[IDE]devenv.exe /setup</td><td/><td/></row>
|
||||
<row><td>SetARPINSTALLLOCATION</td><td>51</td><td>ARPINSTALLLOCATION</td><td>[INSTALLDIR]</td><td/><td/></row>
|
||||
<row><td>SetAllUsersProfileNT</td><td>51</td><td>ALLUSERSPROFILE</td><td>[%SystemRoot]\Profiles\All Users</td><td/><td/></row>
|
||||
<row><td>ShowMsiLog</td><td>226</td><td>SystemFolder</td><td>[SystemFolder]notepad.exe "[MsiLogFileLocation]"</td><td/><td>Shows Property-driven MSI Log</td></row>
|
||||
@@ -1873,6 +1874,7 @@
|
||||
<col key="yes" def="s72">Component_</col>
|
||||
<row><td>AlwaysInstall</td><td>ISX_DEFAULTCOMPONENT</td></row>
|
||||
<row><td>AlwaysInstall</td><td>ISX_DEFAULTCOMPONENT1</td></row>
|
||||
<row><td>AlwaysInstall</td><td>ReswCodeGen.CustomActions.Primary_output</td></row>
|
||||
<row><td>AlwaysInstall</td><td>ReswCodeGen.CustomTool.Primary_output</td></row>
|
||||
<row><td>AlwaysInstall</td><td>ReswCodeGen.CustomTool.Primary_output2</td></row>
|
||||
</table>
|
||||
@@ -1889,6 +1891,7 @@
|
||||
<col def="S255">ISBuildSourcePath</col>
|
||||
<col def="I4">ISAttributes</col>
|
||||
<col def="S72">ISComponentSubFolder_</col>
|
||||
<row><td>reswcodegen.customactions.pr</td><td>ReswCodeGen.CustomActions.Primary_output</td><td>ReswCodeGen.CustomActions.Primary output</td><td>0</td><td/><td/><td/><td>1</td><td><ReswCodeGen.CustomActions>|Built</td><td>3</td><td/></row>
|
||||
<row><td>reswcodegen.customtool.prima</td><td>ReswCodeGen.CustomTool.Primary_output</td><td>ReswCodeGen.CustomTool.Primary output</td><td>0</td><td/><td/><td>0</td><td>1</td><td><ReswCodeGen.CustomTool>|Built</td><td>3</td><td/></row>
|
||||
<row><td>reswcodegen.customtool.prima2</td><td>ReswCodeGen.CustomTool.Primary_output2</td><td>ReswCodeGen.CustomTool.Primary output</td><td>0</td><td/><td/><td>0</td><td>1</td><td><ReswCodeGen.CustomTool>|Built</td><td>3</td><td/></row>
|
||||
</table>
|
||||
@@ -2150,6 +2153,7 @@
|
||||
<col def="S0">Miscellaneous</col>
|
||||
<row><td>ISX_DEFAULTCOMPONENT</td><td/><td/><td>_35E60FAB_A173_41F5_A1EC_7BCCE932412C_FILTER</td><td/><td/><td/><td/></row>
|
||||
<row><td>ISX_DEFAULTCOMPONENT1</td><td/><td/><td>_489A804A_6D51_40F1_8AC5_810DEED8A068_FILTER</td><td/><td/><td/><td/></row>
|
||||
<row><td>ReswCodeGen.CustomActions.Primary_output</td><td/><td/><td>_727A98DF_AAF3_4280_9A5A_31CBEA1BD501_FILTER</td><td/><td/><td/><td/></row>
|
||||
<row><td>ReswCodeGen.CustomTool.Primary_output</td><td/><td/><td>_002FDE30_5929_4810_8173_8FE579BBEDB5_FILTER</td><td/><td/><td/><td/></row>
|
||||
<row><td>ReswCodeGen.CustomTool.Primary_output2</td><td/><td/><td>_1C371698_566F_425C_972A_9F87926B1656_FILTER</td><td/><td/><td/><td/></row>
|
||||
</table>
|
||||
@@ -2469,6 +2473,7 @@
|
||||
<row><td>ISProjectDataFolder</td><td/><td/><td>1</td></row>
|
||||
<row><td>ISProjectFolder</td><td/><td/><td>1</td></row>
|
||||
<row><td>ProgramFilesFolder</td><td/><td/><td>1</td></row>
|
||||
<row><td>ReswCodeGen.CustomActions</td><td>ReswCodeGen.CustomActions\ReswCodeGen.CustomActions.csproj</td><td/><td>2</td></row>
|
||||
<row><td>ReswCodeGen.CustomTool</td><td>ReswCodeGen.CustomTool\ReswCodeGen.CustomTool.csproj</td><td/><td>2</td></row>
|
||||
<row><td>SystemFolder</td><td/><td/><td>1</td></row>
|
||||
<row><td>WindowsFolder</td><td/><td/><td>1</td></row>
|
||||
@@ -2531,11 +2536,11 @@
|
||||
<col def="S255">DotNetBuildConfiguration</col>
|
||||
<col def="S255">MsiCommandLine</col>
|
||||
<col def="I4">ISSetupPrerequisiteLocation</col>
|
||||
<row><td>CD_ROM</td><td>Express</td><td><ISProjectDataFolder></td><td>Default</td><td>0</td><td>1033</td><td>0</td><td>2</td><td>Intel</td><td/><td>1033</td><td>0</td><td>650</td><td>0</td><td>2048</td><td/><td>0</td><td/><td>MediaLocation</td><td/><td>http://</td><td/><td/><td/><td/><td>75805</td><td/><td/><td/><td>3</td></row>
|
||||
<row><td>CD_ROM</td><td>Express</td><td><ISProjectDataFolder></td><td>Default</td><td>0</td><td>1033</td><td>0</td><td>1</td><td>Intel</td><td/><td>1033</td><td>0</td><td>650</td><td>0</td><td>2048</td><td/><td>0</td><td/><td>MediaLocation</td><td/><td>http://</td><td/><td/><td/><td/><td>75805</td><td/><td/><td/><td>3</td></row>
|
||||
<row><td>Custom</td><td>Express</td><td><ISProjectDataFolder></td><td>Default</td><td>2</td><td>1033</td><td>0</td><td>2</td><td>Intel</td><td/><td>1033</td><td>0</td><td>100</td><td>0</td><td>1024</td><td/><td>0</td><td/><td>MediaLocation</td><td/><td>http://</td><td/><td/><td/><td/><td>75805</td><td/><td/><td/><td>3</td></row>
|
||||
<row><td>DVD-10</td><td>Express</td><td><ISProjectDataFolder></td><td>Default</td><td>3</td><td>1033</td><td>0</td><td>2</td><td>Intel</td><td/><td>1033</td><td>0</td><td>8.75</td><td>1</td><td>2048</td><td/><td>0</td><td/><td>MediaLocation</td><td/><td>http://</td><td/><td/><td/><td/><td>75805</td><td/><td/><td/><td>3</td></row>
|
||||
<row><td>DVD-18</td><td>Express</td><td><ISProjectDataFolder></td><td>Default</td><td>3</td><td>1033</td><td>0</td><td>2</td><td>Intel</td><td/><td>1033</td><td>0</td><td>15.83</td><td>1</td><td>2048</td><td/><td>0</td><td/><td>MediaLocation</td><td/><td>http://</td><td/><td/><td/><td/><td>75805</td><td/><td/><td/><td>3</td></row>
|
||||
<row><td>DVD-5</td><td>Express</td><td><ISProjectDataFolder></td><td>Default</td><td>3</td><td>1033</td><td>0</td><td>2</td><td>Intel</td><td/><td>1033</td><td>0</td><td>4.38</td><td>1</td><td>2048</td><td/><td>0</td><td/><td>MediaLocation</td><td/><td>http://</td><td/><td/><td/><td/><td>75805</td><td/><td/><td/><td>3</td></row>
|
||||
<row><td>DVD-5</td><td>Express</td><td><ISProjectDataFolder></td><td>Default</td><td>3</td><td>1033</td><td>0</td><td>1</td><td>Intel</td><td/><td>1033</td><td>0</td><td>4.38</td><td>1</td><td>2048</td><td/><td>0</td><td/><td>MediaLocation</td><td/><td>http://</td><td/><td/><td/><td/><td>75805</td><td/><td/><td/><td>3</td></row>
|
||||
<row><td>DVD-9</td><td>Express</td><td><ISProjectDataFolder></td><td>Default</td><td>3</td><td>1033</td><td>0</td><td>2</td><td>Intel</td><td/><td>1033</td><td>0</td><td>7.95</td><td>1</td><td>2048</td><td/><td>0</td><td/><td>MediaLocation</td><td/><td>http://</td><td/><td/><td/><td/><td>75805</td><td/><td/><td/><td>3</td></row>
|
||||
<row><td>SingleImage</td><td>Express</td><td><ISProjectDataFolder></td><td>PackageName</td><td>1</td><td>1033</td><td>0</td><td>1</td><td>Intel</td><td/><td>1033</td><td>0</td><td>0</td><td>0</td><td>0</td><td/><td>0</td><td/><td>MediaLocation</td><td/><td>http://</td><td/><td/><td/><td/><td>108573</td><td/><td/><td/><td>3</td></row>
|
||||
<row><td>WebDeployment</td><td>Express</td><td><ISProjectDataFolder></td><td>PackageName</td><td>4</td><td>1033</td><td>2</td><td>1</td><td>Intel</td><td/><td>1033</td><td>0</td><td>0</td><td>0</td><td>0</td><td/><td>0</td><td/><td>MediaLocation</td><td/><td>http://</td><td/><td/><td/><td/><td>124941</td><td/><td/><td/><td>3</td></row>
|
||||
@@ -2579,11 +2584,11 @@
|
||||
<col def="I4">MsiEngineVersion</col>
|
||||
<col def="S255">WinMsi30Url</col>
|
||||
<col def="S255">CertPassword</col>
|
||||
<row><td>CD_ROM</td><td>Express</td><td>0</td><td>http://</td><td>0</td><td>install</td><td>install</td><td>[LocalAppDataFolder]Downloaded Installations</td><td>0</td><td>http://www.installengine.com/Msiengine20</td><td>http://www.installengine.com/Msiengine20</td><td>0</td><td>http://www.installengine.com/cert05/isengine</td><td>0</td><td/><td/><td/><td>3</td><td>http://www.installengine.com/cert05/dotnetfx</td><td>0</td><td>1033</td><td/><td/><td/><td/><td/><td>3</td><td/><td>http://www.installengine.com/Msiengine30</td><td/></row>
|
||||
<row><td>CD_ROM</td><td>Express</td><td>0</td><td>http://</td><td>0</td><td>install</td><td>install</td><td>[LocalAppDataFolder]Downloaded Installations</td><td>1</td><td>http://www.installengine.com/Msiengine20</td><td>http://www.installengine.com/Msiengine20</td><td>0</td><td>http://www.installengine.com/cert05/isengine</td><td>0</td><td/><td/><td/><td>3</td><td>http://www.installengine.com/cert05/dotnetfx</td><td>0</td><td>1033</td><td/><td/><td/><td/><td/><td>3</td><td/><td>http://www.installengine.com/Msiengine30</td><td/></row>
|
||||
<row><td>Custom</td><td>Express</td><td>0</td><td>http://</td><td>0</td><td>install</td><td>install</td><td>[LocalAppDataFolder]Downloaded Installations</td><td>0</td><td>http://www.installengine.com/Msiengine20</td><td>http://www.installengine.com/Msiengine20</td><td>0</td><td>http://www.installengine.com/cert05/isengine</td><td>0</td><td/><td/><td/><td>3</td><td>http://www.installengine.com/cert05/dotnetfx</td><td>0</td><td>1033</td><td/><td/><td/><td/><td/><td>3</td><td/><td>http://www.installengine.com/Msiengine30</td><td/></row>
|
||||
<row><td>DVD-10</td><td>Express</td><td>0</td><td>http://</td><td>0</td><td>install</td><td>install</td><td>[LocalAppDataFolder]Downloaded Installations</td><td>0</td><td>http://www.installengine.com/Msiengine20</td><td>http://www.installengine.com/Msiengine20</td><td>0</td><td>http://www.installengine.com/cert05/isengine</td><td>0</td><td/><td/><td/><td>3</td><td>http://www.installengine.com/cert05/dotnetfx</td><td>0</td><td>1033</td><td/><td/><td/><td/><td/><td>3</td><td/><td>http://www.installengine.com/Msiengine30</td><td/></row>
|
||||
<row><td>DVD-18</td><td>Express</td><td>0</td><td>http://</td><td>0</td><td>install</td><td>install</td><td>[LocalAppDataFolder]Downloaded Installations</td><td>0</td><td>http://www.installengine.com/Msiengine20</td><td>http://www.installengine.com/Msiengine20</td><td>0</td><td>http://www.installengine.com/cert05/isengine</td><td>0</td><td/><td/><td/><td>3</td><td>http://www.installengine.com/cert05/dotnetfx</td><td>0</td><td>1033</td><td/><td/><td/><td/><td/><td>3</td><td/><td>http://www.installengine.com/Msiengine30</td><td/></row>
|
||||
<row><td>DVD-5</td><td>Express</td><td>0</td><td>http://</td><td>0</td><td>install</td><td>install</td><td>[LocalAppDataFolder]Downloaded Installations</td><td>0</td><td>http://www.installengine.com/Msiengine20</td><td>http://www.installengine.com/Msiengine20</td><td>0</td><td>http://www.installengine.com/cert05/isengine</td><td>0</td><td/><td/><td/><td>3</td><td>http://www.installengine.com/cert05/dotnetfx</td><td>0</td><td>1033</td><td/><td/><td/><td/><td/><td>3</td><td/><td>http://www.installengine.com/Msiengine30</td><td/></row>
|
||||
<row><td>DVD-5</td><td>Express</td><td>0</td><td>http://</td><td>0</td><td>install</td><td>install</td><td>[LocalAppDataFolder]Downloaded Installations</td><td>1</td><td>http://www.installengine.com/Msiengine20</td><td>http://www.installengine.com/Msiengine20</td><td>0</td><td>http://www.installengine.com/cert05/isengine</td><td>0</td><td/><td/><td/><td>3</td><td>http://www.installengine.com/cert05/dotnetfx</td><td>0</td><td>1033</td><td/><td/><td/><td/><td/><td>3</td><td/><td>http://www.installengine.com/Msiengine30</td><td/></row>
|
||||
<row><td>DVD-9</td><td>Express</td><td>0</td><td>http://</td><td>0</td><td>install</td><td>install</td><td>[LocalAppDataFolder]Downloaded Installations</td><td>0</td><td>http://www.installengine.com/Msiengine20</td><td>http://www.installengine.com/Msiengine20</td><td>0</td><td>http://www.installengine.com/cert05/isengine</td><td>0</td><td/><td/><td/><td>3</td><td>http://www.installengine.com/cert05/dotnetfx</td><td>0</td><td>1033</td><td/><td/><td/><td/><td/><td>3</td><td/><td>http://www.installengine.com/Msiengine30</td><td/></row>
|
||||
<row><td>SingleImage</td><td>Express</td><td>0</td><td>http://</td><td>0</td><td>install</td><td>install</td><td>[LocalAppDataFolder]Downloaded Installations</td><td>1</td><td>http://www.installengine.com/Msiengine20</td><td>http://www.installengine.com/Msiengine20</td><td>0</td><td>http://www.installengine.com/cert05/isengine</td><td>0</td><td/><td/><td/><td>3</td><td>http://www.installengine.com/cert05/dotnetfx</td><td>0</td><td>1033</td><td/><td/><td/><td/><td/><td>3</td><td/><td>http://www.installengine.com/Msiengine30</td><td/></row>
|
||||
<row><td>WebDeployment</td><td>Express</td><td>0</td><td>http://</td><td>0</td><td>setup</td><td>Default</td><td>[LocalAppDataFolder]Downloaded Installations</td><td>2</td><td>http://www.Installengine.com/Msiengine20</td><td>http://www.Installengine.com/Msiengine20</td><td>0</td><td>http://www.installengine.com/cert05/isengine</td><td>2</td><td/><td/><td/><td>3</td><td>http://www.installengine.com/cert05/dotnetfx</td><td>0</td><td>1033</td><td/><td/><td/><td/><td/><td>3</td><td/><td>http://www.installengine.com/Msiengine30</td><td/></row>
|
||||
@@ -3880,7 +3885,7 @@
|
||||
<row><td>IDS__TargetReq_DESC_RAM</td><td>1033</td><td>The amount of RAM is not adequate for running [ProductName].</td><td>0</td><td/><td>1168132439</td></row>
|
||||
<row><td>IDS__TargetReq_DESC_RESOLUTION</td><td>1033</td><td>The screen resolution is not adequate for running [ProductName].</td><td>0</td><td/><td>1168132439</td></row>
|
||||
<row><td>ID_STRING1</td><td>1033</td><td/><td>0</td><td/><td>1168134487</td></row>
|
||||
<row><td>ID_STRING2</td><td>1033</td><td>http://www.ChristianResmaHelle.com</td><td>0</td><td/><td>1302336749</td></row>
|
||||
<row><td>ID_STRING2</td><td>1033</td><td>http://reswcodegen.codeplex.com</td><td>0</td><td/><td>1436564087</td></row>
|
||||
<row><td>ID_STRING3</td><td>1033</td><td>Christian Resma Helle</td><td>0</td><td/><td>1302336749</td></row>
|
||||
<row><td>IIDS_UITEXT_FeatureUninstalled</td><td>1033</td><td>This feature will remain uninstalled.</td><td>0</td><td/><td>1168132439</td></row>
|
||||
</table>
|
||||
@@ -4027,6 +4032,7 @@
|
||||
<row><td>CreateFolders</td><td/><td>3700</td><td>CreateFolders</td><td/></row>
|
||||
<row><td>CreateShortcuts</td><td/><td>4500</td><td>CreateShortcuts</td><td/></row>
|
||||
<row><td>DeleteServices</td><td>VersionNT</td><td>2000</td><td>DeleteServices</td><td/></row>
|
||||
<row><td>DenenvSetup</td><td>Not Installed</td><td>6405</td><td/><td/></row>
|
||||
<row><td>DuplicateFiles</td><td/><td>4210</td><td>DuplicateFiles</td><td/></row>
|
||||
<row><td>FileCost</td><td/><td>900</td><td>FileCost</td><td/></row>
|
||||
<row><td>FindRelatedProducts</td><td>NOT ISSETUPDRIVEN</td><td>420</td><td>FindRelatedProducts</td><td/></row>
|
||||
@@ -4049,7 +4055,6 @@
|
||||
<row><td>MsiConfigureServices</td><td>VersionMsi >= "5.00"</td><td>5850</td><td>MSI5 MsiConfigureServices</td><td/></row>
|
||||
<row><td>MsiPublishAssemblies</td><td/><td>6250</td><td>MsiPublishAssemblies</td><td/></row>
|
||||
<row><td>MsiUnpublishAssemblies</td><td/><td>1750</td><td>MsiUnpublishAssemblies</td><td/></row>
|
||||
<row><td>NewCustomAction1</td><td>Not Installed</td><td>6405</td><td/><td/></row>
|
||||
<row><td>PatchFiles</td><td/><td>4090</td><td>PatchFiles</td><td/></row>
|
||||
<row><td>ProcessComponents</td><td/><td>1600</td><td>ProcessComponents</td><td/></row>
|
||||
<row><td>PublishComponents</td><td/><td>6200</td><td>PublishComponents</td><td/></row>
|
||||
@@ -4109,7 +4114,7 @@
|
||||
QwBEAF8AUgBPAE0AAQBFAHgAcAByAGUAcwBzAA==
|
||||
</td></row>
|
||||
<row><td>DefaultProductConfiguration</td><td>Express</td></row>
|
||||
<row><td>EnableSwidtag</td><td>1</td></row>
|
||||
<row><td>EnableSwidtag</td><td>0</td></row>
|
||||
<row><td>ISCompilerOption_CompileBeforeBuild</td><td>1</td></row>
|
||||
<row><td>ISCompilerOption_Debug</td><td>0</td></row>
|
||||
<row><td>ISCompilerOption_IncludePath</td><td/></row>
|
||||
@@ -4123,7 +4128,7 @@ QwBEAF8AUgBPAE0AAQBFAHgAcAByAGUAcwBzAA==
|
||||
<row><td>ISTheme</td><td>InstallShield Blue.theme</td></row>
|
||||
<row><td>ISUSLock</td><td>{A7B3F628-DE1F-49AA-B557-06DD8E61CDB2}</td></row>
|
||||
<row><td>ISUSSignature</td><td>{573D3FCA-5556-4921-822E-B0FD4BB814AB}</td></row>
|
||||
<row><td>ISVisitedViews</td><td>viewAssistant,viewRegistry,viewProject,viewRelease,viewCustomActions,viewISToday,viewUpdateService,viewRealSetupDesign,viewSetupDesign,viewSetupTypes,viewUpgradePaths,viewObjects,viewDependencies,viewAppFiles,viewComponentServices,viewShortcuts,viewSupportFiles,viewInstallScriptStd,viewSystemSearch</td></row>
|
||||
<row><td>ISVisitedViews</td><td>viewAssistant,viewRegistry,viewProject,viewRelease,viewCustomActions,viewISToday,viewUpdateService,viewRealSetupDesign,viewSetupDesign,viewSetupTypes,viewUpgradePaths,viewObjects,viewDependencies,viewAppFiles,viewComponentServices,viewShortcuts,viewSupportFiles,viewInstallScriptStd,viewSystemSearch,viewAppV,viewSQLServer,viewCE,viewFeatureFiles,viewDesignPatches</td></row>
|
||||
<row><td>Limited</td><td>1</td></row>
|
||||
<row><td>LockPermissionMode</td><td>1</td></row>
|
||||
<row><td>MsiExecCmdLineOptions</td><td/></row>
|
||||
|
||||
@@ -32,5 +32,9 @@
|
||||
<Name>ReswCodeGen.CustomTool</Name>
|
||||
<Project>{27E6A696-F14D-43F0-B3CB-5FAB2BE385D0}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ReswCodeGen.CustomActions\ReswCodeGen.CustomActions.csproj">
|
||||
<Name>ReswCodeGen.CustomActions</Name>
|
||||
<Project>{4180087A-7F13-409B-AFE9-505371874A68}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user