diff options
Diffstat (limited to 'src')
5 files changed, 14 insertions, 7 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Data/tables.xml b/src/WixToolset.Core.WindowsInstaller/Data/tables.xml index 7cd1767b..e28e39c2 100644 --- a/src/WixToolset.Core.WindowsInstaller/Data/tables.xml +++ b/src/WixToolset.Core.WindowsInstaller/Data/tables.xml | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | 3 | ||
| 4 | 4 | ||
| 5 | <tableDefinitions xmlns="http://wixtoolset.org/schemas/v4/wi/tables"> | 5 | <tableDefinitions xmlns="http://wixtoolset.org/schemas/v4/wi/tables"> |
| 6 | <tableDefinition name="ActionText"> | 6 | <tableDefinition name="ActionText" tupleIdIsPrimaryKey="no"> |
| 7 | <columnDefinition name="Action" type="string" length="72" primaryKey="yes" modularize="column" | 7 | <columnDefinition name="Action" type="string" length="72" primaryKey="yes" modularize="column" |
| 8 | category="identifier" description="Name of action to be described."/> | 8 | category="identifier" description="Name of action to be described."/> |
| 9 | <columnDefinition name="Description" type="localized" length="0" nullable="yes" escapeIdtCharacters="yes" | 9 | <columnDefinition name="Description" type="localized" length="0" nullable="yes" escapeIdtCharacters="yes" |
diff --git a/src/test/Example.Extension/Example.Extension.csproj b/src/test/Example.Extension/Example.Extension.csproj index 8b4d4e86..d9ac2509 100644 --- a/src/test/Example.Extension/Example.Extension.csproj +++ b/src/test/Example.Extension/Example.Extension.csproj | |||
| @@ -33,7 +33,7 @@ | |||
| 33 | </ItemGroup> | 33 | </ItemGroup> |
| 34 | </Target> | 34 | </Target> |
| 35 | 35 | ||
| 36 | <Target Name="BuildExtensionWixlib" AfterTargets="ResolveProjectReferences" DependsOnTargets="SetExtensionWixlib" Inputs="@(ExtensionWxs)" Outputs="$(WixlibPath)"> | 36 | <Target Name="BuildExtensionWixlib" AfterTargets="ResolveProjectReferences" DependsOnTargets="SetExtensionWixlib" Inputs="@(ExtensionWxs);$(CompileWixlibExePath)" Outputs="$(WixlibPath)"> |
| 37 | <Exec Command='$(CompileWixlibExePath) "$(IntermediateOutputPath)\" "$(WixlibPath)" "@(ExtensionWxs)"' /> | 37 | <Exec Command='$(CompileWixlibExePath) "$(IntermediateOutputPath)\" "$(WixlibPath)" "@(ExtensionWxs)"' /> |
| 38 | </Target> | 38 | </Target> |
| 39 | </Project> | 39 | </Project> |
diff --git a/src/test/Example.Extension/ExampleTableDefinitions.cs b/src/test/Example.Extension/ExampleTableDefinitions.cs index 5dbf6d64..124e2406 100644 --- a/src/test/Example.Extension/ExampleTableDefinitions.cs +++ b/src/test/Example.Extension/ExampleTableDefinitions.cs | |||
| @@ -8,13 +8,14 @@ namespace Example.Extension | |||
| 8 | { | 8 | { |
| 9 | public static readonly TableDefinition ExampleTable = new TableDefinition( | 9 | public static readonly TableDefinition ExampleTable = new TableDefinition( |
| 10 | "Wix4Example", | 10 | "Wix4Example", |
| 11 | ExampleTupleDefinitions.Example.Name, | ||
| 12 | new[] | 11 | new[] |
| 13 | { | 12 | { |
| 14 | new ColumnDefinition("Example", ColumnType.String, 72, true, false, ColumnCategory.Identifier), | 13 | new ColumnDefinition("Example", ColumnType.String, 72, true, false, ColumnCategory.Identifier), |
| 15 | new ColumnDefinition("Value", ColumnType.String, 0, false, false, ColumnCategory.Formatted), | 14 | new ColumnDefinition("Value", ColumnType.String, 0, false, false, ColumnCategory.Formatted), |
| 16 | } | 15 | }, |
| 17 | ); | 16 | tupleDefinitionName: ExampleTupleDefinitions.Example.Name, |
| 17 | tupleIdIsPrimaryKey: true | ||
| 18 | ); | ||
| 18 | 19 | ||
| 19 | public static readonly TableDefinition[] All = new[] { ExampleTable }; | 20 | public static readonly TableDefinition[] All = new[] { ExampleTable }; |
| 20 | } | 21 | } |
diff --git a/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs b/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs index 6b9f8af6..9462c4ff 100644 --- a/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs | |||
| @@ -313,6 +313,7 @@ namespace WixToolsetTest.CoreIntegration | |||
| 313 | 313 | ||
| 314 | Assert.True(File.Exists(msiPath)); | 314 | Assert.True(File.Exists(msiPath)); |
| 315 | var results = Query.QueryDatabase(msiPath, new[] { | 315 | var results = Query.QueryDatabase(msiPath, new[] { |
| 316 | "ActionText", | ||
| 316 | "AdminExecuteSequence", | 317 | "AdminExecuteSequence", |
| 317 | "AdminUISequence", | 318 | "AdminUISequence", |
| 318 | "AdvtExecuteSequence", | 319 | "AdvtExecuteSequence", |
| @@ -324,6 +325,7 @@ namespace WixToolsetTest.CoreIntegration | |||
| 324 | }).Where(x => !x.StartsWith("Property:") || x.StartsWith("Property:MsiHiddenProperties\t")).ToArray(); | 325 | }).Where(x => !x.StartsWith("Property:") || x.StartsWith("Property:MsiHiddenProperties\t")).ToArray(); |
| 325 | Assert.Equal(new[] | 326 | Assert.Equal(new[] |
| 326 | { | 327 | { |
| 328 | "ActionText:CustomAction2\tProgess2Text\t", | ||
| 327 | "AdminExecuteSequence:CostFinalize\t\t1000", | 329 | "AdminExecuteSequence:CostFinalize\t\t1000", |
| 328 | "AdminExecuteSequence:CostInitialize\t\t800", | 330 | "AdminExecuteSequence:CostInitialize\t\t800", |
| 329 | "AdminExecuteSequence:CustomAction2\t\t801", | 331 | "AdminExecuteSequence:CustomAction2\t\t801", |
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/CustomAction/UnscheduledCustomAction.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/CustomAction/UnscheduledCustomAction.wxs index 780529d6..2846d16e 100644 --- a/src/test/WixToolsetTest.CoreIntegration/TestData/CustomAction/UnscheduledCustomAction.wxs +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/CustomAction/UnscheduledCustomAction.wxs | |||
| @@ -2,10 +2,10 @@ | |||
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 3 | <Fragment> | 3 | <Fragment> |
| 4 | <ComponentGroup Id="ProductComponents"> | 4 | <ComponentGroup Id="ProductComponents"> |
| 5 | <ComponentGroupRef Id="MinimalComponentGroup"></ComponentGroupRef> | 5 | <ComponentGroupRef Id="MinimalComponentGroup" /> |
| 6 | </ComponentGroup> | 6 | </ComponentGroup> |
| 7 | 7 | ||
| 8 | <Binary Id="Binary1" SourceFile="test.txt"></Binary> | 8 | <Binary Id="Binary1" SourceFile="test.txt" /> |
| 9 | <CustomAction Id="CustomAction1" BinaryKey="Binary1" DllEntry="InvalidEntryPoint" /> | 9 | <CustomAction Id="CustomAction1" BinaryKey="Binary1" DllEntry="InvalidEntryPoint" /> |
| 10 | <CustomAction Id="DiscardOptimismAllBeingsWhoProceed" Error="Abandon hope all ye who enter here." /> | 10 | <CustomAction Id="DiscardOptimismAllBeingsWhoProceed" Error="Abandon hope all ye who enter here." /> |
| 11 | <CustomAction Id="CustomActionWithHiddenTarget" BinaryKey="Binary1" DllEntry="InvalidEntryPoint" Execute="deferred" HideTarget="yes" /> | 11 | <CustomAction Id="CustomActionWithHiddenTarget" BinaryKey="Binary1" DllEntry="InvalidEntryPoint" Execute="deferred" HideTarget="yes" /> |
| @@ -25,5 +25,9 @@ | |||
| 25 | <InstallUISequence> | 25 | <InstallUISequence> |
| 26 | <Custom Action="CustomAction2" After="CostInitialize" /> | 26 | <Custom Action="CustomAction2" After="CostInitialize" /> |
| 27 | </InstallUISequence> | 27 | </InstallUISequence> |
| 28 | |||
| 29 | <UI> | ||
| 30 | <ProgressText Action="CustomAction2">Progess2Text</ProgressText> | ||
| 31 | </UI> | ||
| 28 | </Fragment> | 32 | </Fragment> |
| 29 | </Wix> | 33 | </Wix> |
