diff options
author | Bob Arnson <bob@firegiant.com> | 2021-09-19 22:29:32 -0400 |
---|---|---|
committer | Bob Arnson <bob@firegiant.com> | 2021-09-19 22:58:34 -0400 |
commit | 3a4dffe9feb62ea383e767ba903ff1edc8234f0e (patch) | |
tree | c5a0d63cff6ee880db0ef93b622791c572a835aa | |
parent | befda7bad8a90f43d7f9ca419e91f79613e0effb (diff) | |
download | wix-3a4dffe9feb62ea383e767ba903ff1edc8234f0e.tar.gz wix-3a4dffe9feb62ea383e767ba903ff1edc8234f0e.tar.bz2 wix-3a4dffe9feb62ea383e767ba903ff1edc8234f0e.zip |
Table ids per https://github.com/wixtoolset/issues/issues/5933.
-rw-r--r-- | src/ext/Iis/ca/precomp.h | 2 | ||||
-rw-r--r-- | src/ext/Iis/ca/scacert.cpp | 2 | ||||
-rw-r--r-- | src/ext/Iis/ca/scasched.cpp | 34 | ||||
-rw-r--r-- | src/ext/Iis/ca/scauser.cpp | 8 | ||||
-rw-r--r-- | src/ext/Iis/ca/scawebdir7.cpp | 2 | ||||
-rw-r--r-- | src/ext/Iis/ca/scaweblog7.cpp | 4 | ||||
-rw-r--r-- | src/ext/Iis/test/WixToolsetTest.Iis/IisExtensionFixture.cs | 5 | ||||
-rw-r--r-- | src/ext/Iis/wixext/IisTableDefinitions.cs | 36 | ||||
-rw-r--r-- | src/ext/Iis/wixlib/IIsExtension_Platform.wxi | 6 | ||||
-rw-r--r-- | src/ext/caDecor.h (renamed from src/ext/Iis/ca/caDecor.h) | 0 | ||||
-rw-r--r-- | src/ext/caDecor.wxi (renamed from src/ext/Iis/wixlib/caDecor.wxi) | 0 |
11 files changed, 50 insertions, 49 deletions
diff --git a/src/ext/Iis/ca/precomp.h b/src/ext/Iis/ca/precomp.h index 106ab884..a165154b 100644 --- a/src/ext/Iis/ca/precomp.h +++ b/src/ext/Iis/ca/precomp.h | |||
@@ -61,4 +61,4 @@ | |||
61 | #include "scassl7.h" | 61 | #include "scassl7.h" |
62 | #include "scaexecIIS7.h" | 62 | #include "scaexecIIS7.h" |
63 | 63 | ||
64 | #include "caDecor.h" | 64 | #include "..\..\caDecor.h" |
diff --git a/src/ext/Iis/ca/scacert.cpp b/src/ext/Iis/ca/scacert.cpp index 0bb87f9f..82a83f18 100644 --- a/src/ext/Iis/ca/scacert.cpp +++ b/src/ext/Iis/ca/scacert.cpp | |||
@@ -85,7 +85,7 @@ VOID ParseCertificateAuthority(__in LPCWSTR wzCertificateAuthorityOrig, __out LP | |||
85 | */ | 85 | */ |
86 | 86 | ||
87 | 87 | ||
88 | LPCWSTR vcsCertQuery = L"SELECT `Certificate`, `Name`, `Component_`, `StoreLocation`, `StoreName`, `Attributes`, `Binary_`, `CertificatePath`, `PFXPassword` FROM `Certificate`"; | 88 | LPCWSTR vcsCertQuery = L"SELECT `Certificate`, `Name`, `Component_`, `StoreLocation`, `StoreName`, `Attributes`, `Binary_`, `CertificatePath`, `PFXPassword` FROM `Wix4Certificate`"; |
89 | enum eCertQuery { cqCertificate = 1, cqName, cqComponent, cqStoreLocation, cqStoreName, cqAttributes, cqCertificateBinary, cqCertificatePath, cqPFXPassword }; | 89 | enum eCertQuery { cqCertificate = 1, cqName, cqComponent, cqStoreLocation, cqStoreName, cqAttributes, cqCertificateBinary, cqCertificatePath, cqPFXPassword }; |
90 | 90 | ||
91 | 91 | ||
diff --git a/src/ext/Iis/ca/scasched.cpp b/src/ext/Iis/ca/scasched.cpp index de021275..14fa97ac 100644 --- a/src/ext/Iis/ca/scasched.cpp +++ b/src/ext/Iis/ca/scasched.cpp | |||
@@ -7,58 +7,58 @@ const int WriteMetabaseChangesCost = 20; | |||
7 | const int WriteIIS7ConfigChangesCost = 20; | 7 | const int WriteIIS7ConfigChangesCost = 20; |
8 | 8 | ||
9 | // sql queries | 9 | // sql queries |
10 | LPCWSTR vcsUserDeferredQuery = L"SELECT `User`, `Component_`, `Name`, `Domain`, `Password` FROM `User`"; | 10 | LPCWSTR vcsUserDeferredQuery = L"SELECT `User`, `Component_`, `Name`, `Domain`, `Password` FROM `Wix4User`"; |
11 | 11 | ||
12 | LPCWSTR vcsWebSvcExtQuery = L"SELECT `Component_`, `File`, `Description`, `Group`, `Attributes` FROM `IIsWebServiceExtension`"; | 12 | LPCWSTR vcsWebSvcExtQuery = L"SELECT `Component_`, `File`, `Description`, `Group`, `Attributes` FROM `Wix4IIsWebServiceExtension`"; |
13 | 13 | ||
14 | LPCWSTR vcsAppPoolQuery = L"SELECT `AppPool`, `Name`, `Component_`, `Attributes`, `User_`, `RecycleMinutes`, `RecycleRequests`, `RecycleTimes`, `VirtualMemory`, `PrivateMemory`, `IdleTimeout`, `QueueLimit`, `CPUMon`, `MaxProc`, `ManagedRuntimeVersion`, `ManagedPipelineMode` FROM `IIsAppPool`"; | 14 | LPCWSTR vcsAppPoolQuery = L"SELECT `AppPool`, `Name`, `Component_`, `Attributes`, `User_`, `RecycleMinutes`, `RecycleRequests`, `RecycleTimes`, `VirtualMemory`, `PrivateMemory`, `IdleTimeout`, `QueueLimit`, `CPUMon`, `MaxProc`, `ManagedRuntimeVersion`, `ManagedPipelineMode` FROM `Wix4IIsAppPool`"; |
15 | 15 | ||
16 | LPCWSTR vcsComponentAttrQuery = L"SELECT `Component`,`Attributes` FROM `Component`"; | 16 | LPCWSTR vcsComponentAttrQuery = L"SELECT `Component`,`Attributes` FROM `Component`"; |
17 | 17 | ||
18 | LPCWSTR vcsMimeMapQuery = L"SELECT `MimeMap`, `ParentType`, `ParentValue`, `MimeType`, `Extension` FROM `IIsMimeMap`"; | 18 | LPCWSTR vcsMimeMapQuery = L"SELECT `MimeMap`, `ParentType`, `ParentValue`, `MimeType`, `Extension` FROM `Wix4IIsMimeMap`"; |
19 | 19 | ||
20 | LPCWSTR vcsHttpHeaderQuery = L"SELECT `Name`, `ParentType`, `ParentValue`, `Value`, `Attributes` FROM `IIsHttpHeader` ORDER BY `Sequence`"; | 20 | LPCWSTR vcsHttpHeaderQuery = L"SELECT `Name`, `ParentType`, `ParentValue`, `Value`, `Attributes` FROM `Wix4IIsHttpHeader` ORDER BY `Sequence`"; |
21 | 21 | ||
22 | LPCWSTR vcsWebErrorQuery = | 22 | LPCWSTR vcsWebErrorQuery = |
23 | L"SELECT `ErrorCode`, `SubCode`, `ParentType`, `ParentValue`, `File`, `URL` " | 23 | L"SELECT `ErrorCode`, `SubCode`, `ParentType`, `ParentValue`, `File`, `URL` " |
24 | L"FROM `IIsWebError` ORDER BY `ErrorCode`, `SubCode`"; | 24 | L"FROM `Wix4IIsWebError` ORDER BY `ErrorCode`, `SubCode`"; |
25 | 25 | ||
26 | LPCWSTR vcsWebDirPropertiesQuery = L"SELECT `DirProperties`, `Access`, `Authorization`, `AnonymousUser_`, `IIsControlledPassword`, `LogVisits`, `Index`, `DefaultDoc`, `AspDetailedError`, `HttpExpires`, `CacheControlMaxAge`, `CacheControlCustom`, `NoCustomError`, `AccessSSLFlags`, `AuthenticationProviders` " | 26 | LPCWSTR vcsWebDirPropertiesQuery = L"SELECT `DirProperties`, `Access`, `Authorization`, `AnonymousUser_`, `IIsControlledPassword`, `LogVisits`, `Index`, `DefaultDoc`, `AspDetailedError`, `HttpExpires`, `CacheControlMaxAge`, `CacheControlCustom`, `NoCustomError`, `AccessSSLFlags`, `AuthenticationProviders` " |
27 | L"FROM `IIsWebDirProperties`"; | 27 | L"FROM `Wix4IIsWebDirProperties`"; |
28 | 28 | ||
29 | LPCWSTR vcsSslCertificateQuery = L"SELECT `Certificate`.`StoreName`, `CertificateHash`.`Hash`, `IIsWebSiteCertificates`.`Web_` FROM `Certificate`, `CertificateHash`, `IIsWebSiteCertificates` WHERE `Certificate`.`Certificate`=`CertificateHash`.`Certificate_` AND `CertificateHash`.`Certificate_`=`IIsWebSiteCertificates`.`Certificate_`"; | 29 | LPCWSTR vcsSslCertificateQuery = L"SELECT `Wix4Certificate`.`StoreName`, `Wix4CertificateHash`.`Hash`, `Wix4IIsWebSiteCertificates`.`Web_` FROM `Wix4Certificate`, `Wix4CertificateHash`, `Wix4IIsWebSiteCertificates` WHERE `Wix4Certificate`.`Certificate`=`Wix4CertificateHash`.`Certificate_` AND `Wix4CertificateHash`.`Certificate_`=`Wix4IIsWebSiteCertificates`.`Certificate_`"; |
30 | 30 | ||
31 | LPCWSTR vcsWebLogQuery = L"SELECT `Log`, `Format` " | 31 | LPCWSTR vcsWebLogQuery = L"SELECT `Log`, `Format` " |
32 | L"FROM `IIsWebLog`"; | 32 | L"FROM `Wix4IIsWebLog`"; |
33 | 33 | ||
34 | LPCWSTR vcsWebApplicationQuery = L"SELECT `Name`, `Isolation`, `AllowSessions`, `SessionTimeout`, " | 34 | LPCWSTR vcsWebApplicationQuery = L"SELECT `Name`, `Isolation`, `AllowSessions`, `SessionTimeout`, " |
35 | L"`Buffer`, `ParentPaths`, `DefaultScript`, `ScriptTimeout`, " | 35 | L"`Buffer`, `ParentPaths`, `DefaultScript`, `ScriptTimeout`, " |
36 | L"`ServerDebugging`, `ClientDebugging`, `AppPool_`, `Application` " | 36 | L"`ServerDebugging`, `ClientDebugging`, `AppPool_`, `Application` " |
37 | L"FROM `IIsWebApplication`"; | 37 | L"FROM `Wix4IIsWebApplication`"; |
38 | 38 | ||
39 | LPCWSTR vcsWebAppExtensionQuery = L"SELECT `Extension`, `Verbs`, `Executable`, `Attributes`, `Application_` FROM `IIsWebApplicationExtension`"; | 39 | LPCWSTR vcsWebAppExtensionQuery = L"SELECT `Extension`, `Verbs`, `Executable`, `Attributes`, `Application_` FROM `Wix4IIsWebApplicationExtension`"; |
40 | 40 | ||
41 | LPCWSTR vcsWebQuery = L"SELECT `Web`, `Component_`, `Id`, `Description`, `ConnectionTimeout`, `Directory_`, `State`, `Attributes`, `DirProperties_`, `Application_`, " | 41 | LPCWSTR vcsWebQuery = L"SELECT `Web`, `Component_`, `Id`, `Description`, `ConnectionTimeout`, `Directory_`, `State`, `Attributes`, `DirProperties_`, `Application_`, " |
42 | L"`Address`, `IP`, `Port`, `Header`, `Secure`, `Log_` FROM `IIsWebSite`, `IIsWebAddress` " | 42 | L"`Address`, `IP`, `Port`, `Header`, `Secure`, `Log_` FROM `Wix4IIsWebSite`, `Wix4IIsWebAddress` " |
43 | L"WHERE `KeyAddress_`=`Address` ORDER BY `Sequence`"; | 43 | L"WHERE `KeyAddress_`=`Address` ORDER BY `Sequence`"; |
44 | 44 | ||
45 | LPCWSTR vcsWebAddressQuery = L"SELECT `Address`, `Web_`, `IP`, `Port`, `Header`, `Secure` " | 45 | LPCWSTR vcsWebAddressQuery = L"SELECT `Address`, `Web_`, `IP`, `Port`, `Header`, `Secure` " |
46 | L"FROM `IIsWebAddress`"; | 46 | L"FROM `Wix4IIsWebAddress`"; |
47 | 47 | ||
48 | LPCWSTR vcsWebBaseQuery = L"SELECT `Web`, `Id`, `IP`, `Port`, `Header`, `Secure`, `Description` " | 48 | LPCWSTR vcsWebBaseQuery = L"SELECT `Web`, `Id`, `IP`, `Port`, `Header`, `Secure`, `Description` " |
49 | L"FROM `IIsWebSite`, `IIsWebAddress` " | 49 | L"FROM `Wix4IIsWebSite`, `Wix4IIsWebAddress` " |
50 | L"WHERE `KeyAddress_`=`Address`"; | 50 | L"WHERE `KeyAddress_`=`Address`"; |
51 | 51 | ||
52 | LPCWSTR vcsWebDirQuery = L"SELECT `Web_`, `WebDir`, `Component_`, `Path`, `DirProperties_`, `Application_` " | 52 | LPCWSTR vcsWebDirQuery = L"SELECT `Web_`, `WebDir`, `Component_`, `Path`, `DirProperties_`, `Application_` " |
53 | L"FROM `IIsWebDir`"; | 53 | L"FROM `Wix4IIsWebDir`"; |
54 | 54 | ||
55 | LPCWSTR vcsVDirQuery = L"SELECT `Web_`, `VirtualDir`, `Component_`, `Alias`, `Directory_`, `DirProperties_`, `Application_` " | 55 | LPCWSTR vcsVDirQuery = L"SELECT `Web_`, `VirtualDir`, `Component_`, `Alias`, `Directory_`, `DirProperties_`, `Application_` " |
56 | L"FROM `IIsWebVirtualDir`"; | 56 | L"FROM `IIsWebVirtualDir`"; |
57 | 57 | ||
58 | LPCWSTR vcsFilterQuery = L"SELECT `Web_`, `Name`, `Component_`, `Path`, `Description`, `Flags`, `LoadOrder` FROM `IIsFilter` ORDER BY `Web_`"; | 58 | LPCWSTR vcsFilterQuery = L"SELECT `Web_`, `Name`, `Component_`, `Path`, `Description`, `Flags`, `LoadOrder` FROM `Wix4IIsFilter` ORDER BY `Web_`"; |
59 | 59 | ||
60 | LPCWSTR vcsPropertyQuery = L"SELECT `Property`, `Component_`, `Attributes`, `Value` " | 60 | LPCWSTR vcsPropertyQuery = L"SELECT `Property`, `Component_`, `Attributes`, `Value` " |
61 | L"FROM `IIsProperty`"; | 61 | L"FROM `Wix4IIsProperty`"; |
62 | 62 | ||
63 | #define IIS7CONDITION L"VersionNT >= 600" | 63 | #define IIS7CONDITION L"VersionNT >= 600" |
64 | #define USEIIS7CONDITION IIS7CONDITION L"AND NOT UseIis6Compatibility" | 64 | #define USEIIS7CONDITION IIS7CONDITION L"AND NOT UseIis6Compatibility" |
diff --git a/src/ext/Iis/ca/scauser.cpp b/src/ext/Iis/ca/scauser.cpp index 0b99edff..eaea8f2c 100644 --- a/src/ext/Iis/ca/scauser.cpp +++ b/src/ext/Iis/ca/scauser.cpp | |||
@@ -2,16 +2,16 @@ | |||
2 | 2 | ||
3 | #include "precomp.h" | 3 | #include "precomp.h" |
4 | 4 | ||
5 | LPCWSTR vcsUserQuery = L"SELECT `User`, `Component_`, `Name`, `Domain`, `Password` FROM `User` WHERE `User`=?"; | 5 | LPCWSTR vcsUserQuery = L"SELECT `User`, `Component_`, `Name`, `Domain`, `Password` FROM `Wix4User` WHERE `User`=?"; |
6 | enum eUserQuery { vuqUser = 1, vuqComponent, vuqName, vuqDomain, vuqPassword }; | 6 | enum eUserQuery { vuqUser = 1, vuqComponent, vuqName, vuqDomain, vuqPassword }; |
7 | 7 | ||
8 | LPCWSTR vcsGroupQuery = L"SELECT `Group`, `Component_`, `Name`, `Domain` FROM `Group` WHERE `Group`=?"; | 8 | LPCWSTR vcsGroupQuery = L"SELECT `Group`, `Component_`, `Name`, `Domain` FROM `Wix4Group` WHERE `Group`=?"; |
9 | enum eGroupQuery { vgqGroup = 1, vgqComponent, vgqName, vgqDomain }; | 9 | enum eGroupQuery { vgqGroup = 1, vgqComponent, vgqName, vgqDomain }; |
10 | 10 | ||
11 | LPCWSTR vcsUserGroupQuery = L"SELECT `User_`, `Group_` FROM `UserGroup` WHERE `User_`=?"; | 11 | LPCWSTR vcsUserGroupQuery = L"SELECT `User_`, `Group_` FROM `Wix4UserGroup` WHERE `User_`=?"; |
12 | enum eUserGroupQuery { vugqUser = 1, vugqGroup }; | 12 | enum eUserGroupQuery { vugqUser = 1, vugqGroup }; |
13 | 13 | ||
14 | LPCWSTR vActionableQuery = L"SELECT `User`,`Component_`,`Name`,`Domain`,`Password`,`Attributes` FROM `User` WHERE `Component_` IS NOT NULL"; | 14 | LPCWSTR vActionableQuery = L"SELECT `User`,`Component_`,`Name`,`Domain`,`Password`,`Attributes` FROM `Wix4User` WHERE `Component_` IS NOT NULL"; |
15 | enum eActionableQuery { vaqUser = 1, vaqComponent, vaqName, vaqDomain, vaqPassword, vaqAttributes }; | 15 | enum eActionableQuery { vaqUser = 1, vaqComponent, vaqName, vaqDomain, vaqPassword, vaqAttributes }; |
16 | 16 | ||
17 | HRESULT __stdcall ScaGetUserDeferred( | 17 | HRESULT __stdcall ScaGetUserDeferred( |
diff --git a/src/ext/Iis/ca/scawebdir7.cpp b/src/ext/Iis/ca/scawebdir7.cpp index 5ead0470..bd338808 100644 --- a/src/ext/Iis/ca/scawebdir7.cpp +++ b/src/ext/Iis/ca/scawebdir7.cpp | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | // sql queries | 5 | // sql queries |
6 | static LPCWSTR vcsWebDirQuery7 = L"SELECT `Web_`, `WebDir`, `Component_`, `Path`, `DirProperties_`, `Application_`" | 6 | static LPCWSTR vcsWebDirQuery7 = L"SELECT `Web_`, `WebDir`, `Component_`, `Path`, `DirProperties_`, `Application_`" |
7 | L"FROM `IIsWebDir`"; | 7 | L"FROM `Wix4IIsWebDir`"; |
8 | 8 | ||
9 | enum eWebDirQuery { wdqWeb = 1, wdqWebDir, wdqComponent , wdqPath, wdqProperties, wdqApplication, wdqInstalled, wdqAction }; | 9 | enum eWebDirQuery { wdqWeb = 1, wdqWebDir, wdqComponent , wdqPath, wdqProperties, wdqApplication, wdqInstalled, wdqAction }; |
10 | 10 | ||
diff --git a/src/ext/Iis/ca/scaweblog7.cpp b/src/ext/Iis/ca/scaweblog7.cpp index c857c46f..b8a4db9e 100644 --- a/src/ext/Iis/ca/scaweblog7.cpp +++ b/src/ext/Iis/ca/scaweblog7.cpp | |||
@@ -3,7 +3,7 @@ | |||
3 | #include "precomp.h" | 3 | #include "precomp.h" |
4 | // sql queries | 4 | // sql queries |
5 | LPCWSTR vcsWebLogQuery7 = L"SELECT `Log`, `Format` " | 5 | LPCWSTR vcsWebLogQuery7 = L"SELECT `Log`, `Format` " |
6 | L"FROM `IIsWebLog` WHERE `Log`=?"; | 6 | L"FROM `Wix4IIsWebLog` WHERE `Log`=?"; |
7 | 7 | ||
8 | enum eWebLogQuery { wlqLog = 1, wlqFormat }; | 8 | enum eWebLogQuery { wlqLog = 1, wlqFormat }; |
9 | 9 | ||
@@ -50,7 +50,7 @@ HRESULT ScaGetWebLog7( | |||
50 | ExitOnFailure(hr, "failed to copy log name: %ls", pwzData); | 50 | ExitOnFailure(hr, "failed to copy log name: %ls", pwzData); |
51 | 51 | ||
52 | hr = WcaGetRecordString(hRec, wlqFormat, &pwzData); | 52 | hr = WcaGetRecordString(hRec, wlqFormat, &pwzData); |
53 | ExitOnFailure(hr, "failed to get IIsWebLog.Format for Log:", wzLog); | 53 | ExitOnFailure(hr, "failed to get IIsWebLog.Format for Log: %ls", wzLog); |
54 | 54 | ||
55 | //translate WIX log format name strings to IIS7 | 55 | //translate WIX log format name strings to IIS7 |
56 | if (0 == lstrcmpW(pwzData, L"Microsoft IIS Log File Format")) | 56 | if (0 == lstrcmpW(pwzData, L"Microsoft IIS Log File Format")) |
diff --git a/src/ext/Iis/test/WixToolsetTest.Iis/IisExtensionFixture.cs b/src/ext/Iis/test/WixToolsetTest.Iis/IisExtensionFixture.cs index 685e7126..26c95050 100644 --- a/src/ext/Iis/test/WixToolsetTest.Iis/IisExtensionFixture.cs +++ b/src/ext/Iis/test/WixToolsetTest.Iis/IisExtensionFixture.cs | |||
@@ -16,10 +16,11 @@ namespace WixToolsetTest.Iis | |||
16 | var folder = TestData.Get(@"TestData\UsingIis"); | 16 | var folder = TestData.Get(@"TestData\UsingIis"); |
17 | var build = new Builder(folder, typeof(IisExtensionFactory), new[] { folder }); | 17 | var build = new Builder(folder, typeof(IisExtensionFactory), new[] { folder }); |
18 | 18 | ||
19 | var results = build.BuildAndQuery(Build, "IIsWebAddress"); | 19 | var results = build.BuildAndQuery(Build, "Wix4IIsWebSite", "Wix4IIsWebAddress"); |
20 | Assert.Equal(new[] | 20 | Assert.Equal(new[] |
21 | { | 21 | { |
22 | "IIsWebAddress:TestAddress\tTest\t\t[PORT]\t\t0", | 22 | "Wix4IIsWebAddress:TestAddress\tTest\t\t[PORT]\t\t0", |
23 | "Wix4IIsWebSite:Test\tfilF5_pLhBuF5b4N9XEo52g_hUM5Lo\tTest web server\t\tTestWebSiteProductDirectory\t2\t2\tTestAddress\tReadAndExecute\t\t\t\t", | ||
23 | }, results); | 24 | }, results); |
24 | } | 25 | } |
25 | 26 | ||
diff --git a/src/ext/Iis/wixext/IisTableDefinitions.cs b/src/ext/Iis/wixext/IisTableDefinitions.cs index f513152e..02621a4d 100644 --- a/src/ext/Iis/wixext/IisTableDefinitions.cs +++ b/src/ext/Iis/wixext/IisTableDefinitions.cs | |||
@@ -7,7 +7,7 @@ namespace WixToolset.Iis | |||
7 | public static class IisTableDefinitions | 7 | public static class IisTableDefinitions |
8 | { | 8 | { |
9 | public static readonly TableDefinition Certificate = new TableDefinition( | 9 | public static readonly TableDefinition Certificate = new TableDefinition( |
10 | "Certificate", | 10 | "Wix4Certificate", |
11 | IisSymbolDefinitions.Certificate, | 11 | IisSymbolDefinitions.Certificate, |
12 | new[] | 12 | new[] |
13 | { | 13 | { |
@@ -25,7 +25,7 @@ namespace WixToolset.Iis | |||
25 | ); | 25 | ); |
26 | 26 | ||
27 | public static readonly TableDefinition CertificateHash = new TableDefinition( | 27 | public static readonly TableDefinition CertificateHash = new TableDefinition( |
28 | "CertificateHash", | 28 | "Wix4CertificateHash", |
29 | IisSymbolDefinitions.CertificateHash, | 29 | IisSymbolDefinitions.CertificateHash, |
30 | new[] | 30 | new[] |
31 | { | 31 | { |
@@ -36,7 +36,7 @@ namespace WixToolset.Iis | |||
36 | ); | 36 | ); |
37 | 37 | ||
38 | public static readonly TableDefinition IIsWebSiteCertificates = new TableDefinition( | 38 | public static readonly TableDefinition IIsWebSiteCertificates = new TableDefinition( |
39 | "IIsWebSiteCertificates", | 39 | "Wix4IIsWebSiteCertificates", |
40 | IisSymbolDefinitions.IIsWebSiteCertificates, | 40 | IisSymbolDefinitions.IIsWebSiteCertificates, |
41 | new[] | 41 | new[] |
42 | { | 42 | { |
@@ -47,7 +47,7 @@ namespace WixToolset.Iis | |||
47 | ); | 47 | ); |
48 | 48 | ||
49 | public static readonly TableDefinition IIsAppPool = new TableDefinition( | 49 | public static readonly TableDefinition IIsAppPool = new TableDefinition( |
50 | "IIsAppPool", | 50 | "Wix4IIsAppPool", |
51 | IisSymbolDefinitions.IIsAppPool, | 51 | IisSymbolDefinitions.IIsAppPool, |
52 | new[] | 52 | new[] |
53 | { | 53 | { |
@@ -72,7 +72,7 @@ namespace WixToolset.Iis | |||
72 | ); | 72 | ); |
73 | 73 | ||
74 | public static readonly TableDefinition IIsMimeMap = new TableDefinition( | 74 | public static readonly TableDefinition IIsMimeMap = new TableDefinition( |
75 | "IIsMimeMap", | 75 | "Wix4IIsMimeMap", |
76 | IisSymbolDefinitions.IIsMimeMap, | 76 | IisSymbolDefinitions.IIsMimeMap, |
77 | new[] | 77 | new[] |
78 | { | 78 | { |
@@ -86,7 +86,7 @@ namespace WixToolset.Iis | |||
86 | ); | 86 | ); |
87 | 87 | ||
88 | public static readonly TableDefinition IIsProperty = new TableDefinition( | 88 | public static readonly TableDefinition IIsProperty = new TableDefinition( |
89 | "IIsProperty", | 89 | "Wix4IIsProperty", |
90 | IisSymbolDefinitions.IIsProperty, | 90 | IisSymbolDefinitions.IIsProperty, |
91 | new[] | 91 | new[] |
92 | { | 92 | { |
@@ -99,7 +99,7 @@ namespace WixToolset.Iis | |||
99 | ); | 99 | ); |
100 | 100 | ||
101 | public static readonly TableDefinition IIsWebDirProperties = new TableDefinition( | 101 | public static readonly TableDefinition IIsWebDirProperties = new TableDefinition( |
102 | "IIsWebDirProperties", | 102 | "Wix4IIsWebDirProperties", |
103 | IisSymbolDefinitions.IIsWebDirProperties, | 103 | IisSymbolDefinitions.IIsWebDirProperties, |
104 | new[] | 104 | new[] |
105 | { | 105 | { |
@@ -123,7 +123,7 @@ namespace WixToolset.Iis | |||
123 | ); | 123 | ); |
124 | 124 | ||
125 | public static readonly TableDefinition IIsWebAddress = new TableDefinition( | 125 | public static readonly TableDefinition IIsWebAddress = new TableDefinition( |
126 | "IIsWebAddress", | 126 | "Wix4IIsWebAddress", |
127 | IisSymbolDefinitions.IIsWebAddress, | 127 | IisSymbolDefinitions.IIsWebAddress, |
128 | new[] | 128 | new[] |
129 | { | 129 | { |
@@ -138,7 +138,7 @@ namespace WixToolset.Iis | |||
138 | ); | 138 | ); |
139 | 139 | ||
140 | public static readonly TableDefinition IIsWebSite = new TableDefinition( | 140 | public static readonly TableDefinition IIsWebSite = new TableDefinition( |
141 | "IIsWebSite", | 141 | "Wix4IIsWebSite", |
142 | IisSymbolDefinitions.IIsWebSite, | 142 | IisSymbolDefinitions.IIsWebSite, |
143 | new[] | 143 | new[] |
144 | { | 144 | { |
@@ -160,7 +160,7 @@ namespace WixToolset.Iis | |||
160 | ); | 160 | ); |
161 | 161 | ||
162 | public static readonly TableDefinition IIsWebApplication = new TableDefinition( | 162 | public static readonly TableDefinition IIsWebApplication = new TableDefinition( |
163 | "IIsWebApplication", | 163 | "Wix4IIsWebApplication", |
164 | IisSymbolDefinitions.IIsWebApplication, | 164 | IisSymbolDefinitions.IIsWebApplication, |
165 | new[] | 165 | new[] |
166 | { | 166 | { |
@@ -181,7 +181,7 @@ namespace WixToolset.Iis | |||
181 | ); | 181 | ); |
182 | 182 | ||
183 | public static readonly TableDefinition IIsWebApplicationExtension = new TableDefinition( | 183 | public static readonly TableDefinition IIsWebApplicationExtension = new TableDefinition( |
184 | "IIsWebApplicationExtension", | 184 | "Wix4IIsWebApplicationExtension", |
185 | IisSymbolDefinitions.IIsWebApplicationExtension, | 185 | IisSymbolDefinitions.IIsWebApplicationExtension, |
186 | new[] | 186 | new[] |
187 | { | 187 | { |
@@ -195,7 +195,7 @@ namespace WixToolset.Iis | |||
195 | ); | 195 | ); |
196 | 196 | ||
197 | public static readonly TableDefinition IIsFilter = new TableDefinition( | 197 | public static readonly TableDefinition IIsFilter = new TableDefinition( |
198 | "IIsFilter", | 198 | "Wix4IIsFilter", |
199 | IisSymbolDefinitions.IIsFilter, | 199 | IisSymbolDefinitions.IIsFilter, |
200 | new[] | 200 | new[] |
201 | { | 201 | { |
@@ -212,7 +212,7 @@ namespace WixToolset.Iis | |||
212 | ); | 212 | ); |
213 | 213 | ||
214 | public static readonly TableDefinition IIsWebDir = new TableDefinition( | 214 | public static readonly TableDefinition IIsWebDir = new TableDefinition( |
215 | "IIsWebDir", | 215 | "Wix4IIsWebDir", |
216 | IisSymbolDefinitions.IIsWebDir, | 216 | IisSymbolDefinitions.IIsWebDir, |
217 | new[] | 217 | new[] |
218 | { | 218 | { |
@@ -227,7 +227,7 @@ namespace WixToolset.Iis | |||
227 | ); | 227 | ); |
228 | 228 | ||
229 | public static readonly TableDefinition IIsWebError = new TableDefinition( | 229 | public static readonly TableDefinition IIsWebError = new TableDefinition( |
230 | "IIsWebError", | 230 | "Wix4IIsWebError", |
231 | IisSymbolDefinitions.IIsWebError, | 231 | IisSymbolDefinitions.IIsWebError, |
232 | new[] | 232 | new[] |
233 | { | 233 | { |
@@ -242,7 +242,7 @@ namespace WixToolset.Iis | |||
242 | ); | 242 | ); |
243 | 243 | ||
244 | public static readonly TableDefinition IIsHttpHeader = new TableDefinition( | 244 | public static readonly TableDefinition IIsHttpHeader = new TableDefinition( |
245 | "IIsHttpHeader", | 245 | "Wix4IIsHttpHeader", |
246 | IisSymbolDefinitions.IIsHttpHeader, | 246 | IisSymbolDefinitions.IIsHttpHeader, |
247 | new[] | 247 | new[] |
248 | { | 248 | { |
@@ -258,7 +258,7 @@ namespace WixToolset.Iis | |||
258 | ); | 258 | ); |
259 | 259 | ||
260 | public static readonly TableDefinition IIsWebServiceExtension = new TableDefinition( | 260 | public static readonly TableDefinition IIsWebServiceExtension = new TableDefinition( |
261 | "IIsWebServiceExtension", | 261 | "Wix4IIsWebServiceExtension", |
262 | IisSymbolDefinitions.IIsWebServiceExtension, | 262 | IisSymbolDefinitions.IIsWebServiceExtension, |
263 | new[] | 263 | new[] |
264 | { | 264 | { |
@@ -273,7 +273,7 @@ namespace WixToolset.Iis | |||
273 | ); | 273 | ); |
274 | 274 | ||
275 | public static readonly TableDefinition IIsWebVirtualDir = new TableDefinition( | 275 | public static readonly TableDefinition IIsWebVirtualDir = new TableDefinition( |
276 | "IIsWebVirtualDir", | 276 | "Wix4IIsWebVirtualDir", |
277 | IisSymbolDefinitions.IIsWebVirtualDir, | 277 | IisSymbolDefinitions.IIsWebVirtualDir, |
278 | new[] | 278 | new[] |
279 | { | 279 | { |
@@ -289,7 +289,7 @@ namespace WixToolset.Iis | |||
289 | ); | 289 | ); |
290 | 290 | ||
291 | public static readonly TableDefinition IIsWebLog = new TableDefinition( | 291 | public static readonly TableDefinition IIsWebLog = new TableDefinition( |
292 | "IIsWebLog", | 292 | "Wix4IIsWebLog", |
293 | IisSymbolDefinitions.IIsWebLog, | 293 | IisSymbolDefinitions.IIsWebLog, |
294 | new[] | 294 | new[] |
295 | { | 295 | { |
diff --git a/src/ext/Iis/wixlib/IIsExtension_Platform.wxi b/src/ext/Iis/wixlib/IIsExtension_Platform.wxi index 09562a69..d3a52b80 100644 --- a/src/ext/Iis/wixlib/IIsExtension_Platform.wxi +++ b/src/ext/Iis/wixlib/IIsExtension_Platform.wxi | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | 3 | ||
4 | <Include xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 4 | <Include xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
5 | <?include caDecor.wxi ?> | 5 | <?include ..\..\caDecor.wxi ?> |
6 | 6 | ||
7 | <Fragment> | 7 | <Fragment> |
8 | <UIRef Id="WixIIsErrors" /> | 8 | <UIRef Id="WixIIsErrors" /> |
@@ -58,8 +58,8 @@ | |||
58 | <CustomAction Id="$(var.Prefix)RollbackDeleteMachineCertificate$(var.Suffix)" DllEntry="AddMachineCertificate" Impersonate="no" Execute="rollback" Return="check" HideTarget="yes" SuppressModularization="yes" BinaryRef="IisCA$(var.Suffix)" /> | 58 | <CustomAction Id="$(var.Prefix)RollbackDeleteMachineCertificate$(var.Suffix)" DllEntry="AddMachineCertificate" Impersonate="no" Execute="rollback" Return="check" HideTarget="yes" SuppressModularization="yes" BinaryRef="IisCA$(var.Suffix)" /> |
59 | 59 | ||
60 | <InstallExecuteSequence> | 60 | <InstallExecuteSequence> |
61 | <Custom Action="UninstallCertificates$(var.Suffix)" Before="RemoveFiles" Overridable="yes" Condition="VersionNT > 400" /> | 61 | <Custom Action="$(var.Prefix)UninstallCertificates$(var.Suffix)" Before="RemoveFiles" Overridable="yes" Condition="VersionNT > 400" /> |
62 | <Custom Action="InstallCertificates$(var.Suffix)" After="InstallFiles" Overridable="yes" Condition="VersionNT > 400" /> | 62 | <Custom Action="$(var.Prefix)InstallCertificates$(var.Suffix)" After="InstallFiles" Overridable="yes" Condition="VersionNT > 400" /> |
63 | </InstallExecuteSequence> | 63 | </InstallExecuteSequence> |
64 | </Fragment> | 64 | </Fragment> |
65 | 65 | ||
diff --git a/src/ext/Iis/ca/caDecor.h b/src/ext/caDecor.h index da274650..da274650 100644 --- a/src/ext/Iis/ca/caDecor.h +++ b/src/ext/caDecor.h | |||
diff --git a/src/ext/Iis/wixlib/caDecor.wxi b/src/ext/caDecor.wxi index b1711518..b1711518 100644 --- a/src/ext/Iis/wixlib/caDecor.wxi +++ b/src/ext/caDecor.wxi | |||