diff --git a/src/api/burn/WixToolset.BootstrapperApplicationApi/BalUtil.cs b/src/api/burn/WixToolset.BootstrapperApplicationApi/BalUtil.cs
index 252575545..b4497d079 100644
--- a/src/api/burn/WixToolset.BootstrapperApplicationApi/BalUtil.cs
+++ b/src/api/burn/WixToolset.BootstrapperApplicationApi/BalUtil.cs
@@ -38,7 +38,7 @@ ref StrUtil.StrHandle psczOut
[DllImport("mbanative.dll", ExactSpelling = true)]
internal static extern int BalGetRelatedBundleVariableFromEngine(
[MarshalAs(UnmanagedType.Interface)] IBootstrapperEngine pEngine,
- [MarshalAs(UnmanagedType.LPWStr)] string wzBundleId,
+ [MarshalAs(UnmanagedType.LPWStr)] string wzBundleCode,
[MarshalAs(UnmanagedType.LPWStr)] string wzVariable,
ref StrUtil.StrHandle psczOut
);
diff --git a/src/api/burn/WixToolset.BootstrapperApplicationApi/BootstrapperApplication.cs b/src/api/burn/WixToolset.BootstrapperApplicationApi/BootstrapperApplication.cs
index f9fca7489..515a68b48 100644
--- a/src/api/burn/WixToolset.BootstrapperApplicationApi/BootstrapperApplication.cs
+++ b/src/api/burn/WixToolset.BootstrapperApplicationApi/BootstrapperApplication.cs
@@ -1449,9 +1449,9 @@ int IBootstrapperApplication.OnDetectBegin(bool fCached, RegistrationType regist
return args.HResult;
}
- int IBootstrapperApplication.OnDetectForwardCompatibleBundle(string wzBundleId, RelationType relationType, string wzBundleTag, bool fPerMachine, string wzVersion, bool fMissingFromCache, ref bool fCancel)
+ int IBootstrapperApplication.OnDetectForwardCompatibleBundle(string wzBundleCode, RelationType relationType, string wzBundleTag, bool fPerMachine, string wzVersion, bool fMissingFromCache, ref bool fCancel)
{
- DetectForwardCompatibleBundleEventArgs args = new DetectForwardCompatibleBundleEventArgs(wzBundleId, relationType, wzBundleTag, fPerMachine, wzVersion, fMissingFromCache, fCancel);
+ DetectForwardCompatibleBundleEventArgs args = new DetectForwardCompatibleBundleEventArgs(wzBundleCode, relationType, wzBundleTag, fPerMachine, wzVersion, fMissingFromCache, fCancel);
this.OnDetectForwardCompatibleBundle(args);
fCancel = args.Cancel;
@@ -1566,9 +1566,9 @@ int IBootstrapperApplication.OnPlanBegin(int cPackages, ref bool fCancel)
return args.HResult;
}
- int IBootstrapperApplication.OnPlanRelatedBundle(string wzBundleId, RequestState recommendedState, ref RequestState pRequestedState, ref bool fCancel)
+ int IBootstrapperApplication.OnPlanRelatedBundle(string wzBundleCode, RequestState recommendedState, ref RequestState pRequestedState, ref bool fCancel)
{
- PlanRelatedBundleEventArgs args = new PlanRelatedBundleEventArgs(wzBundleId, recommendedState, pRequestedState, fCancel);
+ PlanRelatedBundleEventArgs args = new PlanRelatedBundleEventArgs(wzBundleCode, recommendedState, pRequestedState, fCancel);
this.OnPlanRelatedBundle(args);
pRequestedState = args.State;
@@ -1576,9 +1576,9 @@ int IBootstrapperApplication.OnPlanRelatedBundle(string wzBundleId, RequestState
return args.HResult;
}
- int IBootstrapperApplication.OnPlanRelatedBundleType(string wzBundleId, RelatedBundlePlanType recommendedType, ref RelatedBundlePlanType pRequestedType, ref bool fCancel)
+ int IBootstrapperApplication.OnPlanRelatedBundleType(string wzBundleCode, RelatedBundlePlanType recommendedType, ref RelatedBundlePlanType pRequestedType, ref bool fCancel)
{
- PlanRelatedBundleTypeEventArgs args = new PlanRelatedBundleTypeEventArgs(wzBundleId, recommendedType, pRequestedType, fCancel);
+ PlanRelatedBundleTypeEventArgs args = new PlanRelatedBundleTypeEventArgs(wzBundleCode, recommendedType, pRequestedType, fCancel);
this.OnPlanRelatedBundleType(args);
pRequestedType = args.Type;
@@ -2060,9 +2060,9 @@ int IBootstrapperApplication.OnSystemRestorePointComplete(int hrStatus)
return args.HResult;
}
- int IBootstrapperApplication.OnPlanForwardCompatibleBundle(string wzBundleId, RelationType relationType, string wzBundleTag, bool fPerMachine, string wzVersion, bool fRecommendedIgnoreBundle, ref bool fCancel, ref bool fIgnoreBundle)
+ int IBootstrapperApplication.OnPlanForwardCompatibleBundle(string wzBundleCode, RelationType relationType, string wzBundleTag, bool fPerMachine, string wzVersion, bool fRecommendedIgnoreBundle, ref bool fCancel, ref bool fIgnoreBundle)
{
- PlanForwardCompatibleBundleEventArgs args = new PlanForwardCompatibleBundleEventArgs(wzBundleId, relationType, wzBundleTag, fPerMachine, wzVersion, fRecommendedIgnoreBundle, fCancel, fIgnoreBundle);
+ PlanForwardCompatibleBundleEventArgs args = new PlanForwardCompatibleBundleEventArgs(wzBundleCode, relationType, wzBundleTag, fPerMachine, wzVersion, fRecommendedIgnoreBundle, fCancel, fIgnoreBundle);
this.OnPlanForwardCompatibleBundle(args);
fCancel = args.Cancel;
@@ -2122,9 +2122,9 @@ int IBootstrapperApplication.OnCachePayloadExtractComplete(string wzContainerId,
return args.HResult;
}
- int IBootstrapperApplication.OnPlanRestoreRelatedBundle(string wzBundleId, RequestState recommendedState, ref RequestState pRequestedState, ref bool fCancel)
+ int IBootstrapperApplication.OnPlanRestoreRelatedBundle(string wzBundleCode, RequestState recommendedState, ref RequestState pRequestedState, ref bool fCancel)
{
- PlanRestoreRelatedBundleEventArgs args = new PlanRestoreRelatedBundleEventArgs(wzBundleId, recommendedState, pRequestedState, fCancel);
+ PlanRestoreRelatedBundleEventArgs args = new PlanRestoreRelatedBundleEventArgs(wzBundleCode, recommendedState, pRequestedState, fCancel);
this.OnPlanRestoreRelatedBundle(args);
pRequestedState = args.State;
diff --git a/src/api/burn/WixToolset.BootstrapperApplicationApi/Engine.cs b/src/api/burn/WixToolset.BootstrapperApplicationApi/Engine.cs
index 487858e0e..44d77359d 100644
--- a/src/api/burn/WixToolset.BootstrapperApplicationApi/Engine.cs
+++ b/src/api/burn/WixToolset.BootstrapperApplicationApi/Engine.cs
@@ -209,12 +209,12 @@ public string GetVariableVersion(string name)
}
///
- public string GetRelatedBundleVariable(string bundleId, string name)
+ public string GetRelatedBundleVariable(string bundleCode, string name)
{
StrUtil.StrHandle handle = new StrUtil.StrHandle();
try
{
- int ret = BalUtil.BalGetRelatedBundleVariableFromEngine(this.engine, bundleId, name, ref handle);
+ int ret = BalUtil.BalGetRelatedBundleVariableFromEngine(this.engine, bundleCode, name, ref handle);
if (ret != NativeMethods.S_OK)
{
throw new Win32Exception(ret);
diff --git a/src/api/burn/WixToolset.BootstrapperApplicationApi/EventArgs.cs b/src/api/burn/WixToolset.BootstrapperApplicationApi/EventArgs.cs
index e1649d43b..4df07e575 100644
--- a/src/api/burn/WixToolset.BootstrapperApplicationApi/EventArgs.cs
+++ b/src/api/burn/WixToolset.BootstrapperApplicationApi/EventArgs.cs
@@ -325,10 +325,10 @@ public class DetectForwardCompatibleBundleEventArgs : CancellableHResultEventArg
/// This class is for events raised by the engine.
/// It is not intended to be instantiated by user code.
///
- public DetectForwardCompatibleBundleEventArgs(string bundleId, RelationType relationType, string bundleTag, bool perMachine, string version, bool missingFromCache, bool cancelRecommendation)
+ public DetectForwardCompatibleBundleEventArgs(string bundleCode, RelationType relationType, string bundleTag, bool perMachine, string version, bool missingFromCache, bool cancelRecommendation)
: base(cancelRecommendation)
{
- this.BundleId = bundleId;
+ this.BundleCode = bundleCode;
this.RelationType = relationType;
this.BundleTag = bundleTag;
this.PerMachine = perMachine;
@@ -339,7 +339,11 @@ public DetectForwardCompatibleBundleEventArgs(string bundleId, RelationType rela
///
/// Gets the identity of the forward compatible bundle detected.
///
- public string BundleId { get; private set; }
+ public string BundleCode { get; private set; }
+
+ ///
+ [Obsolete("Use BundleCode instead.")]
+ public string BundleId => this.BundleCode;
///
/// Gets the relationship type of the forward compatible bundle.
@@ -807,10 +811,10 @@ public class PlanRelatedBundleEventArgs : CancellableHResultEventArgs
/// This class is for events raised by the engine.
/// It is not intended to be instantiated by user code.
///
- public PlanRelatedBundleEventArgs(string bundleId, RequestState recommendedState, RequestState state, bool cancelRecommendation)
+ public PlanRelatedBundleEventArgs(string bundleCode, RequestState recommendedState, RequestState state, bool cancelRecommendation)
: base(cancelRecommendation)
{
- this.BundleId = bundleId;
+ this.BundleCode = bundleCode;
this.RecommendedState = recommendedState;
this.State = state;
}
@@ -818,7 +822,11 @@ public PlanRelatedBundleEventArgs(string bundleId, RequestState recommendedState
///
/// Gets the identity of the bundle to plan for.
///
- public string BundleId { get; private set; }
+ public string BundleCode { get; private set; }
+
+ ///
+ [Obsolete("Use BundleCode instead.")]
+ public string BundleId => this.BundleCode;
///
/// Gets the recommended requested state for the bundle.
@@ -841,10 +849,10 @@ public class PlanRelatedBundleTypeEventArgs : CancellableHResultEventArgs
/// This class is for events raised by the engine.
/// It is not intended to be instantiated by user code.
///
- public PlanRelatedBundleTypeEventArgs(string bundleId, RelatedBundlePlanType recommendedType, RelatedBundlePlanType type, bool cancelRecommendation)
+ public PlanRelatedBundleTypeEventArgs(string bundleCode, RelatedBundlePlanType recommendedType, RelatedBundlePlanType type, bool cancelRecommendation)
: base(cancelRecommendation)
{
- this.BundleId = bundleId;
+ this.BundleCode = bundleCode;
this.RecommendedType = recommendedType;
this.Type = type;
}
@@ -852,7 +860,11 @@ public PlanRelatedBundleTypeEventArgs(string bundleId, RelatedBundlePlanType rec
///
/// Gets the identity of the bundle to plan for.
///
- public string BundleId { get; private set; }
+ public string BundleCode { get; private set; }
+
+ ///
+ [Obsolete("Use BundleCode instead.")]
+ public string BundleId => this.BundleCode;
///
/// Gets the recommended plan type for the bundle.
@@ -1327,10 +1339,10 @@ public class PlanForwardCompatibleBundleEventArgs : CancellableHResultEventArgs
/// This class is for events raised by the engine.
/// It is not intended to be instantiated by user code.
///
- public PlanForwardCompatibleBundleEventArgs(string bundleId, RelationType relationType, string bundleTag, bool perMachine, string version, bool recommendedIgnoreBundle, bool cancelRecommendation, bool ignoreBundle)
+ public PlanForwardCompatibleBundleEventArgs(string bundleCode, RelationType relationType, string bundleTag, bool perMachine, string version, bool recommendedIgnoreBundle, bool cancelRecommendation, bool ignoreBundle)
: base(cancelRecommendation)
{
- this.BundleId = bundleId;
+ this.BundleCode = bundleCode;
this.RelationType = relationType;
this.BundleTag = bundleTag;
this.PerMachine = perMachine;
@@ -1342,7 +1354,11 @@ public PlanForwardCompatibleBundleEventArgs(string bundleId, RelationType relati
///
/// Gets the identity of the forward compatible bundle detected.
///
- public string BundleId { get; private set; }
+ public string BundleCode { get; private set; }
+
+ ///
+ [Obsolete("Use BundleCode instead.")]
+ public string BundleId => this.BundleCode;
///
/// Gets the relationship type of the forward compatible bundle.
@@ -2624,10 +2640,10 @@ public class PlanRestoreRelatedBundleEventArgs : CancellableHResultEventArgs
/// This class is for events raised by the engine.
/// It is not intended to be instantiated by user code.
///
- public PlanRestoreRelatedBundleEventArgs(string bundleId, RequestState recommendedState, RequestState state, bool cancelRecommendation)
+ public PlanRestoreRelatedBundleEventArgs(string bundleCode, RequestState recommendedState, RequestState state, bool cancelRecommendation)
: base(cancelRecommendation)
{
- this.BundleId = bundleId;
+ this.BundleCode = bundleCode;
this.RecommendedState = recommendedState;
this.State = state;
}
@@ -2635,7 +2651,11 @@ public PlanRestoreRelatedBundleEventArgs(string bundleId, RequestState recommend
///
/// Gets the identity of the bundle to plan for.
///
- public string BundleId { get; private set; }
+ public string BundleCode { get; private set; }
+
+ ///
+ [Obsolete("Use BundleCode instead.")]
+ public string BundleId => this.BundleCode;
///
/// Gets the recommended requested state for the bundle.
diff --git a/src/api/burn/WixToolset.BootstrapperApplicationApi/IBootstrapperApplication.cs b/src/api/burn/WixToolset.BootstrapperApplicationApi/IBootstrapperApplication.cs
index ad7f8dd77..c2b43c150 100644
--- a/src/api/burn/WixToolset.BootstrapperApplicationApi/IBootstrapperApplication.cs
+++ b/src/api/burn/WixToolset.BootstrapperApplicationApi/IBootstrapperApplication.cs
@@ -80,7 +80,7 @@ int OnDetectBegin(
[PreserveSig]
[return: MarshalAs(UnmanagedType.I4)]
int OnDetectForwardCompatibleBundle(
- [MarshalAs(UnmanagedType.LPWStr)] string wzBundleId,
+ [MarshalAs(UnmanagedType.LPWStr)] string wzBundleCode,
[MarshalAs(UnmanagedType.U4)] RelationType relationType,
[MarshalAs(UnmanagedType.LPWStr)] string wzBundleTag,
[MarshalAs(UnmanagedType.Bool)] bool fPerMachine,
@@ -135,7 +135,7 @@ int OnDetectUpdateComplete(
[PreserveSig]
[return: MarshalAs(UnmanagedType.I4)]
int OnDetectRelatedBundle(
- [MarshalAs(UnmanagedType.LPWStr)] string wzBundleId,
+ [MarshalAs(UnmanagedType.LPWStr)] string wzBundleCode,
[MarshalAs(UnmanagedType.U4)] RelationType relationType,
[MarshalAs(UnmanagedType.LPWStr)] string wzBundleTag,
[MarshalAs(UnmanagedType.Bool)] bool fPerMachine,
@@ -243,7 +243,7 @@ int OnPlanBegin(
[PreserveSig]
[return: MarshalAs(UnmanagedType.I4)]
int OnPlanRelatedBundle(
- [MarshalAs(UnmanagedType.LPWStr)] string wzBundleId,
+ [MarshalAs(UnmanagedType.LPWStr)] string wzBundleCode,
[MarshalAs(UnmanagedType.U4)] RequestState recommendedState,
[MarshalAs(UnmanagedType.U4)] ref RequestState pRequestedState,
[MarshalAs(UnmanagedType.Bool)] ref bool fCancel
@@ -869,7 +869,7 @@ int hrStatus
[PreserveSig]
[return: MarshalAs(UnmanagedType.I4)]
int OnPlanForwardCompatibleBundle(
- [MarshalAs(UnmanagedType.LPWStr)] string wzBundleId,
+ [MarshalAs(UnmanagedType.LPWStr)] string wzBundleCode,
[MarshalAs(UnmanagedType.U4)] RelationType relationType,
[MarshalAs(UnmanagedType.LPWStr)] string wzBundleTag,
[MarshalAs(UnmanagedType.Bool)] bool fPerMachine,
@@ -957,7 +957,7 @@ int hrStatus
[PreserveSig]
[return: MarshalAs(UnmanagedType.I4)]
int OnPlanRestoreRelatedBundle(
- [MarshalAs(UnmanagedType.LPWStr)] string wzBundleId,
+ [MarshalAs(UnmanagedType.LPWStr)] string wzBundleCode,
[MarshalAs(UnmanagedType.U4)] RequestState recommendedState,
[MarshalAs(UnmanagedType.U4)] ref RequestState pRequestedState,
[MarshalAs(UnmanagedType.Bool)] ref bool fCancel
@@ -969,7 +969,7 @@ int OnPlanRestoreRelatedBundle(
[PreserveSig]
[return: MarshalAs(UnmanagedType.I4)]
int OnPlanRelatedBundleType(
- [MarshalAs(UnmanagedType.LPWStr)] string wzBundleId,
+ [MarshalAs(UnmanagedType.LPWStr)] string wzBundleCode,
[MarshalAs(UnmanagedType.U4)] RelatedBundlePlanType recommendedType,
[MarshalAs(UnmanagedType.U4)] ref RelatedBundlePlanType pRequestedType,
[MarshalAs(UnmanagedType.Bool)] ref bool fCancel
@@ -1004,7 +1004,7 @@ int OnExecuteProcessCancel(
[return: MarshalAs(UnmanagedType.I4)]
int OnDetectRelatedBundlePackage(
[MarshalAs(UnmanagedType.LPWStr)] string wzPackageId,
- [MarshalAs(UnmanagedType.LPWStr)] string wzBundleId,
+ [MarshalAs(UnmanagedType.LPWStr)] string wzBundleCode,
[MarshalAs(UnmanagedType.U4)] RelationType relationType,
[MarshalAs(UnmanagedType.Bool)] bool fPerMachine,
[MarshalAs(UnmanagedType.LPWStr)] string wzVersion,
diff --git a/src/api/burn/WixToolset.BootstrapperApplicationApi/IBootstrapperEngine.cs b/src/api/burn/WixToolset.BootstrapperApplicationApi/IBootstrapperEngine.cs
index 1e91cd316..c7b0c0030 100644
--- a/src/api/burn/WixToolset.BootstrapperApplicationApi/IBootstrapperEngine.cs
+++ b/src/api/burn/WixToolset.BootstrapperApplicationApi/IBootstrapperEngine.cs
@@ -236,7 +236,7 @@ void CompareVersions(
///
[PreserveSig]
int GetRelatedBundleVariable(
- [MarshalAs(UnmanagedType.LPWStr)] string wzBundleId,
+ [MarshalAs(UnmanagedType.LPWStr)] string wzBundleCode,
[MarshalAs(UnmanagedType.LPWStr)] string wzVariable,
IntPtr wzValue,
ref IntPtr pcchValue
diff --git a/src/api/burn/WixToolset.BootstrapperApplicationApi/IEngine.cs b/src/api/burn/WixToolset.BootstrapperApplicationApi/IEngine.cs
index 8e6a293be..bd78409bd 100644
--- a/src/api/burn/WixToolset.BootstrapperApplicationApi/IEngine.cs
+++ b/src/api/burn/WixToolset.BootstrapperApplicationApi/IEngine.cs
@@ -107,9 +107,9 @@ public interface IEngine
///
/// Gets persisted variables from a related bundle.
///
- /// The BundleId of the related bundle.
+ /// The bundle code of the related bundle.
/// The name of the variable.
- string GetRelatedBundleVariable(string bundleId, string name);
+ string GetRelatedBundleVariable(string bundleCode, string name);
///
/// Launches a preapproved executable elevated. As long as the engine already elevated, there will be no UAC prompt.
diff --git a/src/api/burn/balutil/BalBootstrapperEngine.cpp b/src/api/burn/balutil/BalBootstrapperEngine.cpp
index 28608cb9b..61e7e31b6 100644
--- a/src/api/burn/balutil/BalBootstrapperEngine.cpp
+++ b/src/api/burn/balutil/BalBootstrapperEngine.cpp
@@ -319,7 +319,7 @@ class CBalBootstrapperEngine : public IBootstrapperEngine
}
virtual STDMETHODIMP GetRelatedBundleVariable(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_z LPCWSTR wzVariable,
__out_ecount_opt(*pcchValue) LPWSTR wzValue,
__inout SIZE_T* pcchValue
@@ -338,7 +338,7 @@ class CBalBootstrapperEngine : public IBootstrapperEngine
// Init send structs.
args.dwApiVersion = WIX_5_BOOTSTRAPPER_APPLICATION_API_VERSION;
- args.wzBundleId = wzBundleId;
+ args.wzBundleCode = wzBundleCode;
args.wzVariable = wzVariable;
results.dwApiVersion = WIX_5_BOOTSTRAPPER_APPLICATION_API_VERSION;
@@ -349,8 +349,8 @@ class CBalBootstrapperEngine : public IBootstrapperEngine
hr = BuffWriteNumberToBuffer(&bufferArgs, args.dwApiVersion);
ExitOnFailure(hr, "Failed to write API version of GetRelatedBundleVariable args.");
- hr = BuffWriteStringToBuffer(&bufferArgs, args.wzBundleId);
- ExitOnFailure(hr, "Failed to write bundle id of GetRelatedBundleVariable args.");
+ hr = BuffWriteStringToBuffer(&bufferArgs, args.wzBundleCode);
+ ExitOnFailure(hr, "Failed to write bundle code of GetRelatedBundleVariable args.");
hr = BuffWriteStringToBuffer(&bufferArgs, args.wzVariable);
ExitOnFailure(hr, "Failed to write variable name of GetRelatedBundleVariable args.");
diff --git a/src/api/burn/balutil/balutil.cpp b/src/api/burn/balutil/balutil.cpp
index 716f82d31..3cca38a46 100644
--- a/src/api/burn/balutil/balutil.cpp
+++ b/src/api/burn/balutil/balutil.cpp
@@ -551,7 +551,7 @@ DAPI_(HRESULT) BalGetVersionVariableFromEngine(
}
DAPI_(HRESULT) BalGetRelatedBundleVariable(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_z LPCWSTR wzVariable,
__inout LPWSTR* psczValue
)
@@ -564,7 +564,7 @@ DAPI_(HRESULT) BalGetRelatedBundleVariable(
ExitOnRootFailure(hr, "BalInitialize() must be called first.");
}
- hr = BalGetRelatedBundleVariableFromEngine(vpEngine, wzBundleId, wzVariable, psczValue);
+ hr = BalGetRelatedBundleVariableFromEngine(vpEngine, wzBundleCode, wzVariable, psczValue);
LExit:
return hr;
@@ -572,7 +572,7 @@ DAPI_(HRESULT) BalGetRelatedBundleVariable(
DAPI_(HRESULT) BalGetRelatedBundleVariableFromEngine(
__in IBootstrapperEngine* pEngine,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_z LPCWSTR wzVariable,
__inout LPWSTR* psczValue
)
@@ -586,7 +586,7 @@ DAPI_(HRESULT) BalGetRelatedBundleVariableFromEngine(
ExitOnFailure(hr, "Failed to determine length of value.");
}
- hr = pEngine->GetRelatedBundleVariable(wzBundleId, wzVariable, *psczValue, &cch);
+ hr = pEngine->GetRelatedBundleVariable(wzBundleCode, wzVariable, *psczValue, &cch);
if (E_MOREDATA == hr)
{
++cch;
@@ -594,7 +594,7 @@ DAPI_(HRESULT) BalGetRelatedBundleVariableFromEngine(
hr = StrAllocSecure(psczValue, cch);
ExitOnFailure(hr, "Failed to allocate value.");
- hr = pEngine->GetRelatedBundleVariable(wzBundleId, wzVariable, *psczValue, &cch);
+ hr = pEngine->GetRelatedBundleVariable(wzBundleCode, wzVariable, *psczValue, &cch);
}
LExit:
diff --git a/src/api/burn/balutil/inc/BootstrapperApplicationBase.h b/src/api/burn/balutil/inc/BootstrapperApplicationBase.h
index a3a3643fa..80bfd3613 100644
--- a/src/api/burn/balutil/inc/BootstrapperApplicationBase.h
+++ b/src/api/burn/balutil/inc/BootstrapperApplicationBase.h
@@ -129,7 +129,7 @@ class CBootstrapperApplicationBase : public IBootstrapperApplication
}
virtual STDMETHODIMP OnDetectForwardCompatibleBundle(
- __in_z LPCWSTR /*wzBundleId*/,
+ __in_z LPCWSTR /*wzBundleCode*/,
__in BOOTSTRAPPER_RELATION_TYPE /*relationType*/,
__in_z LPCWSTR /*wzBundleTag*/,
__in BOOL /*fPerMachine*/,
@@ -179,7 +179,7 @@ class CBootstrapperApplicationBase : public IBootstrapperApplication
}
virtual STDMETHODIMP OnDetectRelatedBundle(
- __in_z LPCWSTR /*wzBundleId*/,
+ __in_z LPCWSTR /*wzBundleCode*/,
__in BOOTSTRAPPER_RELATION_TYPE /*relationType*/,
__in_z LPCWSTR /*wzBundleTag*/,
__in BOOL /*fPerMachine*/,
@@ -276,7 +276,7 @@ class CBootstrapperApplicationBase : public IBootstrapperApplication
}
virtual STDMETHODIMP OnPlanRelatedBundle(
- __in_z LPCWSTR /*wzBundleId*/,
+ __in_z LPCWSTR /*wzBundleCode*/,
__in BOOTSTRAPPER_REQUEST_STATE /*recommendedState*/,
__inout BOOTSTRAPPER_REQUEST_STATE* /*pRequestedState*/,
__inout BOOL* pfCancel
@@ -995,7 +995,7 @@ class CBootstrapperApplicationBase : public IBootstrapperApplication
}
virtual STDMETHODIMP OnPlanForwardCompatibleBundle(
- __in_z LPCWSTR /*wzBundleId*/,
+ __in_z LPCWSTR /*wzBundleCode*/,
__in BOOTSTRAPPER_RELATION_TYPE /*relationType*/,
__in_z LPCWSTR /*wzBundleTag*/,
__in BOOL /*fPerMachine*/,
@@ -1074,7 +1074,7 @@ class CBootstrapperApplicationBase : public IBootstrapperApplication
}
virtual STDMETHODIMP OnPlanRestoreRelatedBundle(
- __in_z LPCWSTR /*wzBundleId*/,
+ __in_z LPCWSTR /*wzBundleCode*/,
__in BOOTSTRAPPER_REQUEST_STATE /*recommendedState*/,
__inout BOOTSTRAPPER_REQUEST_STATE* /*pRequestedState*/,
__inout BOOL* pfCancel
@@ -1085,7 +1085,7 @@ class CBootstrapperApplicationBase : public IBootstrapperApplication
}
virtual STDMETHODIMP OnPlanRelatedBundleType(
- __in_z LPCWSTR /*wzBundleId*/,
+ __in_z LPCWSTR /*wzBundleCode*/,
__in BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE /*recommendedType*/,
__inout BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE* /*pRequestedType*/,
__inout BOOL* pfCancel
@@ -1115,7 +1115,7 @@ class CBootstrapperApplicationBase : public IBootstrapperApplication
virtual STDMETHODIMP OnDetectRelatedBundlePackage(
__in_z LPCWSTR /*wzPackageId*/,
- __in_z LPCWSTR /*wzBundleId*/,
+ __in_z LPCWSTR /*wzBundleCode*/,
__in BOOTSTRAPPER_RELATION_TYPE /*relationType*/,
__in BOOL /*fPerMachine*/,
__in_z LPCWSTR /*wzVersion*/,
diff --git a/src/api/burn/balutil/inc/IBootstrapperApplication.h b/src/api/burn/balutil/inc/IBootstrapperApplication.h
index a08f68639..a3b24bc3a 100644
--- a/src/api/burn/balutil/inc/IBootstrapperApplication.h
+++ b/src/api/burn/balutil/inc/IBootstrapperApplication.h
@@ -56,7 +56,7 @@ DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-A
// OnDetectForwardCompatibleBundle - called when the engine detects a forward compatible bundle.
STDMETHOD(OnDetectForwardCompatibleBundle)(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BOOTSTRAPPER_RELATION_TYPE relationType,
__in_z LPCWSTR wzBundleTag,
__in BOOL fPerMachine,
@@ -95,7 +95,7 @@ DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-A
// OnDetectRelatedBundle - called when the engine detects a related bundle.
STDMETHOD(OnDetectRelatedBundle)(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BOOTSTRAPPER_RELATION_TYPE relationType,
__in_z LPCWSTR wzBundleTag,
__in BOOL fPerMachine,
@@ -170,7 +170,7 @@ DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-A
// OnPlanRelatedBundle - called when the engine begins planning a related bundle.
STDMETHOD(OnPlanRelatedBundle)(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BOOTSTRAPPER_REQUEST_STATE recommendedState,
__inout BOOTSTRAPPER_REQUEST_STATE* pRequestedState,
__inout BOOL* pfCancel
@@ -649,7 +649,7 @@ DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-A
) = 0;
STDMETHOD(OnPlanForwardCompatibleBundle)(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BOOTSTRAPPER_RELATION_TYPE relationType,
__in_z LPCWSTR wzBundleTag,
__in BOOL fPerMachine,
@@ -703,7 +703,7 @@ DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-A
// OnPlanRestoreRelatedBundle - called when the engine begins planning an upgrade related bundle for restoring in case of failure.
STDMETHOD(OnPlanRestoreRelatedBundle)(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BOOTSTRAPPER_REQUEST_STATE recommendedState,
__inout BOOTSTRAPPER_REQUEST_STATE* pRequestedState,
__inout BOOL* pfCancel
@@ -711,7 +711,7 @@ DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-A
// OnPlanRelatedBundleType - called when the engine begins planning the related bundle relation type.
STDMETHOD(OnPlanRelatedBundleType)(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE recommendedType,
__inout BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE* pRequestedType,
__inout BOOL* pfCancel
@@ -736,7 +736,7 @@ DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-A
// OnDetectRelatedBundlePackage - called when the engine detects a related bundle for a BundlePackage.
STDMETHOD(OnDetectRelatedBundlePackage)(
__in_z LPCWSTR wzPackageId,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BOOTSTRAPPER_RELATION_TYPE relationType,
__in BOOL fPerMachine,
__in_z LPCWSTR wzVersion,
diff --git a/src/api/burn/balutil/inc/IBootstrapperEngine.h b/src/api/burn/balutil/inc/IBootstrapperEngine.h
index 02094aa50..57fc9be9b 100644
--- a/src/api/burn/balutil/inc/IBootstrapperEngine.h
+++ b/src/api/burn/balutil/inc/IBootstrapperEngine.h
@@ -142,7 +142,7 @@ DECLARE_INTERFACE_IID_(IBootstrapperEngine, IUnknown, "6480D616-27A0-44D7-905B-8
) = 0;
STDMETHOD(GetRelatedBundleVariable)(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_z LPCWSTR wzVariable,
__out_ecount_opt(*pcchValue) LPWSTR wzValue,
__inout SIZE_T* pcchValue
diff --git a/src/api/burn/balutil/inc/balutil.h b/src/api/burn/balutil/inc/balutil.h
index 03575883a..4c8550ee2 100644
--- a/src/api/burn/balutil/inc/balutil.h
+++ b/src/api/burn/balutil/inc/balutil.h
@@ -141,7 +141,7 @@ BalGetRelatedBundleVariable - gets a string from a shared variable in the engine
Note: Use StrFree() to release psczValue.
********************************************************************/
DAPI_(HRESULT) BalGetRelatedBundleVariable(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_z LPCWSTR wzVariable,
__inout LPWSTR* psczValue
);
@@ -153,7 +153,7 @@ BalGetRelatedBundleVariableFromEngine - gets a string from a shared variable in
********************************************************************/
DAPI_(HRESULT) BalGetRelatedBundleVariableFromEngine(
__in IBootstrapperEngine* pEngine,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_z LPCWSTR wzVariable,
__inout LPWSTR* psczValue
);
diff --git a/src/api/burn/balutil/msg.cpp b/src/api/burn/balutil/msg.cpp
index 690108a57..b728cc830 100644
--- a/src/api/burn/balutil/msg.cpp
+++ b/src/api/burn/balutil/msg.cpp
@@ -1768,7 +1768,7 @@ static HRESULT OnDetectForwardCompatibleBundle(
HRESULT hr = S_OK;
BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_ARGS args = { };
BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_RESULTS results = { };
- LPWSTR sczBundleId = NULL;
+ LPWSTR sczBundleCode = NULL;
LPWSTR sczBundleTag = NULL;
LPWSTR sczVersion = NULL;
@@ -1776,10 +1776,10 @@ static HRESULT OnDetectForwardCompatibleBundle(
hr = BuffReaderReadNumber(pReaderArgs, &args.dwApiVersion);
ExitOnFailure(hr, "Failed to read API version of OnDetectForwardCompatibleBundle args.");
- hr = BuffReaderReadString(pReaderArgs, &sczBundleId);
- ExitOnFailure(hr, "Failed to read bundle id of OnDetectForwardCompatibleBundle args.");
+ hr = BuffReaderReadString(pReaderArgs, &sczBundleCode);
+ ExitOnFailure(hr, "Failed to read bundle code of OnDetectForwardCompatibleBundle args.");
- args.wzBundleId = sczBundleId;
+ args.wzBundleCode = sczBundleCode;
hr = BuffReaderReadNumber(pReaderArgs, reinterpret_cast(&args.relationType));
ExitOnFailure(hr, "Failed to read relation type of OnDetectForwardCompatibleBundle args.");
@@ -1809,7 +1809,7 @@ static HRESULT OnDetectForwardCompatibleBundle(
if (E_NOTIMPL == hr)
{
- hr = pApplication->OnDetectForwardCompatibleBundle(args.wzBundleId, args.relationType, args.wzBundleTag, args.fPerMachine, args.wzVersion, args.fMissingFromCache, &results.fCancel);
+ hr = pApplication->OnDetectForwardCompatibleBundle(args.wzBundleCode, args.relationType, args.wzBundleTag, args.fPerMachine, args.wzVersion, args.fMissingFromCache, &results.fCancel);
}
pApplication->BAProcFallback(BOOTSTRAPPER_APPLICATION_MESSAGE_ONDETECTFORWARDCOMPATIBLEBUNDLE, &args, &results, &hr);
@@ -1825,7 +1825,7 @@ static HRESULT OnDetectForwardCompatibleBundle(
LExit:
ReleaseStr(sczVersion);
ReleaseStr(sczBundleTag);
- ReleaseStr(sczBundleId);
+ ReleaseStr(sczBundleCode);
return hr;
}
@@ -1999,7 +1999,7 @@ static HRESULT OnDetectRelatedBundle(
HRESULT hr = S_OK;
BA_ONDETECTRELATEDBUNDLE_ARGS args = { };
BA_ONDETECTRELATEDBUNDLE_RESULTS results = { };
- LPWSTR sczBundleId = NULL;
+ LPWSTR sczBundleCode = NULL;
LPWSTR sczBundleTag = NULL;
LPWSTR sczVersion = NULL;
@@ -2007,10 +2007,10 @@ static HRESULT OnDetectRelatedBundle(
hr = BuffReaderReadNumber(pReaderArgs, &args.dwApiVersion);
ExitOnFailure(hr, "Failed to read API version of OnDetectRelatedBundle args.");
- hr = BuffReaderReadString(pReaderArgs, &sczBundleId);
- ExitOnFailure(hr, "Failed to read bundle id of OnDetectRelatedBundle args.");
+ hr = BuffReaderReadString(pReaderArgs, &sczBundleCode);
+ ExitOnFailure(hr, "Failed to read bundle code of OnDetectRelatedBundle args.");
- args.wzBundleId = sczBundleId;
+ args.wzBundleCode = sczBundleCode;
hr = BuffReaderReadNumber(pReaderArgs, reinterpret_cast(&args.relationType));
ExitOnFailure(hr, "Failed to read relation type of OnDetectRelatedBundle args.");
@@ -2040,7 +2040,7 @@ static HRESULT OnDetectRelatedBundle(
if (E_NOTIMPL == hr)
{
- hr = pApplication->OnDetectRelatedBundle(args.wzBundleId, args.relationType, args.wzBundleTag, args.fPerMachine, args.wzVersion, args.fMissingFromCache, &results.fCancel);
+ hr = pApplication->OnDetectRelatedBundle(args.wzBundleCode, args.relationType, args.wzBundleTag, args.fPerMachine, args.wzVersion, args.fMissingFromCache, &results.fCancel);
}
pApplication->BAProcFallback(BOOTSTRAPPER_APPLICATION_MESSAGE_ONDETECTRELATEDBUNDLE, &args, &results, &hr);
@@ -2056,7 +2056,7 @@ static HRESULT OnDetectRelatedBundle(
LExit:
ReleaseStr(sczVersion);
ReleaseStr(sczBundleTag);
- ReleaseStr(sczBundleId);
+ ReleaseStr(sczBundleCode);
return hr;
}
@@ -2071,7 +2071,7 @@ static HRESULT OnDetectRelatedBundlePackage(
BA_ONDETECTRELATEDBUNDLEPACKAGE_ARGS args = { };
BA_ONDETECTRELATEDBUNDLEPACKAGE_RESULTS results = { };
LPWSTR sczPackageId = NULL;
- LPWSTR sczBundleId = NULL;
+ LPWSTR sczBundleCode = NULL;
LPWSTR sczVersion = NULL;
// Read args.
@@ -2083,10 +2083,10 @@ static HRESULT OnDetectRelatedBundlePackage(
args.wzPackageId = sczPackageId;
- hr = BuffReaderReadString(pReaderArgs, &sczBundleId);
- ExitOnFailure(hr, "Failed to read bundle id of OnDetectRelatedBundlePackage args.");
+ hr = BuffReaderReadString(pReaderArgs, &sczBundleCode);
+ ExitOnFailure(hr, "Failed to read bundle code of OnDetectRelatedBundlePackage args.");
- args.wzBundleId = sczBundleId;
+ args.wzBundleCode = sczBundleCode;
hr = BuffReaderReadNumber(pReaderArgs, reinterpret_cast(&args.relationType));
ExitOnFailure(hr, "Failed to read relation type of OnDetectRelatedBundlePackage args.");
@@ -2108,7 +2108,7 @@ static HRESULT OnDetectRelatedBundlePackage(
if (E_NOTIMPL == hr)
{
- hr = pApplication->OnDetectRelatedBundlePackage(args.wzPackageId, args.wzBundleId, args.relationType, args.fPerMachine, args.wzVersion, &results.fCancel);
+ hr = pApplication->OnDetectRelatedBundlePackage(args.wzPackageId, args.wzBundleCode, args.relationType, args.fPerMachine, args.wzVersion, &results.fCancel);
}
pApplication->BAProcFallback(BOOTSTRAPPER_APPLICATION_MESSAGE_ONDETECTRELATEDBUNDLEPACKAGE, &args, &results, &hr);
@@ -2123,7 +2123,7 @@ static HRESULT OnDetectRelatedBundlePackage(
LExit:
ReleaseStr(sczVersion);
- ReleaseStr(sczBundleId);
+ ReleaseStr(sczBundleCode);
ReleaseStr(sczPackageId);
return hr;
}
@@ -3650,7 +3650,7 @@ static HRESULT OnPlanForwardCompatibleBundle(
HRESULT hr = S_OK;
BA_ONPLANFORWARDCOMPATIBLEBUNDLE_ARGS args = { };
BA_ONPLANFORWARDCOMPATIBLEBUNDLE_RESULTS results = { };
- LPWSTR sczBundleId = NULL;
+ LPWSTR sczBundleCode = NULL;
LPWSTR sczBundleTag = NULL;
LPWSTR sczVersion = NULL;
@@ -3658,10 +3658,10 @@ static HRESULT OnPlanForwardCompatibleBundle(
hr = BuffReaderReadNumber(pReaderArgs, &args.dwApiVersion);
ExitOnFailure(hr, "Failed to read API version of OnPlanForwardCompatibleBundle args.");
- hr = BuffReaderReadString(pReaderArgs, &sczBundleId);
- ExitOnFailure(hr, "Failed to read bundle id of OnPlanForwardCompatibleBundle args.");
+ hr = BuffReaderReadString(pReaderArgs, &sczBundleCode);
+ ExitOnFailure(hr, "Failed to read bundle code of OnPlanForwardCompatibleBundle args.");
- args.wzBundleId = sczBundleId;
+ args.wzBundleCode = sczBundleCode;
hr = BuffReaderReadNumber(pReaderArgs, reinterpret_cast(&args.relationType));
ExitOnFailure(hr, "Failed to read relation type of OnPlanForwardCompatibleBundle args.");
@@ -3694,7 +3694,7 @@ static HRESULT OnPlanForwardCompatibleBundle(
if (E_NOTIMPL == hr)
{
- hr = pApplication->OnPlanForwardCompatibleBundle(args.wzBundleId, args.relationType, args.wzBundleTag, args.fPerMachine, args.wzVersion, args.fRecommendedIgnoreBundle, &results.fCancel, &results.fIgnoreBundle);
+ hr = pApplication->OnPlanForwardCompatibleBundle(args.wzBundleCode, args.relationType, args.wzBundleTag, args.fPerMachine, args.wzVersion, args.fRecommendedIgnoreBundle, &results.fCancel, &results.fIgnoreBundle);
}
pApplication->BAProcFallback(BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANFORWARDCOMPATIBLEBUNDLE, &args, &results, &hr);
@@ -3713,7 +3713,7 @@ static HRESULT OnPlanForwardCompatibleBundle(
LExit:
ReleaseStr(sczVersion);
ReleaseStr(sczBundleTag);
- ReleaseStr(sczBundleId);
+ ReleaseStr(sczBundleCode);
return hr;
}
@@ -4049,16 +4049,16 @@ static HRESULT OnPlanRelatedBundle(
HRESULT hr = S_OK;
BA_ONPLANRELATEDBUNDLE_ARGS args = { };
BA_ONPLANRELATEDBUNDLE_RESULTS results = { };
- LPWSTR sczBundleId = NULL;
+ LPWSTR sczBundleCode = NULL;
// Read args.
hr = BuffReaderReadNumber(pReaderArgs, &args.dwApiVersion);
ExitOnFailure(hr, "Failed to read API version of OnPlanRelatedBundle args.");
- hr = BuffReaderReadString(pReaderArgs, &sczBundleId);
+ hr = BuffReaderReadString(pReaderArgs, &sczBundleCode);
ExitOnFailure(hr, "Failed to read package id of OnPlanRelatedBundle args.");
- args.wzBundleId = sczBundleId;
+ args.wzBundleCode = sczBundleCode;
hr = BuffReaderReadNumber(pReaderArgs, reinterpret_cast(&args.recommendedState));
ExitOnFailure(hr, "Failed to read recommended state of OnPlanRelatedBundle args.");
@@ -4075,7 +4075,7 @@ static HRESULT OnPlanRelatedBundle(
if (E_NOTIMPL == hr)
{
- hr = pApplication->OnPlanRelatedBundle(args.wzBundleId, args.recommendedState, &results.requestedState, &results.fCancel);
+ hr = pApplication->OnPlanRelatedBundle(args.wzBundleCode, args.recommendedState, &results.requestedState, &results.fCancel);
}
pApplication->BAProcFallback(BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANRELATEDBUNDLE, &args, &results, &hr);
@@ -4092,7 +4092,7 @@ static HRESULT OnPlanRelatedBundle(
ExitOnFailure(hr, "Failed to write requested state of OnPlanRelatedBundle struct.");
LExit:
- ReleaseStr(sczBundleId);
+ ReleaseStr(sczBundleCode);
return hr;
}
@@ -4106,16 +4106,16 @@ static HRESULT OnPlanRelatedBundleType(
HRESULT hr = S_OK;
BA_ONPLANRELATEDBUNDLETYPE_ARGS args = { };
BA_ONPLANRELATEDBUNDLETYPE_RESULTS results = { };
- LPWSTR sczBundleId = NULL;
+ LPWSTR sczBundleCode = NULL;
// Read args.
hr = BuffReaderReadNumber(pReaderArgs, &args.dwApiVersion);
ExitOnFailure(hr, "Failed to read API version of OnPlanRelatedBundleType args.");
- hr = BuffReaderReadString(pReaderArgs, &sczBundleId);
+ hr = BuffReaderReadString(pReaderArgs, &sczBundleCode);
ExitOnFailure(hr, "Failed to read package id of OnPlanRelatedBundleType args.");
- args.wzBundleId = sczBundleId;
+ args.wzBundleCode = sczBundleCode;
hr = BuffReaderReadNumber(pReaderArgs, reinterpret_cast(&args.recommendedType));
ExitOnFailure(hr, "Failed to read recommended type of OnPlanRelatedBundleType args.");
@@ -4132,7 +4132,7 @@ static HRESULT OnPlanRelatedBundleType(
if (E_NOTIMPL == hr)
{
- hr = pApplication->OnPlanRelatedBundleType(args.wzBundleId, args.recommendedType, &results.requestedType, &results.fCancel);
+ hr = pApplication->OnPlanRelatedBundleType(args.wzBundleCode, args.recommendedType, &results.requestedType, &results.fCancel);
}
pApplication->BAProcFallback(BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANRELATEDBUNDLETYPE, &args, &results, &hr);
@@ -4149,7 +4149,7 @@ static HRESULT OnPlanRelatedBundleType(
ExitOnFailure(hr, "Failed to write requested type of OnPlanRelatedBundleType struct.");
LExit:
- ReleaseStr(sczBundleId);
+ ReleaseStr(sczBundleCode);
return hr;
}
@@ -4163,16 +4163,16 @@ static HRESULT OnPlanRestoreRelatedBundle(
HRESULT hr = S_OK;
BA_ONPLANRESTORERELATEDBUNDLE_ARGS args = { };
BA_ONPLANRESTORERELATEDBUNDLE_RESULTS results = { };
- LPWSTR sczBundleId = NULL;
+ LPWSTR sczBundleCode = NULL;
// Read args.
hr = BuffReaderReadNumber(pReaderArgs, &args.dwApiVersion);
ExitOnFailure(hr, "Failed to read API version of OnPlanRestoreRelatedBundle args.");
- hr = BuffReaderReadString(pReaderArgs, &sczBundleId);
+ hr = BuffReaderReadString(pReaderArgs, &sczBundleCode);
ExitOnFailure(hr, "Failed to read package id of OnPlanRestoreRelatedBundle args.");
- args.wzBundleId = sczBundleId;
+ args.wzBundleCode = sczBundleCode;
hr = BuffReaderReadNumber(pReaderArgs, reinterpret_cast(&args.recommendedState));
ExitOnFailure(hr, "Failed to read recommended state of OnPlanRestoreRelatedBundle args.");
@@ -4189,7 +4189,7 @@ static HRESULT OnPlanRestoreRelatedBundle(
if (E_NOTIMPL == hr)
{
- hr = pApplication->OnPlanRestoreRelatedBundle(args.wzBundleId, args.recommendedState, &results.requestedState, &results.fCancel);
+ hr = pApplication->OnPlanRestoreRelatedBundle(args.wzBundleCode, args.recommendedState, &results.requestedState, &results.fCancel);
}
pApplication->BAProcFallback(BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANRESTORERELATEDBUNDLE, &args, &results, &hr);
@@ -4206,7 +4206,7 @@ static HRESULT OnPlanRestoreRelatedBundle(
ExitOnFailure(hr, "Failed to write requested state of OnPlanRestoreRelatedBundle struct.");
LExit:
- ReleaseStr(sczBundleId);
+ ReleaseStr(sczBundleCode);
return hr;
}
diff --git a/src/api/burn/bextutil/BextBootstrapperExtensionEngine.cpp b/src/api/burn/bextutil/BextBootstrapperExtensionEngine.cpp
index a5e40c8e8..f9e1802a5 100644
--- a/src/api/burn/bextutil/BextBootstrapperExtensionEngine.cpp
+++ b/src/api/burn/bextutil/BextBootstrapperExtensionEngine.cpp
@@ -307,7 +307,7 @@ class CBextBootstrapperExtensionEngine : public IBootstrapperExtensionEngine
}
virtual STDMETHODIMP GetRelatedBundleVariable(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_z LPCWSTR wzVariable,
__out_ecount_opt(*pcchValue) LPWSTR wzValue,
__inout SIZE_T* pcchValue
@@ -320,7 +320,7 @@ class CBextBootstrapperExtensionEngine : public IBootstrapperExtensionEngine
ExitOnNull(pcchValue, hr, E_INVALIDARG, "pcchValue is required");
args.cbSize = sizeof(args);
- args.wzBundleId = wzBundleId;
+ args.wzBundleCode = wzBundleCode;
args.wzVariable = wzVariable;
results.cbSize = sizeof(results);
diff --git a/src/api/burn/bextutil/inc/IBootstrapperExtensionEngine.h b/src/api/burn/bextutil/inc/IBootstrapperExtensionEngine.h
index a78868f29..31fe9ef8b 100644
--- a/src/api/burn/bextutil/inc/IBootstrapperExtensionEngine.h
+++ b/src/api/burn/bextutil/inc/IBootstrapperExtensionEngine.h
@@ -67,7 +67,7 @@ DECLARE_INTERFACE_IID_(IBootstrapperExtensionEngine, IUnknown, "9D027A39-F6B6-42
) = 0;
STDMETHOD(GetRelatedBundleVariable)(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_z LPCWSTR wzVariable,
__out_ecount_opt(*pcchValue) LPWSTR wzValue,
__inout SIZE_T * pcchValue
diff --git a/src/api/burn/inc/BootstrapperApplicationTypes.h b/src/api/burn/inc/BootstrapperApplicationTypes.h
index c7eaa3d3a..2ece1b7b9 100644
--- a/src/api/burn/inc/BootstrapperApplicationTypes.h
+++ b/src/api/burn/inc/BootstrapperApplicationTypes.h
@@ -790,7 +790,7 @@ struct BA_ONDETECTCOMPLETE_RESULTS
struct BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_ARGS
{
DWORD dwApiVersion;
- LPCWSTR wzBundleId;
+ LPCWSTR wzBundleCode;
BOOTSTRAPPER_RELATION_TYPE relationType;
LPCWSTR wzBundleTag;
BOOL fPerMachine;
@@ -847,7 +847,7 @@ struct BA_ONDETECTPACKAGECOMPLETE_RESULTS
struct BA_ONDETECTRELATEDBUNDLE_ARGS
{
DWORD dwApiVersion;
- LPCWSTR wzBundleId;
+ LPCWSTR wzBundleCode;
BOOTSTRAPPER_RELATION_TYPE relationType;
LPCWSTR wzBundleTag;
BOOL fPerMachine;
@@ -865,7 +865,7 @@ struct BA_ONDETECTRELATEDBUNDLEPACKAGE_ARGS
{
DWORD dwApiVersion;
LPCWSTR wzPackageId;
- LPCWSTR wzBundleId;
+ LPCWSTR wzBundleCode;
BOOTSTRAPPER_RELATION_TYPE relationType;
BOOL fPerMachine;
LPCWSTR wzVersion;
@@ -1226,7 +1226,7 @@ struct BA_ONPLANCOMPLETE_RESULTS
struct BA_ONPLANFORWARDCOMPATIBLEBUNDLE_ARGS
{
DWORD dwApiVersion;
- LPCWSTR wzBundleId;
+ LPCWSTR wzBundleCode;
BOOTSTRAPPER_RELATION_TYPE relationType;
LPCWSTR wzBundleTag;
BOOL fPerMachine;
@@ -1339,7 +1339,7 @@ struct BA_ONPLANPACKAGECOMPLETE_RESULTS
struct BA_ONPLANRELATEDBUNDLE_ARGS
{
DWORD dwApiVersion;
- LPCWSTR wzBundleId;
+ LPCWSTR wzBundleCode;
BOOTSTRAPPER_REQUEST_STATE recommendedState;
};
@@ -1353,7 +1353,7 @@ struct BA_ONPLANRELATEDBUNDLE_RESULTS
struct BA_ONPLANRELATEDBUNDLETYPE_ARGS
{
DWORD dwApiVersion;
- LPCWSTR wzBundleId;
+ LPCWSTR wzBundleCode;
BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE recommendedType;
};
@@ -1367,7 +1367,7 @@ struct BA_ONPLANRELATEDBUNDLETYPE_RESULTS
struct BA_ONPLANRESTORERELATEDBUNDLE_ARGS
{
DWORD dwApiVersion;
- LPCWSTR wzBundleId;
+ LPCWSTR wzBundleCode;
BOOTSTRAPPER_REQUEST_STATE recommendedState;
};
diff --git a/src/api/burn/inc/BootstrapperEngineTypes.h b/src/api/burn/inc/BootstrapperEngineTypes.h
index e26343834..f89238c07 100644
--- a/src/api/burn/inc/BootstrapperEngineTypes.h
+++ b/src/api/burn/inc/BootstrapperEngineTypes.h
@@ -436,7 +436,7 @@ typedef struct _BAENGINE_SETVARIABLEVERSION_RESULTS
typedef struct _BAENGINE_GETRELATEDBUNDLEVARIABLE_ARGS
{
DWORD dwApiVersion;
- LPCWSTR wzBundleId;
+ LPCWSTR wzBundleCode;
LPCWSTR wzVariable;
} BAENGINE_GETRELATEDBUNDLEVARIABLE_ARGS;
diff --git a/src/api/burn/inc/BootstrapperExtensionEngineTypes.h b/src/api/burn/inc/BootstrapperExtensionEngineTypes.h
index 24c304c67..66dabe883 100644
--- a/src/api/burn/inc/BootstrapperExtensionEngineTypes.h
+++ b/src/api/burn/inc/BootstrapperExtensionEngineTypes.h
@@ -176,7 +176,7 @@ typedef struct _BOOTSTRAPPER_EXTENSION_ENGINE_SETVARIABLEVERSION_RESULTS
typedef struct _BOOTSTRAPPER_EXTENSION_ENGINE_GETRELATEDBUNDLEVARIABLE_ARGS
{
DWORD cbSize;
- LPCWSTR wzBundleId;
+ LPCWSTR wzBundleCode;
LPCWSTR wzVariable;
} BOOTSTRAPPER_EXTENSION_ENGINE_GETRELATEDBUNDLEVARIABLE_ARGS;
diff --git a/src/api/wix/WixToolset.Data/Symbols/WixBundleBundlePackageSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/WixBundleBundlePackageSymbol.cs
index 8d9305800..2313e0a81 100644
--- a/src/api/wix/WixToolset.Data/Symbols/WixBundleBundlePackageSymbol.cs
+++ b/src/api/wix/WixToolset.Data/Symbols/WixBundleBundlePackageSymbol.cs
@@ -11,7 +11,7 @@ public static partial class SymbolDefinitions
new[]
{
new IntermediateFieldDefinition(nameof(WixBundleBundlePackageSymbolFields.Attributes), IntermediateFieldType.Number),
- new IntermediateFieldDefinition(nameof(WixBundleBundlePackageSymbolFields.BundleId), IntermediateFieldType.String),
+ new IntermediateFieldDefinition(nameof(WixBundleBundlePackageSymbolFields.BundleCode), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixBundleBundlePackageSymbolFields.EngineVersion), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixBundleBundlePackageSymbolFields.Version), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixBundleBundlePackageSymbolFields.InstallCommand), IntermediateFieldType.String),
@@ -29,7 +29,9 @@ namespace WixToolset.Data.Symbols
public enum WixBundleBundlePackageSymbolFields
{
Attributes,
- BundleId,
+ BundleCode,
+ [Obsolete("Use BundleCode instead.")]
+ BundleId = BundleCode,
EngineVersion,
Version,
InstallCommand,
@@ -62,10 +64,17 @@ public WixBundleBundlePackageAttributes Attributes
set => this.Set((int)WixBundleBundlePackageSymbolFields.Attributes, (int)value);
}
+ public string BundleCode
+ {
+ get => (string)this.Fields[(int)WixBundleBundlePackageSymbolFields.BundleCode];
+ set => this.Set((int)WixBundleBundlePackageSymbolFields.BundleCode, value);
+ }
+
+ [Obsolete("Use BundleCode instead.")]
public string BundleId
{
- get => (string)this.Fields[(int)WixBundleBundlePackageSymbolFields.BundleId];
- set => this.Set((int)WixBundleBundlePackageSymbolFields.BundleId, value);
+ get => (string)this.Fields[(int)WixBundleBundlePackageSymbolFields.BundleCode];
+ set => this.Set((int)WixBundleBundlePackageSymbolFields.BundleCode, value);
}
public string EngineVersion
diff --git a/src/api/wix/WixToolset.Data/Symbols/WixBundleHarvestedBundlePackageSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/WixBundleHarvestedBundlePackageSymbol.cs
index 9f205ce6a..8c969e77a 100644
--- a/src/api/wix/WixToolset.Data/Symbols/WixBundleHarvestedBundlePackageSymbol.cs
+++ b/src/api/wix/WixToolset.Data/Symbols/WixBundleHarvestedBundlePackageSymbol.cs
@@ -11,7 +11,7 @@ public static partial class SymbolDefinitions
new[]
{
new IntermediateFieldDefinition(nameof(WixBundleHarvestedBundlePackageSymbolFields.Attributes), IntermediateFieldType.Number),
- new IntermediateFieldDefinition(nameof(WixBundleHarvestedBundlePackageSymbolFields.BundleId), IntermediateFieldType.String),
+ new IntermediateFieldDefinition(nameof(WixBundleHarvestedBundlePackageSymbolFields.BundleCode), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixBundleHarvestedBundlePackageSymbolFields.EngineVersion), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixBundleHarvestedBundlePackageSymbolFields.ManifestNamespace), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixBundleHarvestedBundlePackageSymbolFields.ProtocolVersion), IntermediateFieldType.Number),
@@ -30,7 +30,9 @@ namespace WixToolset.Data.Symbols
public enum WixBundleHarvestedBundlePackageSymbolFields
{
Attributes,
- BundleId,
+ BundleCode,
+ [Obsolete("Use BundleCode instead.")]
+ BundleId = BundleCode,
EngineVersion,
ManifestNamespace,
ProtocolVersion,
@@ -65,10 +67,17 @@ public WixBundleHarvestedBundlePackageAttributes Attributes
set => this.Set((int)WixBundleHarvestedBundlePackageSymbolFields.Attributes, (int)value);
}
+ public string BundleCode
+ {
+ get => this.Fields[(int)WixBundleHarvestedBundlePackageSymbolFields.BundleCode].AsString();
+ set => this.Set((int)WixBundleHarvestedBundlePackageSymbolFields.BundleCode, value);
+ }
+
+ [Obsolete("Use BundleCode instead.")]
public string BundleId
{
- get => this.Fields[(int)WixBundleHarvestedBundlePackageSymbolFields.BundleId].AsString();
- set => this.Set((int)WixBundleHarvestedBundlePackageSymbolFields.BundleId, value);
+ get => this.Fields[(int)WixBundleHarvestedBundlePackageSymbolFields.BundleCode].AsString();
+ set => this.Set((int)WixBundleHarvestedBundlePackageSymbolFields.BundleCode, value);
}
public string EngineVersion
diff --git a/src/api/wix/WixToolset.Data/Symbols/WixBundlePackageRelatedBundleSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/WixBundlePackageRelatedBundleSymbol.cs
index 31f4f713b..c4586601f 100644
--- a/src/api/wix/WixToolset.Data/Symbols/WixBundlePackageRelatedBundleSymbol.cs
+++ b/src/api/wix/WixToolset.Data/Symbols/WixBundlePackageRelatedBundleSymbol.cs
@@ -11,7 +11,7 @@ public static partial class SymbolDefinitions
new[]
{
new IntermediateFieldDefinition(nameof(WixBundlePackageRelatedBundleSymbolFields.PackagePayloadRef), IntermediateFieldType.String),
- new IntermediateFieldDefinition(nameof(WixBundlePackageRelatedBundleSymbolFields.BundleId), IntermediateFieldType.String),
+ new IntermediateFieldDefinition(nameof(WixBundlePackageRelatedBundleSymbolFields.BundleCode), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixBundlePackageRelatedBundleSymbolFields.Action), IntermediateFieldType.Number),
},
typeof(WixBundlePackageRelatedBundleSymbol));
@@ -20,10 +20,14 @@ public static partial class SymbolDefinitions
namespace WixToolset.Data.Symbols
{
+ using System;
+
public enum WixBundlePackageRelatedBundleSymbolFields
{
PackagePayloadRef,
- BundleId,
+ BundleCode,
+ [Obsolete("Use BundleCode instead.")]
+ BundleId = BundleCode,
Action,
}
@@ -45,10 +49,17 @@ public string PackagePayloadRef
set => this.Set((int)WixBundlePackageRelatedBundleSymbolFields.PackagePayloadRef, value);
}
+ public string BundleCode
+ {
+ get => (string)this.Fields[(int)WixBundlePackageRelatedBundleSymbolFields.BundleCode];
+ set => this.Set((int)WixBundlePackageRelatedBundleSymbolFields.BundleCode, value);
+ }
+
+ [Obsolete("Use BundleCode instead.")]
public string BundleId
{
- get => (string)this.Fields[(int)WixBundlePackageRelatedBundleSymbolFields.BundleId];
- set => this.Set((int)WixBundlePackageRelatedBundleSymbolFields.BundleId, value);
+ get => (string)this.Fields[(int)WixBundlePackageRelatedBundleSymbolFields.BundleCode];
+ set => this.Set((int)WixBundlePackageRelatedBundleSymbolFields.BundleCode, value);
}
public RelatedBundleActionType Action
diff --git a/src/api/wix/WixToolset.Data/Symbols/WixBundleSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/WixBundleSymbol.cs
index ffeb5f3be..f16cdbb8c 100644
--- a/src/api/wix/WixToolset.Data/Symbols/WixBundleSymbol.cs
+++ b/src/api/wix/WixToolset.Data/Symbols/WixBundleSymbol.cs
@@ -30,7 +30,7 @@ public static partial class SymbolDefinitions
new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.Tag), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.Platform), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.ParentName), IntermediateFieldType.String),
- new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.BundleId), IntermediateFieldType.String),
+ new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.BundleCode), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.ProviderKey), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.InProgressName), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.DisableModify), IntermediateFieldType.String),
@@ -65,7 +65,9 @@ public enum WixBundleSymbolFields
Tag,
Platform,
ParentName,
- BundleId,
+ BundleCode,
+ [Obsolete("Use BundleCode instead.")]
+ BundleId = BundleCode,
ProviderKey,
InProgressName,
DisableModify,
@@ -218,10 +220,17 @@ public string ParentName
set => this.Set((int)WixBundleSymbolFields.ParentName, value);
}
+ public string BundleCode
+ {
+ get => (string)this.Fields[(int)WixBundleSymbolFields.BundleCode];
+ set => this.Set((int)WixBundleSymbolFields.BundleCode, value);
+ }
+
+ [Obsolete("Use BundleCode instead.")]
public string BundleId
{
- get => (string)this.Fields[(int)WixBundleSymbolFields.BundleId];
- set => this.Set((int)WixBundleSymbolFields.BundleId, value);
+ get => (string)this.Fields[(int)WixBundleSymbolFields.BundleCode];
+ set => this.Set((int)WixBundleSymbolFields.BundleCode, value);
}
public string ProviderKey
diff --git a/src/api/wix/WixToolset.Data/Symbols/WixRelatedBundleSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/WixRelatedBundleSymbol.cs
index dc544e295..02db0da44 100644
--- a/src/api/wix/WixToolset.Data/Symbols/WixRelatedBundleSymbol.cs
+++ b/src/api/wix/WixToolset.Data/Symbols/WixRelatedBundleSymbol.cs
@@ -10,7 +10,7 @@ public static partial class SymbolDefinitions
SymbolDefinitionType.WixRelatedBundle,
new[]
{
- new IntermediateFieldDefinition(nameof(WixRelatedBundleSymbolFields.BundleId), IntermediateFieldType.String),
+ new IntermediateFieldDefinition(nameof(WixRelatedBundleSymbolFields.BundleCode), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixRelatedBundleSymbolFields.Action), IntermediateFieldType.Number),
},
typeof(WixRelatedBundleSymbol));
@@ -19,9 +19,13 @@ public static partial class SymbolDefinitions
namespace WixToolset.Data.Symbols
{
+ using System;
+
public enum WixRelatedBundleSymbolFields
{
- BundleId,
+ BundleCode,
+ [Obsolete("Use BundleCode instead.")]
+ BundleId = BundleCode,
Action,
}
@@ -45,10 +49,17 @@ public WixRelatedBundleSymbol(SourceLineNumber sourceLineNumber, Identifier id =
public IntermediateField this[WixRelatedBundleSymbolFields index] => this.Fields[(int)index];
+ public string BundleCode
+ {
+ get => (string)this.Fields[(int)WixRelatedBundleSymbolFields.BundleCode];
+ set => this.Set((int)WixRelatedBundleSymbolFields.BundleCode, value);
+ }
+
+ [Obsolete("Use BundleCode instead.")]
public string BundleId
{
- get => (string)this.Fields[(int)WixRelatedBundleSymbolFields.BundleId];
- set => this.Set((int)WixRelatedBundleSymbolFields.BundleId, value);
+ get => (string)this.Fields[(int)WixRelatedBundleSymbolFields.BundleCode];
+ set => this.Set((int)WixRelatedBundleSymbolFields.BundleCode, value);
}
public RelatedBundleActionType Action
@@ -57,4 +68,4 @@ public RelatedBundleActionType Action
set => this.Set((int)WixRelatedBundleSymbolFields.Action, (int)value);
}
}
-}
\ No newline at end of file
+}
diff --git a/src/burn/engine/EngineForExtension.cpp b/src/burn/engine/EngineForExtension.cpp
index e19cb802d..3f7db0d42 100644
--- a/src/burn/engine/EngineForExtension.cpp
+++ b/src/burn/engine/EngineForExtension.cpp
@@ -213,7 +213,7 @@ static HRESULT BEEngineGetRelatedBundleVariable(
ValidateMessageArgs(hr, pvArgs, BOOTSTRAPPER_EXTENSION_ENGINE_GETRELATEDBUNDLEVARIABLE_ARGS, pArgs);
ValidateMessageResults(hr, pvResults, BOOTSTRAPPER_EXTENSION_ENGINE_GETRELATEDBUNDLEVARIABLE_RESULTS, pResults);
- hr = ExternalEngineGetRelatedBundleVariable(pContext->pEngineState, pArgs->wzBundleId, pArgs->wzVariable, pResults->wzValue, &pResults->cchValue);
+ hr = ExternalEngineGetRelatedBundleVariable(pContext->pEngineState, pArgs->wzBundleCode, pArgs->wzVariable, pResults->wzValue, &pResults->cchValue);
LExit:
return hr;
diff --git a/src/burn/engine/apply.cpp b/src/burn/engine/apply.cpp
index 0f65b0ad1..e4e76a6c8 100644
--- a/src/burn/engine/apply.cpp
+++ b/src/burn/engine/apply.cpp
@@ -452,7 +452,7 @@ extern "C" HRESULT ApplyRegister(
if (pEngineState->registration.fPerMachine)
{
- hr = ElevationSessionBegin(pEngineState->companionConnection.hPipe, sczEngineWorkingPath, pEngineState->registration.sczResumeCommandLine, pEngineState->registration.fDisableResume, &pEngineState->variables, pEngineState->plan.dwRegistrationOperations, pEngineState->registration.fDetectedForeignProviderKeyBundleId, qwEstimatedSize, registrationType);
+ hr = ElevationSessionBegin(pEngineState->companionConnection.hPipe, sczEngineWorkingPath, pEngineState->registration.sczResumeCommandLine, pEngineState->registration.fDisableResume, &pEngineState->variables, pEngineState->plan.dwRegistrationOperations, pEngineState->registration.fDetectedForeignProviderKeyBundleCode, qwEstimatedSize, registrationType);
ExitOnFailure(hr, "Failed to begin registration session in per-machine process.");
}
else
@@ -548,7 +548,7 @@ extern "C" HRESULT ApplyUnregister(
if (pEngineState->registration.fPerMachine)
{
- hr = ElevationSessionEnd(pEngineState->companionConnection.hPipe, resumeMode, restart, pEngineState->registration.fDetectedForeignProviderKeyBundleId, qwEstimatedSize, registrationType);
+ hr = ElevationSessionEnd(pEngineState->companionConnection.hPipe, resumeMode, restart, pEngineState->registration.fDetectedForeignProviderKeyBundleCode, qwEstimatedSize, registrationType);
ExitOnFailure(hr, "Failed to end session in per-machine process.");
}
else
diff --git a/src/burn/engine/bacallback.cpp b/src/burn/engine/bacallback.cpp
index f4e6894d0..72ca27ea4 100644
--- a/src/burn/engine/bacallback.cpp
+++ b/src/burn/engine/bacallback.cpp
@@ -2120,7 +2120,7 @@ EXTERN_C HRESULT BACallbackOnDetectComplete(
EXTERN_C HRESULT BACallbackOnDetectForwardCompatibleBundle(
__in BURN_USER_EXPERIENCE* pUserExperience,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BOOTSTRAPPER_RELATION_TYPE relationType,
__in_z LPCWSTR wzBundleTag,
__in BOOL fPerMachine,
@@ -2138,7 +2138,7 @@ EXTERN_C HRESULT BACallbackOnDetectForwardCompatibleBundle(
// Init structs.
args.dwApiVersion = WIX_5_BOOTSTRAPPER_APPLICATION_API_VERSION;
- args.wzBundleId = wzBundleId;
+ args.wzBundleCode = wzBundleCode;
args.relationType = relationType;
args.wzBundleTag = wzBundleTag;
args.fPerMachine = fPerMachine;
@@ -2151,8 +2151,8 @@ EXTERN_C HRESULT BACallbackOnDetectForwardCompatibleBundle(
hr = BuffWriteNumberToBuffer(&bufferArgs, args.dwApiVersion);
ExitOnFailure(hr, "Failed to write API version of OnDetectForwardCompatibleBundle args.");
- hr = BuffWriteStringToBuffer(&bufferArgs, args.wzBundleId);
- ExitOnFailure(hr, "Failed to write bundle id of OnDetectForwardCompatibleBundle args.");
+ hr = BuffWriteStringToBuffer(&bufferArgs, args.wzBundleCode);
+ ExitOnFailure(hr, "Failed to write bundle code of OnDetectForwardCompatibleBundle args.");
hr = BuffWriteNumberToBuffer(&bufferArgs, args.relationType);
ExitOnFailure(hr, "Failed to write relation type of OnDetectForwardCompatibleBundle args.");
@@ -2393,7 +2393,7 @@ EXTERN_C HRESULT BACallbackOnDetectPackageComplete(
EXTERN_C HRESULT BACallbackOnDetectRelatedBundle(
__in BURN_USER_EXPERIENCE* pUserExperience,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BOOTSTRAPPER_RELATION_TYPE relationType,
__in_z LPCWSTR wzBundleTag,
__in BOOL fPerMachine,
@@ -2411,7 +2411,7 @@ EXTERN_C HRESULT BACallbackOnDetectRelatedBundle(
// Init structs.
args.dwApiVersion = WIX_5_BOOTSTRAPPER_APPLICATION_API_VERSION;
- args.wzBundleId = wzBundleId;
+ args.wzBundleCode = wzBundleCode;
args.relationType = relationType;
args.wzBundleTag = wzBundleTag;
args.fPerMachine = fPerMachine;
@@ -2424,8 +2424,8 @@ EXTERN_C HRESULT BACallbackOnDetectRelatedBundle(
hr = BuffWriteNumberToBuffer(&bufferArgs, args.dwApiVersion);
ExitOnFailure(hr, "Failed to write API version of OnDetectRelatedBundle args.");
- hr = BuffWriteStringToBuffer(&bufferArgs, args.wzBundleId);
- ExitOnFailure(hr, "Failed to write bundle id of OnDetectRelatedBundle args.");
+ hr = BuffWriteStringToBuffer(&bufferArgs, args.wzBundleCode);
+ ExitOnFailure(hr, "Failed to write bundle code of OnDetectRelatedBundle args.");
hr = BuffWriteNumberToBuffer(&bufferArgs, args.relationType);
ExitOnFailure(hr, "Failed to write relation type of OnDetectRelatedBundle args.");
@@ -2478,7 +2478,7 @@ EXTERN_C HRESULT BACallbackOnDetectRelatedBundle(
EXTERN_C HRESULT BACallbackOnDetectRelatedBundlePackage(
__in BURN_USER_EXPERIENCE* pUserExperience,
__in_z LPCWSTR wzPackageId,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BOOTSTRAPPER_RELATION_TYPE relationType,
__in BOOL fPerMachine,
__in VERUTIL_VERSION* pVersion
@@ -2495,7 +2495,7 @@ EXTERN_C HRESULT BACallbackOnDetectRelatedBundlePackage(
// Init structs.
args.dwApiVersion = WIX_5_BOOTSTRAPPER_APPLICATION_API_VERSION;
args.wzPackageId = wzPackageId;
- args.wzBundleId = wzBundleId;
+ args.wzBundleCode = wzBundleCode;
args.relationType = relationType;
args.fPerMachine = fPerMachine;
args.wzVersion = pVersion->sczVersion;
@@ -2509,8 +2509,8 @@ EXTERN_C HRESULT BACallbackOnDetectRelatedBundlePackage(
hr = BuffWriteStringToBuffer(&bufferArgs, args.wzPackageId);
ExitOnFailure(hr, "Failed to write package id of OnDetectRelatedBundlePackage args.");
- hr = BuffWriteStringToBuffer(&bufferArgs, args.wzBundleId);
- ExitOnFailure(hr, "Failed to write bundle id of OnDetectRelatedBundlePackage args.");
+ hr = BuffWriteStringToBuffer(&bufferArgs, args.wzBundleCode);
+ ExitOnFailure(hr, "Failed to write bundle code of OnDetectRelatedBundlePackage args.");
hr = BuffWriteNumberToBuffer(&bufferArgs, args.relationType);
ExitOnFailure(hr, "Failed to write relation type of OnDetectRelatedBundlePackage args.");
@@ -4315,7 +4315,7 @@ EXTERN_C HRESULT BACallbackOnPlanComplete(
EXTERN_C HRESULT BACallbackOnPlanForwardCompatibleBundle(
__in BURN_USER_EXPERIENCE* pUserExperience,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BOOTSTRAPPER_RELATION_TYPE relationType,
__in_z LPCWSTR wzBundleTag,
__in BOOL fPerMachine,
@@ -4333,7 +4333,7 @@ EXTERN_C HRESULT BACallbackOnPlanForwardCompatibleBundle(
// Init structs.
args.dwApiVersion = WIX_5_BOOTSTRAPPER_APPLICATION_API_VERSION;
- args.wzBundleId = wzBundleId;
+ args.wzBundleCode = wzBundleCode;
args.relationType = relationType;
args.wzBundleTag = wzBundleTag;
args.fPerMachine = fPerMachine;
@@ -4347,8 +4347,8 @@ EXTERN_C HRESULT BACallbackOnPlanForwardCompatibleBundle(
hr = BuffWriteNumberToBuffer(&bufferArgs, args.dwApiVersion);
ExitOnFailure(hr, "Failed to write API version of OnPlanForwardCompatibleBundle args.");
- hr = BuffWriteStringToBuffer(&bufferArgs, args.wzBundleId);
- ExitOnFailure(hr, "Failed to write bundle id of OnPlanForwardCompatibleBundle args.");
+ hr = BuffWriteStringToBuffer(&bufferArgs, args.wzBundleCode);
+ ExitOnFailure(hr, "Failed to write bundle code of OnPlanForwardCompatibleBundle args.");
hr = BuffWriteNumberToBuffer(&bufferArgs, args.relationType);
ExitOnFailure(hr, "Failed to write relation type of OnPlanForwardCompatibleBundle args.");
@@ -4806,7 +4806,7 @@ EXTERN_C HRESULT BACallbackOnPlanPackageComplete(
EXTERN_C HRESULT BACallbackOnPlanRelatedBundle(
__in BURN_USER_EXPERIENCE* pUserExperience,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__inout BOOTSTRAPPER_REQUEST_STATE* pRequestedState
)
{
@@ -4820,7 +4820,7 @@ EXTERN_C HRESULT BACallbackOnPlanRelatedBundle(
// Init structs.
args.dwApiVersion = WIX_5_BOOTSTRAPPER_APPLICATION_API_VERSION;
- args.wzBundleId = wzBundleId;
+ args.wzBundleCode = wzBundleCode;
args.recommendedState = *pRequestedState;
results.dwApiVersion = WIX_5_BOOTSTRAPPER_APPLICATION_API_VERSION;
@@ -4830,8 +4830,8 @@ EXTERN_C HRESULT BACallbackOnPlanRelatedBundle(
hr = BuffWriteNumberToBuffer(&bufferArgs, args.dwApiVersion);
ExitOnFailure(hr, "Failed to write API version of OnPlanRelatedBundle args.");
- hr = BuffWriteStringToBuffer(&bufferArgs, args.wzBundleId);
- ExitOnFailure(hr, "Failed to write bundle id of OnPlanRelatedBundle args.");
+ hr = BuffWriteStringToBuffer(&bufferArgs, args.wzBundleCode);
+ ExitOnFailure(hr, "Failed to write bundle code of OnPlanRelatedBundle args.");
hr = BuffWriteNumberToBuffer(&bufferArgs, args.recommendedState);
ExitOnFailure(hr, "Failed to write recommended state of OnPlanRelatedBundle args.");
@@ -4879,7 +4879,7 @@ EXTERN_C HRESULT BACallbackOnPlanRelatedBundle(
EXTERN_C HRESULT BACallbackOnPlanRelatedBundleType(
__in BURN_USER_EXPERIENCE* pUserExperience,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__inout BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE* pRequestedType
)
{
@@ -4893,7 +4893,7 @@ EXTERN_C HRESULT BACallbackOnPlanRelatedBundleType(
// Init structs.
args.dwApiVersion = WIX_5_BOOTSTRAPPER_APPLICATION_API_VERSION;
- args.wzBundleId = wzBundleId;
+ args.wzBundleCode = wzBundleCode;
args.recommendedType = *pRequestedType;
results.dwApiVersion = WIX_5_BOOTSTRAPPER_APPLICATION_API_VERSION;
@@ -4903,8 +4903,8 @@ EXTERN_C HRESULT BACallbackOnPlanRelatedBundleType(
hr = BuffWriteNumberToBuffer(&bufferArgs, args.dwApiVersion);
ExitOnFailure(hr, "Failed to write API version of OnPlanRelatedBundleType args.");
- hr = BuffWriteStringToBuffer(&bufferArgs, args.wzBundleId);
- ExitOnFailure(hr, "Failed to write bundle id of OnPlanRelatedBundleType args.");
+ hr = BuffWriteStringToBuffer(&bufferArgs, args.wzBundleCode);
+ ExitOnFailure(hr, "Failed to write bundle code of OnPlanRelatedBundleType args.");
hr = BuffWriteNumberToBuffer(&bufferArgs, args.recommendedType);
ExitOnFailure(hr, "Failed to write recommended type of OnPlanRelatedBundleType args.");
@@ -4952,7 +4952,7 @@ EXTERN_C HRESULT BACallbackOnPlanRelatedBundleType(
EXTERN_C HRESULT BACallbackOnPlanRestoreRelatedBundle(
__in BURN_USER_EXPERIENCE* pUserExperience,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__inout BOOTSTRAPPER_REQUEST_STATE* pRequestedState
)
{
@@ -4966,7 +4966,7 @@ EXTERN_C HRESULT BACallbackOnPlanRestoreRelatedBundle(
// Init structs.
args.dwApiVersion = WIX_5_BOOTSTRAPPER_APPLICATION_API_VERSION;
- args.wzBundleId = wzBundleId;
+ args.wzBundleCode = wzBundleCode;
args.recommendedState = *pRequestedState;
results.dwApiVersion = WIX_5_BOOTSTRAPPER_APPLICATION_API_VERSION;
@@ -4976,8 +4976,8 @@ EXTERN_C HRESULT BACallbackOnPlanRestoreRelatedBundle(
hr = BuffWriteNumberToBuffer(&bufferArgs, args.dwApiVersion);
ExitOnFailure(hr, "Failed to write API version of OnPlanRestoreRelatedBundle args.");
- hr = BuffWriteStringToBuffer(&bufferArgs, args.wzBundleId);
- ExitOnFailure(hr, "Failed to write bundle id of OnPlanRestoreRelatedBundle args.");
+ hr = BuffWriteStringToBuffer(&bufferArgs, args.wzBundleCode);
+ ExitOnFailure(hr, "Failed to write bundle code of OnPlanRestoreRelatedBundle args.");
hr = BuffWriteNumberToBuffer(&bufferArgs, args.recommendedState);
ExitOnFailure(hr, "Failed to write recommended state of OnPlanRestoreRelatedBundle args.");
diff --git a/src/burn/engine/bacallback.h b/src/burn/engine/bacallback.h
index 8d1f41c41..cd363b6e2 100644
--- a/src/burn/engine/bacallback.h
+++ b/src/burn/engine/bacallback.h
@@ -193,7 +193,7 @@ HRESULT BACallbackOnDetectComplete(
);
HRESULT BACallbackOnDetectForwardCompatibleBundle(
__in BURN_USER_EXPERIENCE* pUserExperience,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BOOTSTRAPPER_RELATION_TYPE relationType,
__in_z LPCWSTR wzBundleTag,
__in BOOL fPerMachine,
@@ -219,7 +219,7 @@ HRESULT BACallbackOnDetectPackageComplete(
);
HRESULT BACallbackOnDetectRelatedBundle(
__in BURN_USER_EXPERIENCE* pUserExperience,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BOOTSTRAPPER_RELATION_TYPE relationType,
__in_z LPCWSTR wzBundleTag,
__in BOOL fPerMachine,
@@ -229,7 +229,7 @@ HRESULT BACallbackOnDetectRelatedBundle(
HRESULT BACallbackOnDetectRelatedBundlePackage(
__in BURN_USER_EXPERIENCE* pUserExperience,
__in_z LPCWSTR wzPackageId,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BOOTSTRAPPER_RELATION_TYPE relationType,
__in BOOL fPerMachine,
__in VERUTIL_VERSION* pVersion
@@ -388,7 +388,7 @@ HRESULT BACallbackOnPlanComplete(
);
HRESULT BACallbackOnPlanForwardCompatibleBundle(
__in BURN_USER_EXPERIENCE* pUserExperience,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BOOTSTRAPPER_RELATION_TYPE relationType,
__in_z LPCWSTR wzBundleTag,
__in BOOL fPerMachine,
@@ -443,17 +443,17 @@ HRESULT BACallbackOnPlanPackageComplete(
);
HRESULT BACallbackOnPlanRelatedBundle(
__in BURN_USER_EXPERIENCE* pUserExperience,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__inout BOOTSTRAPPER_REQUEST_STATE* pRequestedState
);
HRESULT BACallbackOnPlanRelatedBundleType(
__in BURN_USER_EXPERIENCE* pUserExperience,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__inout BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE* pRequestedType
);
HRESULT BACallbackOnPlanRestoreRelatedBundle(
__in BURN_USER_EXPERIENCE* pUserExperience,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__inout BOOTSTRAPPER_REQUEST_STATE* pRequestedState
);
HRESULT BACallbackOnPlanRollbackBoundary(
diff --git a/src/burn/engine/baengine.cpp b/src/burn/engine/baengine.cpp
index e63836f4d..d1704ad9e 100644
--- a/src/burn/engine/baengine.cpp
+++ b/src/burn/engine/baengine.cpp
@@ -330,7 +330,7 @@ static HRESULT BAEngineGetRelatedBundleVariable(
HRESULT hr = S_OK;
BAENGINE_GETRELATEDBUNDLEVARIABLE_ARGS args = { };
BAENGINE_GETRELATEDBUNDLEVARIABLE_RESULTS results = { };
- LPWSTR sczBundleId = NULL;
+ LPWSTR sczBundleCode = NULL;
LPWSTR sczVariable = NULL;
LPWSTR sczValue = NULL;
@@ -338,13 +338,13 @@ static HRESULT BAEngineGetRelatedBundleVariable(
hr = BuffReaderReadNumber(pReaderArgs, &args.dwApiVersion);
ExitOnFailure(hr, "Failed to read API version of BAEngineGetRelatedBundleVariable args.");
- hr = BuffReaderReadString(pReaderArgs, &sczBundleId);
- ExitOnFailure(hr, "Failed to read bundle id of BAEngineGetRelatedBundleVariable args.");
+ hr = BuffReaderReadString(pReaderArgs, &sczBundleCode);
+ ExitOnFailure(hr, "Failed to read bundle code of BAEngineGetRelatedBundleVariable args.");
hr = BuffReaderReadString(pReaderArgs, &sczVariable);
ExitOnFailure(hr, "Failed to read variable name of BAEngineGetRelatedBundleVariable args.");
- args.wzBundleId = sczBundleId;
+ args.wzBundleCode = sczBundleCode;
args.wzVariable = sczVariable;
// Read results.
@@ -355,7 +355,7 @@ static HRESULT BAEngineGetRelatedBundleVariable(
ExitOnFailure(hr, "Failed to read API version of BAEngineGetRelatedBundleVariable results.");
// Execute.
- hr = BundleGetBundleVariable(args.wzBundleId, args.wzVariable, &sczValue);
+ hr = BundleGetBundleVariable(args.wzBundleCode, args.wzVariable, &sczValue);
ExitOnFailure(hr, "Failed to get related bundle variable: %ls", sczVariable);
results.cchValue = lstrlenW(sczValue);
@@ -374,7 +374,7 @@ static HRESULT BAEngineGetRelatedBundleVariable(
LExit:
ReleaseStr(sczValue);
ReleaseStr(sczVariable);
- ReleaseStr(sczBundleId);
+ ReleaseStr(sczBundleCode);
return hr;
}
diff --git a/src/burn/engine/bundlepackageengine.cpp b/src/burn/engine/bundlepackageengine.cpp
index 902626385..612da389d 100644
--- a/src/burn/engine/bundlepackageengine.cpp
+++ b/src/burn/engine/bundlepackageengine.cpp
@@ -52,8 +52,8 @@ extern "C" HRESULT BundlePackageEngineParsePackageFromXml(
LPWSTR scz = NULL;
// @DetectCondition
- hr = XmlGetAttributeEx(pixnBundlePackage, L"BundleId", &pPackage->Bundle.sczBundleId);
- ExitOnRequiredXmlQueryFailure(hr, "Failed to get @BundleId.");
+ hr = XmlGetAttributeEx(pixnBundlePackage, L"BundleCode", &pPackage->Bundle.sczBundleCode);
+ ExitOnRequiredXmlQueryFailure(hr, "Failed to get @BundleCode.");
// @Version
hr = XmlGetAttributeEx(pixnBundlePackage, L"Version", &scz);
@@ -100,7 +100,7 @@ extern "C" HRESULT BundlePackageEngineParsePackageFromXml(
hr = ExeEngineParseCommandLineArgumentsFromXml(pixnBundlePackage, &pPackage->Bundle.rgCommandLineArguments, &pPackage->Bundle.cCommandLineArguments);
ExitOnFailure(hr, "Failed to parse command lines.");
- hr = StrAllocFormatted(&pPackage->Bundle.sczRegistrationKey, L"%ls\\%ls", BURN_REGISTRATION_REGISTRY_UNINSTALL_KEY, pPackage->Bundle.sczBundleId);
+ hr = StrAllocFormatted(&pPackage->Bundle.sczRegistrationKey, L"%ls\\%ls", BURN_REGISTRATION_REGISTRY_UNINSTALL_KEY, pPackage->Bundle.sczBundleCode);
ExitOnFailure(hr, "Failed to build uninstall registry key path.");
LExit:
@@ -126,7 +126,7 @@ extern "C" HRESULT BundlePackageEngineParseRelatedCodes(
IXMLDOMNodeList* pixnNodes = NULL;
IXMLDOMNode* pixnElement = NULL;
LPWSTR sczAction = NULL;
- LPWSTR sczId = NULL;
+ LPWSTR sczCode = NULL;
DWORD cElements = 0;
hr = XmlSelectNodes(pixnBundle, L"RelatedBundle", &pixnNodes);
@@ -143,16 +143,16 @@ extern "C" HRESULT BundlePackageEngineParseRelatedCodes(
hr = XmlGetAttributeEx(pixnElement, L"Action", &sczAction);
ExitOnFailure(hr, "Failed to get @Action.");
- hr = XmlGetAttributeEx(pixnElement, L"Id", &sczId);
- ExitOnFailure(hr, "Failed to get @Id.");
+ hr = XmlGetAttributeEx(pixnElement, L"Code", &sczCode);
+ ExitOnFailure(hr, "Failed to get @Code.");
if (CSTR_EQUAL == ::CompareStringW(LOCALE_INVARIANT, 0, sczAction, -1, L"Detect", -1))
{
hr = MemEnsureArraySizeForNewItems(reinterpret_cast(prgsczDetectCodes), *pcDetectCodes, 1, sizeof(LPWSTR), 5);
ExitOnFailure(hr, "Failed to resize Detect code array");
- (*prgsczDetectCodes)[*pcDetectCodes] = sczId;
- sczId = NULL;
+ (*prgsczDetectCodes)[*pcDetectCodes] = sczCode;
+ sczCode = NULL;
*pcDetectCodes += 1;
}
else if (CSTR_EQUAL == ::CompareStringW(LOCALE_INVARIANT, 0, sczAction, -1, L"Upgrade", -1))
@@ -160,8 +160,8 @@ extern "C" HRESULT BundlePackageEngineParseRelatedCodes(
hr = MemEnsureArraySizeForNewItems(reinterpret_cast(prgsczUpgradeCodes), *pcUpgradeCodes, 1, sizeof(LPWSTR), 5);
ExitOnFailure(hr, "Failed to resize Upgrade code array");
- (*prgsczUpgradeCodes)[*pcUpgradeCodes] = sczId;
- sczId = NULL;
+ (*prgsczUpgradeCodes)[*pcUpgradeCodes] = sczCode;
+ sczCode = NULL;
*pcUpgradeCodes += 1;
}
else if (CSTR_EQUAL == ::CompareStringW(LOCALE_INVARIANT, 0, sczAction, -1, L"Addon", -1))
@@ -169,8 +169,8 @@ extern "C" HRESULT BundlePackageEngineParseRelatedCodes(
hr = MemEnsureArraySizeForNewItems(reinterpret_cast(prgsczAddonCodes), *pcAddonCodes, 1, sizeof(LPWSTR), 5);
ExitOnFailure(hr, "Failed to resize Addon code array");
- (*prgsczAddonCodes)[*pcAddonCodes] = sczId;
- sczId = NULL;
+ (*prgsczAddonCodes)[*pcAddonCodes] = sczCode;
+ sczCode = NULL;
*pcAddonCodes += 1;
}
else if (CSTR_EQUAL == ::CompareStringW(LOCALE_INVARIANT, 0, sczAction, -1, L"Patch", -1))
@@ -178,8 +178,8 @@ extern "C" HRESULT BundlePackageEngineParseRelatedCodes(
hr = MemEnsureArraySizeForNewItems(reinterpret_cast(prgsczPatchCodes), *pcPatchCodes, 1, sizeof(LPWSTR), 5);
ExitOnFailure(hr, "Failed to resize Patch code array");
- (*prgsczPatchCodes)[*pcPatchCodes] = sczId;
- sczId = NULL;
+ (*prgsczPatchCodes)[*pcPatchCodes] = sczCode;
+ sczCode = NULL;
*pcPatchCodes += 1;
}
else
@@ -193,7 +193,7 @@ extern "C" HRESULT BundlePackageEngineParseRelatedCodes(
ReleaseObject(pixnNodes);
ReleaseObject(pixnElement);
ReleaseStr(sczAction);
- ReleaseStr(sczId);
+ ReleaseStr(sczCode);
return hr;
}
@@ -202,7 +202,7 @@ extern "C" void BundlePackageEnginePackageUninitialize(
__in BURN_PACKAGE* pPackage
)
{
- ReleaseStr(pPackage->Bundle.sczBundleId);
+ ReleaseStr(pPackage->Bundle.sczBundleCode);
ReleaseStr(pPackage->Bundle.sczArpKeyPath);
ReleaseVerutilVersion(pPackage->Bundle.pVersion);
ReleaseStr(pPackage->Bundle.sczRegistrationKey);
@@ -457,7 +457,7 @@ extern "C" HRESULT BundlePackageEnginePlanAddPackage(
pAction->bundlePackage.pPackage = pPackage;
pAction->bundlePackage.action = pPackage->rollback;
- hr = StrAllocString(&pAction->bundlePackage.sczParent, pPlan->wzBundleId, 0);
+ hr = StrAllocString(&pAction->bundlePackage.sczParent, pPlan->wzBundleCode, 0);
ExitOnFailure(hr, "Failed to allocate the parent.");
if (pPackage->Bundle.wzAncestors)
@@ -488,7 +488,7 @@ extern "C" HRESULT BundlePackageEnginePlanAddPackage(
pAction->bundlePackage.pPackage = pPackage;
pAction->bundlePackage.action = pPackage->execute;
- hr = StrAllocString(&pAction->bundlePackage.sczParent, pPlan->wzBundleId, 0);
+ hr = StrAllocString(&pAction->bundlePackage.sczParent, pPlan->wzBundleCode, 0);
ExitOnFailure(hr, "Failed to allocate the parent.");
if (pPackage->Bundle.wzAncestors)
@@ -686,7 +686,7 @@ static BUNDLE_QUERY_CALLBACK_RESULT CALLBACK QueryRelatedBundlesCallback(
BOOTSTRAPPER_RELATION_TYPE relationType = RelatedBundleConvertRelationType(pBundle->relationType);
BOOL fPerMachine = BUNDLE_INSTALL_CONTEXT_MACHINE == pBundle->installContext;
- if (CSTR_EQUAL == ::CompareStringW(LOCALE_NEUTRAL, NORM_IGNORECASE, pBundle->wzBundleId, -1, pPackage->Bundle.sczBundleId, -1) &&
+ if (CSTR_EQUAL == ::CompareStringW(LOCALE_NEUTRAL, NORM_IGNORECASE, pBundle->wzBundleCode, -1, pPackage->Bundle.sczBundleCode, -1) &&
pPackage->Bundle.fWin64 == (REG_KEY_64BIT == pBundle->regBitness))
{
Assert(BOOTSTRAPPER_RELATION_UPGRADE == relationType);
@@ -695,14 +695,14 @@ static BUNDLE_QUERY_CALLBACK_RESULT CALLBACK QueryRelatedBundlesCallback(
}
hr = RegReadString(pBundle->hkBundle, BURN_REGISTRATION_REGISTRY_BUNDLE_VERSION, &sczBundleVersion);
- ExitOnFailure(hr, "Failed to read version from registry for related bundle package: %ls", pBundle->wzBundleId);
+ ExitOnFailure(hr, "Failed to read version from registry for related bundle package: %ls", pBundle->wzBundleCode);
hr = VerParseVersion(sczBundleVersion, 0, FALSE, &pVersion);
ExitOnFailure(hr, "Failed to parse related bundle package version: %ls", sczBundleVersion);
if (pVersion->fInvalid)
{
- LogId(REPORT_WARNING, MSG_RELATED_PACKAGE_INVALID_VERSION, pBundle->wzBundleId, sczBundleVersion);
+ LogId(REPORT_WARNING, MSG_RELATED_PACKAGE_INVALID_VERSION, pBundle->wzBundleCode, sczBundleVersion);
}
if (BOOTSTRAPPER_RELATION_UPGRADE == relationType)
@@ -719,7 +719,7 @@ static BUNDLE_QUERY_CALLBACK_RESULT CALLBACK QueryRelatedBundlesCallback(
result = BUNDLE_QUERY_CALLBACK_RESULT_CANCEL;
// Pass to BA.
- hr = BACallbackOnDetectRelatedBundlePackage(pContext->pUserExperience, pPackage->sczId, pBundle->wzBundleId, relationType, fPerMachine, pVersion);
+ hr = BACallbackOnDetectRelatedBundlePackage(pContext->pUserExperience, pPackage->sczId, pBundle->wzBundleCode, relationType, fPerMachine, pVersion);
ExitOnRootFailure(hr, "BA aborted detect related BUNDLE package.");
result = BUNDLE_QUERY_CALLBACK_RESULT_CONTINUE;
@@ -1064,7 +1064,7 @@ static HRESULT DetectArpEntry(
if (!pPackage->Bundle.sczArpKeyPath)
{
- hr = PathConcatRelativeToBase(L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\", pPackage->Bundle.sczBundleId, &pPackage->Bundle.sczArpKeyPath);
+ hr = PathConcatRelativeToBase(L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\", pPackage->Bundle.sczBundleCode, &pPackage->Bundle.sczArpKeyPath);
ExitOnFailure(hr, "Failed to build full key path.");
}
diff --git a/src/burn/engine/cache.cpp b/src/burn/engine/cache.cpp
index 358327a26..5a8388c41 100644
--- a/src/burn/engine/cache.cpp
+++ b/src/burn/engine/cache.cpp
@@ -259,7 +259,7 @@ extern "C" HRESULT CacheInitializeSources(
ExitOnFailure(hr, "Failed to get current process path.");
// Determine if we are running from the package cache or not.
- hr = CacheGetCompletedPath(pCache, pRegistration->fPerMachine, pRegistration->sczId, &sczCompletedFolder);
+ hr = CacheGetCompletedPath(pCache, pRegistration->fPerMachine, pRegistration->sczCode, &sczCompletedFolder);
ExitOnFailure(hr, "Failed to get completed path for bundle.");
hr = PathConcatRelativeToFullyQualifiedBase(sczCompletedFolder, pRegistration->sczExecutableName, &sczCompletedPath);
@@ -432,7 +432,7 @@ extern "C" HRESULT CacheCalculateBundleWorkingPath(
extern "C" HRESULT CacheCalculateBundleLayoutWorkingPath(
__in BURN_CACHE* pCache,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__deref_out_z LPWSTR* psczWorkingPath
)
{
@@ -440,8 +440,8 @@ extern "C" HRESULT CacheCalculateBundleLayoutWorkingPath(
HRESULT hr = S_OK;
- hr = PathConcatRelativeToFullyQualifiedBase(pCache->sczAcquisitionFolder, wzBundleId, psczWorkingPath);
- ExitOnFailure(hr, "Failed to append bundle id for bundle layout working path.");
+ hr = PathConcatRelativeToFullyQualifiedBase(pCache->sczAcquisitionFolder, wzBundleCode, psczWorkingPath);
+ ExitOnFailure(hr, "Failed to append bundle code for bundle layout working path.");
LExit:
return hr;
@@ -978,7 +978,7 @@ extern "C" HRESULT CacheCompleteBundle(
__in BURN_CACHE* pCache,
__in BOOL fPerMachine,
__in_z LPCWSTR wzExecutableName,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_z LPCWSTR wzSourceBundlePath
#ifdef DEBUG
, __in_z LPCWSTR wzExecutablePath
@@ -990,7 +990,7 @@ extern "C" HRESULT CacheCompleteBundle(
LPWSTR sczTargetDirectory = NULL;
LPWSTR sczTargetPath = NULL;
- hr = CreateCompletedPath(pCache, fPerMachine, wzBundleId, NULL, &sczTargetDirectory);
+ hr = CreateCompletedPath(pCache, fPerMachine, wzBundleCode, NULL, &sczTargetDirectory);
ExitOnFailure(hr, "Failed to create completed cache path for bundle.");
hr = PathConcatRelativeToFullyQualifiedBase(sczTargetDirectory, wzExecutableName, &sczTargetPath);
@@ -1217,13 +1217,13 @@ extern "C" HRESULT CacheRemoveBaseWorkingFolder(
extern "C" HRESULT CacheRemoveBundle(
__in BURN_CACHE* pCache,
__in BOOL fPerMachine,
- __in_z LPCWSTR wzBundleId
+ __in_z LPCWSTR wzBundleCode
)
{
HRESULT hr = S_OK;
- hr = RemoveBundleOrPackage(pCache, TRUE, fPerMachine, wzBundleId, wzBundleId);
- ExitOnFailure(hr, "Failed to remove bundle id: %ls.", wzBundleId);
+ hr = RemoveBundleOrPackage(pCache, TRUE, fPerMachine, wzBundleCode, wzBundleCode);
+ ExitOnFailure(hr, "Failed to remove bundle code: %ls.", wzBundleCode);
LExit:
return hr;
diff --git a/src/burn/engine/cache.h b/src/burn/engine/cache.h
index 7c4dfaa1d..cce35df04 100644
--- a/src/burn/engine/cache.h
+++ b/src/burn/engine/cache.h
@@ -107,7 +107,7 @@ HRESULT CacheCalculateBundleWorkingPath(
);
HRESULT CacheCalculateBundleLayoutWorkingPath(
__in BURN_CACHE* pCache,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__deref_out_z LPWSTR* psczWorkingPath
);
HRESULT CacheCalculatePayloadWorkingPath(
@@ -191,7 +191,7 @@ HRESULT CacheCompleteBundle(
__in BURN_CACHE* pCache,
__in BOOL fPerMachine,
__in_z LPCWSTR wzExecutableName,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_z LPCWSTR wzSourceBundlePath
#ifdef DEBUG
, __in_z LPCWSTR wzExecutablePath
diff --git a/src/burn/engine/core.cpp b/src/burn/engine/core.cpp
index a85e6f188..3fe9b5863 100644
--- a/src/burn/engine/core.cpp
+++ b/src/burn/engine/core.cpp
@@ -202,12 +202,12 @@ extern "C" HRESULT CoreInitializeConstants(
// Support passing Ancestors to embedded burn bundles.
if (pInternalCommand->sczAncestors && *pInternalCommand->sczAncestors)
{
- hr = StrAllocFormatted(&pRegistration->sczBundlePackageAncestors, L"%ls;%ls", pInternalCommand->sczAncestors, pRegistration->sczId);
+ hr = StrAllocFormatted(&pRegistration->sczBundlePackageAncestors, L"%ls;%ls", pInternalCommand->sczAncestors, pRegistration->sczCode);
ExitOnFailure(hr, "Failed to copy ancestors and self to bundle package ancestors.");
}
else
{
- hr = StrAllocString(&pRegistration->sczBundlePackageAncestors, pRegistration->sczId, 0);
+ hr = StrAllocString(&pRegistration->sczBundlePackageAncestors, pRegistration->sczCode, 0);
ExitOnFailure(hr, "Failed to copy self to bundle package ancestors.");
}
@@ -330,7 +330,7 @@ extern "C" HRESULT CoreDetect(
ExitOnFailure(hr, "Failed to report detected related bundles.");
// Do update detection.
- hr = DetectUpdate(pEngineState->registration.sczId, &pEngineState->userExperience, &pEngineState->update);
+ hr = DetectUpdate(pEngineState->registration.sczCode, &pEngineState->userExperience, &pEngineState->update);
ExitOnFailure(hr, "Failed to detect update.");
// Detecting MSPs requires special initialization before processing each package but
@@ -462,8 +462,8 @@ extern "C" HRESULT CorePlan(
pEngineState->plan.pCommand = &pEngineState->command;
pEngineState->plan.pInternalCommand = &pEngineState->internalCommand;
pEngineState->plan.pPayloads = &pEngineState->payloads;
- pEngineState->plan.wzBundleId = pEngineState->registration.sczId;
- pEngineState->plan.wzBundleProviderKey = pEngineState->registration.sczId;
+ pEngineState->plan.wzBundleCode = pEngineState->registration.sczCode;
+ pEngineState->plan.wzBundleProviderKey = pEngineState->registration.sczCode;
pEngineState->plan.fDisableRollback = pEngineState->fDisableRollback || BOOTSTRAPPER_ACTION_UNSAFE_UNINSTALL == pEngineState->plan.action;
pEngineState->plan.fPlanPackageCacheRollback = BOOTSTRAPPER_REGISTRATION_TYPE_NONE == pEngineState->registration.detectedRegistrationType;
diff --git a/src/burn/engine/dependency.cpp b/src/burn/engine/dependency.cpp
index d66986800..f398a0705 100644
--- a/src/burn/engine/dependency.cpp
+++ b/src/burn/engine/dependency.cpp
@@ -200,10 +200,10 @@ extern "C" HRESULT DependencyInitialize(
HRESULT hr = S_OK;
- // If no parent was specified at all, use the bundle id as the self dependent.
+ // If no parent was specified at all, use the bundle code as the self dependent.
if (!pInternalCommand->sczActiveParent)
{
- pDependencies->wzSelfDependent = pRegistration->sczId;
+ pDependencies->wzSelfDependent = pRegistration->sczCode;
}
else if (*pInternalCommand->sczActiveParent) // if parent was specified use that as the self dependent.
{
@@ -243,30 +243,30 @@ extern "C" void DependencyUninitialize(
memset(pDependencies, 0, sizeof(BURN_DEPENDENCIES));
}
-extern "C" HRESULT DependencyDetectProviderKeyBundleId(
+extern "C" HRESULT DependencyDetectProviderKeyBundleCode(
__in BURN_REGISTRATION* pRegistration
)
{
HRESULT hr = S_OK;
- hr = DepGetProviderInformation(pRegistration->hkRoot, pRegistration->sczProviderKey, &pRegistration->sczDetectedProviderKeyBundleId, NULL, NULL);
+ hr = DepGetProviderInformation(pRegistration->hkRoot, pRegistration->sczProviderKey, &pRegistration->sczDetectedProviderKeyBundleCode, NULL, NULL);
if (E_NOTFOUND == hr)
{
- ReleaseNullStr(pRegistration->sczDetectedProviderKeyBundleId);
+ ReleaseNullStr(pRegistration->sczDetectedProviderKeyBundleCode);
ExitFunction1(hr = S_OK);
}
- ExitOnFailure(hr, "Failed to get provider key bundle id.");
+ ExitOnFailure(hr, "Failed to get provider key bundle code.");
- // If a bundle id was not explicitly set, default the provider key bundle id to this bundle's provider key.
- if (!pRegistration->sczDetectedProviderKeyBundleId || !*pRegistration->sczDetectedProviderKeyBundleId)
+ // If a bundle code was not explicitly set, default the provider key bundle code to this bundle's provider key.
+ if (!pRegistration->sczDetectedProviderKeyBundleCode || !*pRegistration->sczDetectedProviderKeyBundleCode)
{
- hr = StrAllocString(&pRegistration->sczDetectedProviderKeyBundleId, pRegistration->sczProviderKey, 0);
- ExitOnFailure(hr, "Failed to initialize provider key bundle id.");
+ hr = StrAllocString(&pRegistration->sczDetectedProviderKeyBundleCode, pRegistration->sczProviderKey, 0);
+ ExitOnFailure(hr, "Failed to initialize provider key bundle code.");
}
- else if (CSTR_EQUAL != ::CompareStringW(LOCALE_NEUTRAL, NORM_IGNORECASE, pRegistration->sczId, -1, pRegistration->sczDetectedProviderKeyBundleId, -1))
+ else if (CSTR_EQUAL != ::CompareStringW(LOCALE_NEUTRAL, NORM_IGNORECASE, pRegistration->sczCode, -1, pRegistration->sczDetectedProviderKeyBundleCode, -1))
{
- pRegistration->fDetectedForeignProviderKeyBundleId = TRUE;
- LogId(REPORT_STANDARD, MSG_DETECTED_FOREIGN_BUNDLE_PROVIDER_REGISTRATION, pRegistration->sczProviderKey, pRegistration->sczDetectedProviderKeyBundleId);
+ pRegistration->fDetectedForeignProviderKeyBundleCode = TRUE;
+ LogId(REPORT_STANDARD, MSG_DETECTED_FOREIGN_BUNDLE_PROVIDER_REGISTRATION, pRegistration->sczProviderKey, pRegistration->sczDetectedProviderKeyBundleCode);
}
LExit:
@@ -281,8 +281,8 @@ extern "C" HRESULT DependencyDetectBundle(
HRESULT hr = S_OK;
BOOL fExists = FALSE;
- hr = DependencyDetectProviderKeyBundleId(pRegistration);
- ExitOnFailure(hr, "Failed to detect provider key bundle id.");
+ hr = DependencyDetectProviderKeyBundleCode(pRegistration);
+ ExitOnFailure(hr, "Failed to detect provider key bundle code.");
hr = DepCheckDependents(pRegistration->hkRoot, pRegistration->sczProviderKey, 0, NULL, &pRegistration->rgDependents, &pRegistration->cDependents);
ExitOnPathFailure(hr, fExists, "Failed dependents check on bundle.");
@@ -794,7 +794,7 @@ extern "C" HRESULT DependencyRegisterBundle(
LogId(REPORT_VERBOSE, MSG_DEPENDENCY_BUNDLE_REGISTER, pRegistration->sczProviderKey, pRegistration->pVersion->sczVersion);
// Register the bundle provider key.
- hr = DepRegisterDependency(pRegistration->hkRoot, pRegistration->sczProviderKey, pRegistration->pVersion->sczVersion, pRegistration->sczDisplayName, pRegistration->sczId, 0);
+ hr = DepRegisterDependency(pRegistration->hkRoot, pRegistration->sczProviderKey, pRegistration->pVersion->sczVersion, pRegistration->sczDisplayName, pRegistration->sczCode, 0);
ExitOnFailure(hr, "Failed to register the bundle dependency provider.");
LExit:
@@ -835,10 +835,10 @@ extern "C" void DependencyUnregisterBundle(
)
{
HRESULT hr = S_OK;
- LPCWSTR wzDependentProviderKey = pRegistration->sczId;
+ LPCWSTR wzDependentProviderKey = pRegistration->sczCode;
// If we own the bundle dependency then remove it.
- if (!pRegistration->fDetectedForeignProviderKeyBundleId)
+ if (!pRegistration->fDetectedForeignProviderKeyBundleCode)
{
// Remove the bundle provider key.
hr = DepUnregisterDependency(pRegistration->hkRoot, pRegistration->sczProviderKey);
@@ -969,7 +969,7 @@ static HRESULT DetectPackageDependents(
{
DEPENDENCY* pDependent = pProvider->rgDependents + iDependent;
- if (CSTR_EQUAL == ::CompareStringW(LOCALE_NEUTRAL, NORM_IGNORECASE, pRegistration->sczId, -1, pDependent->sczKey, -1))
+ if (CSTR_EQUAL == ::CompareStringW(LOCALE_NEUTRAL, NORM_IGNORECASE, pRegistration->sczCode, -1, pDependent->sczKey, -1))
{
pProvider->fBundleRegisteredAsDependent = TRUE;
fBundleRegisteredAsDependent = TRUE;
diff --git a/src/burn/engine/dependency.h b/src/burn/engine/dependency.h
index b5e4050fe..d539e9b58 100644
--- a/src/burn/engine/dependency.h
+++ b/src/burn/engine/dependency.h
@@ -55,12 +55,12 @@ void DependencyUninitialize(
);
/********************************************************************
- DependencyDetectProviderKeyBundleId - Detect if the provider key is
+ DependencyDetectProviderKeyBundleCode - Detect if the provider key is
registered and if so what bundle is registered.
Note: Returns E_NOTFOUND if the provider key is not registered.
*********************************************************************/
-HRESULT DependencyDetectProviderKeyBundleId(
+HRESULT DependencyDetectProviderKeyBundleCode(
__in BURN_REGISTRATION* pRegistration
);
diff --git a/src/burn/engine/detect.cpp b/src/burn/engine/detect.cpp
index 18820c5d2..08f6b57c5 100644
--- a/src/burn/engine/detect.cpp
+++ b/src/burn/engine/detect.cpp
@@ -18,13 +18,13 @@ static HRESULT WINAPI AuthenticationRequired(
);
static HRESULT DetectAtomFeedUpdate(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BURN_USER_EXPERIENCE* pUX,
__in BURN_UPDATE* pUpdate
);
static HRESULT DownloadUpdateFeed(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BURN_USER_EXPERIENCE* pUX,
__in BURN_UPDATE* pUpdate,
__deref_inout_z LPWSTR* psczTempFile
@@ -38,8 +38,8 @@ extern "C" void DetectReset(
)
{
RelatedBundlesUninitialize(&pRegistration->relatedBundles);
- ReleaseNullStr(pRegistration->sczDetectedProviderKeyBundleId);
- pRegistration->fDetectedForeignProviderKeyBundleId = FALSE;
+ ReleaseNullStr(pRegistration->sczDetectedProviderKeyBundleCode);
+ pRegistration->fDetectedForeignProviderKeyBundleCode = FALSE;
pRegistration->fSelfRegisteredAsDependent = FALSE;
pRegistration->fParentRegisteredAsDependent = FALSE;
pRegistration->fForwardCompatibleBundleExists = FALSE;
@@ -123,14 +123,14 @@ extern "C" HRESULT DetectForwardCompatibleBundles(
HRESULT hr = S_OK;
int nCompareResult = 0;
- if (pRegistration->fDetectedForeignProviderKeyBundleId)
+ if (pRegistration->fDetectedForeignProviderKeyBundleCode)
{
for (DWORD iRelatedBundle = 0; iRelatedBundle < pRegistration->relatedBundles.cRelatedBundles; ++iRelatedBundle)
{
BURN_RELATED_BUNDLE* pRelatedBundle = pRegistration->relatedBundles.rgRelatedBundles + iRelatedBundle;
if (BOOTSTRAPPER_RELATION_UPGRADE == pRelatedBundle->detectRelationType &&
- CSTR_EQUAL == ::CompareStringW(LOCALE_NEUTRAL, NORM_IGNORECASE, pRegistration->sczDetectedProviderKeyBundleId, -1, pRelatedBundle->package.sczId, -1))
+ CSTR_EQUAL == ::CompareStringW(LOCALE_NEUTRAL, NORM_IGNORECASE, pRegistration->sczDetectedProviderKeyBundleCode, -1, pRelatedBundle->package.sczId, -1))
{
hr = VerCompareParsedVersions(pRegistration->pVersion, pRelatedBundle->pVersion, &nCompareResult);
ExitOnFailure(hr, "Failed to compare bundle version '%ls' to related bundle version '%ls'", pRegistration->pVersion->sczVersion, pRelatedBundle->pVersion->sczVersion);
@@ -201,7 +201,7 @@ extern "C" HRESULT DetectReportRelatedBundles(
}
extern "C" HRESULT DetectUpdate(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BURN_USER_EXPERIENCE* pUX,
__in BURN_UPDATE* pUpdate
)
@@ -228,7 +228,7 @@ extern "C" HRESULT DetectUpdate(
if (!fSkip)
{
- hr = DetectAtomFeedUpdate(wzBundleId, pUX, pUpdate);
+ hr = DetectAtomFeedUpdate(wzBundleCode, pUX, pUpdate);
ExitOnFailure(hr, "Failed to detect atom feed update.");
}
@@ -306,7 +306,7 @@ static HRESULT WINAPI AuthenticationRequired(
}
static HRESULT DownloadUpdateFeed(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BURN_USER_EXPERIENCE* pUX,
__in BURN_UPDATE* pUpdate,
__deref_inout_z LPWSTR* psczTempFile
@@ -334,7 +334,7 @@ static HRESULT DownloadUpdateFeed(
cacheCallback.pv = NULL; //pProgress;
authenticationData.pUX = pUX;
- authenticationData.wzPackageOrContainerId = wzBundleId;
+ authenticationData.wzPackageOrContainerId = wzBundleCode;
authenticationCallback.pv = static_cast(&authenticationData);
authenticationCallback.pfnAuthenticate = &AuthenticationRequired;
@@ -364,7 +364,7 @@ static HRESULT DownloadUpdateFeed(
static HRESULT DetectAtomFeedUpdate(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BURN_USER_EXPERIENCE* pUX,
__in BURN_UPDATE* pUpdate
)
@@ -385,7 +385,7 @@ static HRESULT DetectAtomFeedUpdate(
hr = AtomInitialize();
ExitOnFailure(hr, "Failed to initialize Atom.");
- hr = DownloadUpdateFeed(wzBundleId, pUX, pUpdate, &sczUpdateFeedTempFile);
+ hr = DownloadUpdateFeed(wzBundleCode, pUX, pUpdate, &sczUpdateFeedTempFile);
ExitOnFailure(hr, "Failed to download update feed.");
hr = AtomParseFromFile(sczUpdateFeedTempFile, &pAtomFeed);
diff --git a/src/burn/engine/detect.h b/src/burn/engine/detect.h
index cdca2777d..a0562ba25 100644
--- a/src/burn/engine/detect.h
+++ b/src/burn/engine/detect.h
@@ -33,7 +33,7 @@ HRESULT DetectReportRelatedBundles(
);
HRESULT DetectUpdate(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BURN_USER_EXPERIENCE* pUX,
__in BURN_UPDATE* pUpdate
);
diff --git a/src/burn/engine/elevation.cpp b/src/burn/engine/elevation.cpp
index 924d21845..85d5a5434 100644
--- a/src/burn/engine/elevation.cpp
+++ b/src/burn/engine/elevation.cpp
@@ -556,7 +556,7 @@ extern "C" HRESULT ElevationSessionBegin(
__in BOOL fDisableResume,
__in BURN_VARIABLES* pVariables,
__in DWORD dwRegistrationOperations,
- __in BOOL fDetectedForeignProviderKeyBundleId,
+ __in BOOL fDetectedForeignProviderKeyBundleCode,
__in DWORD64 qwEstimatedSize,
__in BOOTSTRAPPER_REGISTRATION_TYPE registrationType
)
@@ -579,7 +579,7 @@ extern "C" HRESULT ElevationSessionBegin(
hr = BuffWriteNumber(&pbData, &cbData, dwRegistrationOperations);
ExitOnFailure(hr, "Failed to write registration operations to message buffer.");
- hr = BuffWriteNumber(&pbData, &cbData, (DWORD)fDetectedForeignProviderKeyBundleId);
+ hr = BuffWriteNumber(&pbData, &cbData, (DWORD)fDetectedForeignProviderKeyBundleCode);
ExitOnFailure(hr, "Failed to write dependency registration action to message buffer.");
hr = BuffWriteNumber64(&pbData, &cbData, qwEstimatedSize);
@@ -611,7 +611,7 @@ extern "C" HRESULT ElevationSessionEnd(
__in HANDLE hPipe,
__in BURN_RESUME_MODE resumeMode,
__in BOOTSTRAPPER_APPLY_RESTART restart,
- __in BOOL fDetectedForeignProviderKeyBundleId,
+ __in BOOL fDetectedForeignProviderKeyBundleCode,
__in DWORD64 qwEstimatedSize,
__in BOOTSTRAPPER_REGISTRATION_TYPE registrationType
)
@@ -628,7 +628,7 @@ extern "C" HRESULT ElevationSessionEnd(
hr = BuffWriteNumber(&pbData, &cbData, (DWORD)restart);
ExitOnFailure(hr, "Failed to write restart enum to message buffer.");
- hr = BuffWriteNumber(&pbData, &cbData, (DWORD)fDetectedForeignProviderKeyBundleId);
+ hr = BuffWriteNumber(&pbData, &cbData, (DWORD)fDetectedForeignProviderKeyBundleCode);
ExitOnFailure(hr, "Failed to write dependency registration action to message buffer.");
hr = BuffWriteNumber64(&pbData, &cbData, qwEstimatedSize);
@@ -821,8 +821,8 @@ extern "C" HRESULT ElevationProcessDependentRegistration(
hr = BuffWriteNumber(&pbData, &cbData, pAction->type);
ExitOnFailure(hr, "Failed to write action type to message buffer.");
- hr = BuffWriteString(&pbData, &cbData, pAction->sczBundleId);
- ExitOnFailure(hr, "Failed to write bundle id to message buffer.");
+ hr = BuffWriteString(&pbData, &cbData, pAction->sczBundleCode);
+ ExitOnFailure(hr, "Failed to write bundle code to message buffer.");
hr = BuffWriteString(&pbData, &cbData, pAction->sczDependentProviderKey);
ExitOnFailure(hr, "Failed to write dependent provider key to message buffer.");
@@ -2559,7 +2559,7 @@ static HRESULT OnSessionBegin(
hr = BuffReadNumber(pbData, cbData, &iData, &dwRegistrationOperations);
ExitOnFailure(hr, "Failed to read registration operations.");
- hr = BuffReadNumber(pbData, cbData, &iData, (DWORD*)&pRegistration->fDetectedForeignProviderKeyBundleId);
+ hr = BuffReadNumber(pbData, cbData, &iData, (DWORD*)&pRegistration->fDetectedForeignProviderKeyBundleCode);
ExitOnFailure(hr, "Failed to read dependency registration action.");
hr = BuffReadNumber64(pbData, cbData, &iData, &qwEstimatedSize);
@@ -2604,7 +2604,7 @@ static HRESULT OnSessionEnd(
hr = BuffReadNumber(pbData, cbData, &iData, &dwRestart);
ExitOnFailure(hr, "Failed to read restart enum.");
- hr = BuffReadNumber(pbData, cbData, &iData, (DWORD*)&pRegistration->fDetectedForeignProviderKeyBundleId);
+ hr = BuffReadNumber(pbData, cbData, &iData, (DWORD*)&pRegistration->fDetectedForeignProviderKeyBundleCode);
ExitOnFailure(hr, "Failed to read dependency registration action.");
hr = BuffReadNumber64(pbData, cbData, &iData, &qwEstimatedSize);
@@ -2810,8 +2810,8 @@ static HRESULT OnProcessDependentRegistration(
hr = BuffReadNumber(pbData, cbData, &iData, (DWORD*)&action.type);
ExitOnFailure(hr, "Failed to read action type.");
- hr = BuffReadString(pbData, cbData, &iData, &action.sczBundleId);
- ExitOnFailure(hr, "Failed to read bundle id.");
+ hr = BuffReadString(pbData, cbData, &iData, &action.sczBundleCode);
+ ExitOnFailure(hr, "Failed to read bundle code.");
hr = BuffReadString(pbData, cbData, &iData, &action.sczDependentProviderKey);
ExitOnFailure(hr, "Failed to read dependent provider key.");
@@ -2824,7 +2824,7 @@ static HRESULT OnProcessDependentRegistration(
// TODO: do the right thing here.
//DependencyUninitializeRegistrationAction(&action);
ReleaseStr(action.sczDependentProviderKey);
- ReleaseStr(action.sczBundleId)
+ ReleaseStr(action.sczBundleCode)
return hr;
}
@@ -2854,7 +2854,7 @@ static HRESULT OnExecuteRelatedBundle(
// Deserialize message data.
hr = BuffReadString(pbData, cbData, &iData, &sczPackage);
- ExitOnFailure(hr, "Failed to read related bundle id.");
+ ExitOnFailure(hr, "Failed to read related bundle code.");
hr = BuffReadNumber(pbData, cbData, &iData, (DWORD*)&executeAction.relatedBundle.action);
ExitOnFailure(hr, "Failed to read action.");
diff --git a/src/burn/engine/elevation.h b/src/burn/engine/elevation.h
index 020199779..04ad244c4 100644
--- a/src/burn/engine/elevation.h
+++ b/src/burn/engine/elevation.h
@@ -29,7 +29,7 @@ HRESULT ElevationSessionBegin(
__in BOOL fDisableResume,
__in BURN_VARIABLES* pVariables,
__in DWORD dwRegistrationOperations,
- __in BOOL fDetectedForeignProviderKeyBundleId,
+ __in BOOL fDetectedForeignProviderKeyBundleCode,
__in DWORD64 qwEstimatedSize,
__in BOOTSTRAPPER_REGISTRATION_TYPE registrationType
);
@@ -37,7 +37,7 @@ HRESULT ElevationSessionEnd(
__in HANDLE hPipe,
__in BURN_RESUME_MODE resumeMode,
__in BOOTSTRAPPER_APPLY_RESTART restart,
- __in BOOL fDetectedForeignProviderKeyBundleId,
+ __in BOOL fDetectedForeignProviderKeyBundleCode,
__in DWORD64 qwEstimatedSize,
__in BOOTSTRAPPER_REGISTRATION_TYPE registrationType
);
diff --git a/src/burn/engine/externalengine.cpp b/src/burn/engine/externalengine.cpp
index 1c775e238..352d184cc 100644
--- a/src/burn/engine/externalengine.cpp
+++ b/src/burn/engine/externalengine.cpp
@@ -837,7 +837,7 @@ HRESULT ExternalEngineSetUpdateSource(
HRESULT ExternalEngineGetRelatedBundleVariable(
__in BURN_ENGINE_STATE* /*pEngineState*/,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_z LPCWSTR wzVariable,
__out_ecount_opt(*pcchValue) LPWSTR wzValue,
__inout SIZE_T* pcchValue
@@ -848,7 +848,7 @@ HRESULT ExternalEngineGetRelatedBundleVariable(
if (wzVariable && *wzVariable && pcchValue)
{
- hr = BundleGetBundleVariable(wzBundleId, wzVariable, &sczValue);
+ hr = BundleGetBundleVariable(wzBundleCode, wzVariable, &sczValue);
if (SUCCEEDED(hr))
{
hr = CopyStringToExternal(sczValue, wzValue, pcchValue);
diff --git a/src/burn/engine/externalengine.h b/src/burn/engine/externalengine.h
index 3569392de..9b95e645e 100644
--- a/src/burn/engine/externalengine.h
+++ b/src/burn/engine/externalengine.h
@@ -133,7 +133,7 @@ HRESULT ExternalEngineCompareVersions(
HRESULT ExternalEngineGetRelatedBundleVariable(
__in BURN_ENGINE_STATE* pEngineState,
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_z LPCWSTR wzVariable,
__out_ecount_opt(*pcchValue) LPWSTR wzValue,
__inout SIZE_T* pcchValue
diff --git a/src/burn/engine/package.h b/src/burn/engine/package.h
index 1ea169e69..d596d7c0d 100644
--- a/src/burn/engine/package.h
+++ b/src/burn/engine/package.h
@@ -323,7 +323,7 @@ typedef struct _BURN_PACKAGE
{
struct
{
- LPWSTR sczBundleId;
+ LPWSTR sczBundleCode;
LPWSTR sczArpKeyPath;
VERUTIL_VERSION* pVersion;
LPWSTR sczRegistrationKey;
diff --git a/src/burn/engine/plan.cpp b/src/burn/engine/plan.cpp
index be281827b..47b1c6212 100644
--- a/src/burn/engine/plan.cpp
+++ b/src/burn/engine/plan.cpp
@@ -74,7 +74,7 @@ static HRESULT AddRegistrationAction(
__in BURN_PLAN* pPlan,
__in BURN_DEPENDENT_REGISTRATION_ACTION_TYPE type,
__in_z LPCWSTR wzDependentProviderKey,
- __in_z LPCWSTR wzOwnerBundleId
+ __in_z LPCWSTR wzOwnerBundleCode
);
static HRESULT AddCachePackage(
__in BURN_PLAN* pPlan,
@@ -467,7 +467,7 @@ extern "C" HRESULT PlanLayoutBundle(
hr = StrAllocString(&pCacheAction->bundleLayout.sczExecutableName, wzExecutableName, 0);
ExitOnFailure(hr, "Failed to to copy executable name for bundle.");
- hr = CacheCalculateBundleLayoutWorkingPath(pPlan->pCache, pPlan->wzBundleId, &pCacheAction->bundleLayout.sczUnverifiedPath);
+ hr = CacheCalculateBundleLayoutWorkingPath(pPlan->pCache, pPlan->wzBundleCode, &pCacheAction->bundleLayout.sczUnverifiedPath);
ExitOnFailure(hr, "Failed to calculate bundle layout working path.");
pCacheAction->bundleLayout.qwBundleSize = qwBundleSize;
@@ -599,7 +599,7 @@ extern "C" HRESULT PlanRegistration(
// If our provider key was not owned by a different bundle,
// then plan to write our provider key registration to "fix it" if broken
// in case the bundle isn't successfully uninstalled.
- if (!pRegistration->fDetectedForeignProviderKeyBundleId)
+ if (!pRegistration->fDetectedForeignProviderKeyBundleCode)
{
pPlan->dwRegistrationOperations |= BURN_REGISTRATION_ACTION_OPERATIONS_WRITE_PROVIDER_KEY;
}
@@ -612,7 +612,7 @@ extern "C" HRESULT PlanRegistration(
// would prevent self-removal.
if (pRegistration->fSelfRegisteredAsDependent)
{
- hr = AddRegistrationAction(pPlan, BURN_DEPENDENT_REGISTRATION_ACTION_TYPE_UNREGISTER, pDependencies->wzSelfDependent, pRegistration->sczId);
+ hr = AddRegistrationAction(pPlan, BURN_DEPENDENT_REGISTRATION_ACTION_TYPE_UNREGISTER, pDependencies->wzSelfDependent, pRegistration->sczCode);
ExitOnFailure(hr, "Failed to allocate registration action.");
hr = DependencyAddIgnoreDependencies(sdIgnoreDependents, pDependencies->wzSelfDependent);
@@ -758,7 +758,7 @@ extern "C" HRESULT PlanRegistration(
// as our own dependent.
if (pDependencies->wzSelfDependent && !pRegistration->fSelfRegisteredAsDependent && (pDependencies->wzActiveParent || !fAddonOrPatchBundle))
{
- hr = AddRegistrationAction(pPlan, BURN_DEPENDENT_REGISTRATION_ACTION_TYPE_REGISTER, pDependencies->wzSelfDependent, pRegistration->sczId);
+ hr = AddRegistrationAction(pPlan, BURN_DEPENDENT_REGISTRATION_ACTION_TYPE_REGISTER, pDependencies->wzSelfDependent, pRegistration->sczCode);
ExitOnFailure(hr, "Failed to add registration action for self dependent.");
}
}
@@ -1439,7 +1439,7 @@ extern "C" HRESULT PlanRelatedBundlesBegin(
}
else if (E_NOTFOUND != hr)
{
- ExitOnFailure(hr, "Failed to lookup the bundle ID in the ancestors dictionary.");
+ ExitOnFailure(hr, "Failed to lookup the bundle code in the ancestors dictionary.");
}
}
else if (fDependent && BOOTSTRAPPER_RELATION_NONE != relationType)
@@ -2076,7 +2076,7 @@ static void UninitializeRegistrationAction(
)
{
ReleaseStr(pAction->sczDependentProviderKey);
- ReleaseStr(pAction->sczBundleId);
+ ReleaseStr(pAction->sczBundleCode);
memset(pAction, 0, sizeof(BURN_DEPENDENT_REGISTRATION_ACTION));
}
@@ -2271,7 +2271,7 @@ static HRESULT AddRegistrationAction(
__in BURN_PLAN* pPlan,
__in BURN_DEPENDENT_REGISTRATION_ACTION_TYPE type,
__in_z LPCWSTR wzDependentProviderKey,
- __in_z LPCWSTR wzOwnerBundleId
+ __in_z LPCWSTR wzOwnerBundleCode
)
{
HRESULT hr = S_OK;
@@ -2287,7 +2287,7 @@ static HRESULT AddRegistrationAction(
pAction->type = type;
- hr = StrAllocString(&pAction->sczBundleId, wzOwnerBundleId, 0);
+ hr = StrAllocString(&pAction->sczBundleCode, wzOwnerBundleCode, 0);
ExitOnFailure(hr, "Failed to copy owner bundle to registration action.");
hr = StrAllocString(&pAction->sczDependentProviderKey, wzDependentProviderKey, 0);
@@ -2302,7 +2302,7 @@ static HRESULT AddRegistrationAction(
pAction->type = rollbackType;
- hr = StrAllocString(&pAction->sczBundleId, wzOwnerBundleId, 0);
+ hr = StrAllocString(&pAction->sczBundleCode, wzOwnerBundleCode, 0);
ExitOnFailure(hr, "Failed to copy owner bundle to registration action.");
hr = StrAllocString(&pAction->sczDependentProviderKey, wzDependentProviderKey, 0);
@@ -2880,7 +2880,7 @@ static void DependentRegistrationActionLog(
if (wzType)
{
- LogStringLine(PlanDumpLevel, "%ls action[%u]: %ls bundle id: %ls, provider key: %ls", wzBase, iAction, wzType, pAction->sczBundleId, pAction->sczDependentProviderKey);
+ LogStringLine(PlanDumpLevel, "%ls action[%u]: %ls bundle code: %ls, provider key: %ls", wzBase, iAction, wzType, pAction->sczBundleCode, pAction->sczDependentProviderKey);
}
}
@@ -3076,7 +3076,7 @@ extern "C" void PlanDump(
LogStringLine(PlanDumpLevel, "--- Begin plan dump ---");
LogStringLine(PlanDumpLevel, "Plan action: %hs", LoggingBurnActionToString(pPlan->action));
- LogStringLine(PlanDumpLevel, " bundle id: %ls", pPlan->wzBundleId);
+ LogStringLine(PlanDumpLevel, " bundle code: %ls", pPlan->wzBundleCode);
LogStringLine(PlanDumpLevel, " bundle provider key: %ls", pPlan->wzBundleProviderKey);
LogStringLine(PlanDumpLevel, " use-forward-compatible: %hs", LoggingTrueFalseToString(pPlan->fEnabledForwardCompatibleBundle));
LogStringLine(PlanDumpLevel, " per-machine: %hs", LoggingTrueFalseToString(pPlan->fPerMachine));
diff --git a/src/burn/engine/plan.h b/src/burn/engine/plan.h
index 386de2c63..03b1423d5 100644
--- a/src/burn/engine/plan.h
+++ b/src/burn/engine/plan.h
@@ -71,7 +71,7 @@ enum BURN_CLEAN_ACTION_TYPE
typedef struct _BURN_DEPENDENT_REGISTRATION_ACTION
{
BURN_DEPENDENT_REGISTRATION_ACTION_TYPE type;
- LPWSTR sczBundleId;
+ LPWSTR sczBundleCode;
LPWSTR sczDependentProviderKey;
} BURN_DEPENDENT_REGISTRATION_ACTION;
@@ -253,7 +253,7 @@ typedef struct _BURN_PLAN
BOOTSTRAPPER_COMMAND* pCommand;
BURN_ENGINE_COMMAND* pInternalCommand;
BURN_PAYLOADS* pPayloads;
- LPWSTR wzBundleId; // points directly into parent the ENGINE_STATE.
+ LPWSTR wzBundleCode; // points directly into parent the ENGINE_STATE.
LPWSTR wzBundleProviderKey; // points directly into parent the ENGINE_STATE.
BOOL fPerMachine;
BOOL fCanAffectMachineState;
diff --git a/src/burn/engine/registration.cpp b/src/burn/engine/registration.cpp
index 771b94255..85c006f7f 100644
--- a/src/burn/engine/registration.cpp
+++ b/src/burn/engine/registration.cpp
@@ -132,9 +132,9 @@ extern "C" HRESULT RegistrationParseFromXml(
hr = XmlSelectSingleNode(pixnBundle, L"Registration", &pixnRegistrationNode);
ExitOnRequiredXmlQueryFailure(hr, "Failed to select registration node.");
- // @Id
- hr = XmlGetAttributeEx(pixnRegistrationNode, L"Id", &pRegistration->sczId);
- ExitOnRequiredXmlQueryFailure(hr, "Failed to get @Id.");
+ // @Code
+ hr = XmlGetAttributeEx(pixnRegistrationNode, L"Code", &pRegistration->sczCode);
+ ExitOnRequiredXmlQueryFailure(hr, "Failed to get @Code.");
// @Tag
hr = XmlGetAttributeEx(pixnRegistrationNode, L"Tag", &pRegistration->sczTag);
@@ -305,7 +305,7 @@ extern "C" void RegistrationUninitialize(
__in BURN_REGISTRATION* pRegistration
)
{
- ReleaseStr(pRegistration->sczId);
+ ReleaseStr(pRegistration->sczCode);
ReleaseStr(pRegistration->sczTag);
for (DWORD i = 0; i < pRegistration->cDetectCodes; ++i)
@@ -371,7 +371,7 @@ extern "C" void RegistrationUninitialize(
MemFree(pRegistration->softwareTags.rgSoftwareTags);
}
- ReleaseStr(pRegistration->sczDetectedProviderKeyBundleId);
+ ReleaseStr(pRegistration->sczDetectedProviderKeyBundleCode);
ReleaseStr(pRegistration->sczBundlePackageAncestors);
RelatedBundlesUninitialize(&pRegistration->relatedBundles);
@@ -620,7 +620,7 @@ extern "C" HRESULT RegistrationSessionBegin(
// Cache bundle executable.
if (dwRegistrationOptions & BURN_REGISTRATION_ACTION_OPERATIONS_CACHE_BUNDLE)
{
- hr = CacheCompleteBundle(pCache, pRegistration->fPerMachine, pRegistration->sczExecutableName, pRegistration->sczId, wzEngineWorkingPath
+ hr = CacheCompleteBundle(pCache, pRegistration->fPerMachine, pRegistration->sczExecutableName, pRegistration->sczCode, wzEngineWorkingPath
#ifdef DEBUG
, pRegistration->sczCacheExecutablePath
#endif
@@ -888,7 +888,7 @@ extern "C" HRESULT RegistrationSessionEnd(
hr = RegDelete(pRegistration->hkRoot, pRegistration->sczRegistrationKey, REG_KEY_DEFAULT, TRUE);
ExitOnPathFailure(hr, fDeleted, "Failed to delete registration key: %ls", pRegistration->sczRegistrationKey);
- CacheRemoveBundle(pCache, pRegistration->fPerMachine, pRegistration->sczId);
+ CacheRemoveBundle(pCache, pRegistration->fPerMachine, pRegistration->sczCode);
}
else // the mode needs to be updated so open the registration key.
{
@@ -1153,11 +1153,11 @@ static HRESULT SetPaths(
pRegistration->hkRoot = pRegistration->fPerMachine ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER;
// build uninstall registry key path
- hr = StrAllocFormatted(&pRegistration->sczRegistrationKey, L"%ls\\%ls", BURN_REGISTRATION_REGISTRY_UNINSTALL_KEY, pRegistration->sczId);
+ hr = StrAllocFormatted(&pRegistration->sczRegistrationKey, L"%ls\\%ls", BURN_REGISTRATION_REGISTRY_UNINSTALL_KEY, pRegistration->sczCode);
ExitOnFailure(hr, "Failed to build uninstall registry key path.");
// build cache directory
- hr = CacheGetCompletedPath(pCache, pRegistration->fPerMachine, pRegistration->sczId, &sczCacheDirectory);
+ hr = CacheGetCompletedPath(pCache, pRegistration->fPerMachine, pRegistration->sczCode, &sczCacheDirectory);
ExitOnFailure(hr, "Failed to build cache directory.");
// build cached executable path
@@ -1287,7 +1287,7 @@ static HRESULT UpdateResumeMode(
hr = RegCreate(pRegistration->hkRoot, sczResumeKey, KEY_WRITE, &hkRun);
ExitOnFailure(hr, "Failed to create run key.");
- hr = RegWriteString(hkRun, pRegistration->sczId, sczRunOnceCommandLine);
+ hr = RegWriteString(hkRun, pRegistration->sczCode, sczRunOnceCommandLine);
ExitOnFailure(hr, "Failed to write run key value.");
hr = RegWriteString(hkRegistration, REGISTRY_BUNDLE_RESUME_COMMAND_LINE, pRegistration->sczResumeCommandLine);
@@ -1304,7 +1304,7 @@ static HRESULT UpdateResumeMode(
{
ExitOnFailure(hr, "Failed to open run key.");
- er = ::RegDeleteValueW(hkRun, pRegistration->sczId);
+ er = ::RegDeleteValueW(hkRun, pRegistration->sczCode);
if (ERROR_FILE_NOT_FOUND == er)
{
er = ERROR_SUCCESS;
diff --git a/src/burn/engine/registration.h b/src/burn/engine/registration.h
index 91c3fdcd7..326f21c63 100644
--- a/src/burn/engine/registration.h
+++ b/src/burn/engine/registration.h
@@ -99,7 +99,7 @@ typedef struct _BURN_REGISTRATION
BOOL fDisableResume;
BOOL fCached;
BOOTSTRAPPER_REGISTRATION_TYPE detectedRegistrationType;
- LPWSTR sczId;
+ LPWSTR sczCode;
LPWSTR sczTag;
LPWSTR *rgsczDetectCodes;
@@ -155,8 +155,8 @@ typedef struct _BURN_REGISTRATION
BOOL fForwardCompatibleBundleExists; // Only valid after detect.
BOOL fEligibleForCleanup; // Only valid after detect.
- BOOL fDetectedForeignProviderKeyBundleId;
- LPWSTR sczDetectedProviderKeyBundleId;
+ BOOL fDetectedForeignProviderKeyBundleCode;
+ LPWSTR sczDetectedProviderKeyBundleCode;
LPWSTR sczBundlePackageAncestors;
} BURN_REGISTRATION;
diff --git a/src/burn/engine/relatedbundle.cpp b/src/burn/engine/relatedbundle.cpp
index 23e0f3528..938b24d73 100644
--- a/src/burn/engine/relatedbundle.cpp
+++ b/src/burn/engine/relatedbundle.cpp
@@ -30,8 +30,8 @@ static HRESULT LoadIfRelatedBundle(
__in BURN_RELATED_BUNDLES* pRelatedBundles
);
static HRESULT LoadRelatedBundleFromKey(
- __in_z LPCWSTR wzRelatedBundleId,
- __in HKEY hkBundleId,
+ __in_z LPCWSTR wzRelatedBundleCode,
+ __in HKEY hkBundleCode,
__in BOOL fPerMachine,
__in BOOTSTRAPPER_RELATION_TYPE relationType,
__in BURN_RELATED_BUNDLE *pRelatedBundle
@@ -108,7 +108,7 @@ extern "C" HRESULT RelatedBundleFindById(
HRESULT hr = S_OK;
BURN_RELATED_BUNDLE* pRelatedBundle = NULL;
BURN_PACKAGE* pPackage = NULL;
-
+
*ppRelatedBundle = NULL;
for (DWORD i = 0; i < pRelatedBundles->cRelatedBundles; ++i)
@@ -180,7 +180,7 @@ static __callback int __cdecl CompareRelatedBundlesDetect(
const BURN_RELATED_BUNDLE* pBundleLeft = static_cast(pvLeft);
const BURN_RELATED_BUNDLE* pBundleRight = static_cast(pvRight);
- // Sort by relation type, then version, then bundle id.
+ // Sort by relation type, then version, then bundle code.
if (pBundleLeft->detectRelationType != pBundleRight->detectRelationType)
{
// Upgrade bundles last, everything else according to the enum.
@@ -223,7 +223,7 @@ static __callback int __cdecl CompareRelatedBundlesPlan(
const BURN_RELATED_BUNDLE* pBundleLeft = *reinterpret_cast(const_cast(pvLeft));
const BURN_RELATED_BUNDLE* pBundleRight = *reinterpret_cast(const_cast(pvRight));
- // Sort by relation type, then version, then bundle id.
+ // Sort by relation type, then version, then bundle code.
if (pBundleLeft->planRelationType != pBundleRight->planRelationType)
{
// Upgrade bundles last, everything else according to the enum.
@@ -266,7 +266,7 @@ static BUNDLE_QUERY_CALLBACK_RESULT CALLBACK QueryRelatedBundlesCallback(
BUNDLE_QUERY_CONTEXT* pContext = reinterpret_cast(pvContext);
hr = LoadIfRelatedBundle(pBundle, pContext->pRegistration, pContext->pRelatedBundles);
- ExitOnFailure(hr, "Failed to load related bundle: %ls", pBundle->wzBundleId);
+ ExitOnFailure(hr, "Failed to load related bundle: %ls", pBundle->wzBundleCode);
LExit:
return result;
@@ -283,8 +283,8 @@ static HRESULT LoadIfRelatedBundle(
BOOTSTRAPPER_RELATION_TYPE relationType = RelatedBundleConvertRelationType(pBundle->relationType);
BURN_RELATED_BUNDLE* pRelatedBundle = NULL;
- // If we found our bundle id, it's not a related bundle.
- if (CSTR_EQUAL == ::CompareStringW(LOCALE_NEUTRAL, NORM_IGNORECASE, pBundle->wzBundleId, -1, pRegistration->sczId, -1))
+ // If we found our bundle code, it's not a related bundle.
+ if (CSTR_EQUAL == ::CompareStringW(LOCALE_NEUTRAL, NORM_IGNORECASE, pBundle->wzBundleCode, -1, pRegistration->sczCode, -1))
{
ExitFunction1(hr = S_FALSE);
}
@@ -294,8 +294,8 @@ static HRESULT LoadIfRelatedBundle(
pRelatedBundle = pRelatedBundles->rgRelatedBundles + pRelatedBundles->cRelatedBundles;
- hr = LoadRelatedBundleFromKey(pBundle->wzBundleId, pBundle->hkBundle, fPerMachine, relationType, pRelatedBundle);
- ExitOnFailure(hr, "Failed to initialize package from related bundle id: %ls", pBundle->wzBundleId);
+ hr = LoadRelatedBundleFromKey(pBundle->wzBundleCode, pBundle->hkBundle, fPerMachine, relationType, pRelatedBundle);
+ ExitOnFailure(hr, "Failed to initialize package from related bundle code: %ls", pBundle->wzBundleCode);
hr = DependencyDetectRelatedBundle(pRelatedBundle, pRegistration);
ExitOnFailure(hr, "Failed to detect dependencies for related bundle.");
@@ -307,8 +307,8 @@ static HRESULT LoadIfRelatedBundle(
}
static HRESULT LoadRelatedBundleFromKey(
- __in_z LPCWSTR wzRelatedBundleId,
- __in HKEY hkBundleId,
+ __in_z LPCWSTR wzRelatedBundleCode,
+ __in HKEY hkBundleCode,
__in BOOL fPerMachine,
__in BOOTSTRAPPER_RELATION_TYPE relationType,
__in BURN_RELATED_BUNDLE* pRelatedBundle
@@ -327,7 +327,7 @@ static HRESULT LoadRelatedBundleFromKey(
BURN_DEPENDENCY_PROVIDER* pBundleDependencyProvider = NULL;
// Only support progress from engines that are compatible.
- hr = RegReadNumber(hkBundleId, BURN_REGISTRATION_REGISTRY_ENGINE_PROTOCOL_VERSION, &dwEngineProtocolVersion);
+ hr = RegReadNumber(hkBundleCode, BURN_REGISTRATION_REGISTRY_ENGINE_PROTOCOL_VERSION, &dwEngineProtocolVersion);
if (SUCCEEDED(hr))
{
fSupportsBurnProtocol = BURN_PROTOCOL_VERSION == dwEngineProtocolVersion;
@@ -335,7 +335,7 @@ static HRESULT LoadRelatedBundleFromKey(
else
{
// Rely on version checking (aka: version greater than or equal to last protocol breaking change *and* versions that are older or the same as this engine)
- hr = RegReadVersion(hkBundleId, BURN_REGISTRATION_REGISTRY_ENGINE_VERSION, &qwEngineVersion);
+ hr = RegReadVersion(hkBundleCode, BURN_REGISTRATION_REGISTRY_ENGINE_VERSION, &qwEngineVersion);
if (SUCCEEDED(hr))
{
fSupportsBurnProtocol = (FILEMAKEVERSION(3, 6, 2221, 0) <= qwEngineVersion && qwEngineVersion <= FILEMAKEVERSION(rmj, rmm, rup, rpr));
@@ -344,19 +344,19 @@ static HRESULT LoadRelatedBundleFromKey(
hr = S_OK;
}
- hr = RegReadString(hkBundleId, BURN_REGISTRATION_REGISTRY_BUNDLE_VERSION, &sczBundleVersion);
- ExitOnFailure(hr, "Failed to read version from registry for bundle: %ls", wzRelatedBundleId);
+ hr = RegReadString(hkBundleCode, BURN_REGISTRATION_REGISTRY_BUNDLE_VERSION, &sczBundleVersion);
+ ExitOnFailure(hr, "Failed to read version from registry for bundle: %ls", wzRelatedBundleCode);
hr = VerParseVersion(sczBundleVersion, 0, FALSE, &pRelatedBundle->pVersion);
ExitOnFailure(hr, "Failed to parse pseudo bundle version: %ls", sczBundleVersion);
if (pRelatedBundle->pVersion->fInvalid)
{
- LogId(REPORT_WARNING, MSG_RELATED_PACKAGE_INVALID_VERSION, wzRelatedBundleId, sczBundleVersion);
+ LogId(REPORT_WARNING, MSG_RELATED_PACKAGE_INVALID_VERSION, wzRelatedBundleCode, sczBundleVersion);
}
- hr = RegReadString(hkBundleId, BURN_REGISTRATION_REGISTRY_BUNDLE_CACHE_PATH, &sczCachePath);
- ExitOnFailure(hr, "Failed to read cache path from registry for bundle: %ls", wzRelatedBundleId);
+ hr = RegReadString(hkBundleCode, BURN_REGISTRATION_REGISTRY_BUNDLE_CACHE_PATH, &sczCachePath);
+ ExitOnFailure(hr, "Failed to read cache path from registry for bundle: %ls", wzRelatedBundleCode);
if (FileExistsEx(sczCachePath, NULL))
{
@@ -364,13 +364,13 @@ static HRESULT LoadRelatedBundleFromKey(
}
else
{
- LogId(REPORT_STANDARD, MSG_DETECT_RELATED_BUNDLE_NOT_CACHED, wzRelatedBundleId, sczCachePath);
+ LogId(REPORT_STANDARD, MSG_DETECT_RELATED_BUNDLE_NOT_CACHED, wzRelatedBundleCode, sczCachePath);
}
pRelatedBundle->fPlannable = fCached;
- hr = RegReadString(hkBundleId, BURN_REGISTRATION_REGISTRY_BUNDLE_PROVIDER_KEY, &dependencyProvider.sczKey);
- ExitOnPathFailure(hr, fExists, "Failed to read provider key from registry for bundle: %ls", wzRelatedBundleId);
+ hr = RegReadString(hkBundleCode, BURN_REGISTRATION_REGISTRY_BUNDLE_PROVIDER_KEY, &dependencyProvider.sczKey);
+ ExitOnPathFailure(hr, fExists, "Failed to read provider key from registry for bundle: %ls", wzRelatedBundleCode);
if (dependencyProvider.sczKey && *dependencyProvider.sczKey)
{
@@ -379,23 +379,23 @@ static HRESULT LoadRelatedBundleFromKey(
dependencyProvider.fImported = TRUE;
hr = StrAllocString(&dependencyProvider.sczVersion, pRelatedBundle->pVersion->sczVersion, 0);
- ExitOnFailure(hr, "Failed to copy version for bundle: %ls", wzRelatedBundleId);
+ ExitOnFailure(hr, "Failed to copy version for bundle: %ls", wzRelatedBundleCode);
- hr = RegReadString(hkBundleId, BURN_REGISTRATION_REGISTRY_BUNDLE_DISPLAY_NAME, &dependencyProvider.sczDisplayName);
- ExitOnPathFailure(hr, fExists, "Failed to copy display name for bundle: %ls", wzRelatedBundleId);
+ hr = RegReadString(hkBundleCode, BURN_REGISTRATION_REGISTRY_BUNDLE_DISPLAY_NAME, &dependencyProvider.sczDisplayName);
+ ExitOnPathFailure(hr, fExists, "Failed to copy display name for bundle: %ls", wzRelatedBundleCode);
}
- hr = RegReadString(hkBundleId, BURN_REGISTRATION_REGISTRY_BUNDLE_TAG, &pRelatedBundle->sczTag);
- ExitOnPathFailure(hr, fExists, "Failed to read tag from registry for bundle: %ls", wzRelatedBundleId);
+ hr = RegReadString(hkBundleCode, BURN_REGISTRATION_REGISTRY_BUNDLE_TAG, &pRelatedBundle->sczTag);
+ ExitOnPathFailure(hr, fExists, "Failed to read tag from registry for bundle: %ls", wzRelatedBundleCode);
pRelatedBundle->detectRelationType = relationType;
- hr = PseudoBundleInitializeRelated(&pRelatedBundle->package, fSupportsBurnProtocol, fPerMachine, wzRelatedBundleId,
+ hr = PseudoBundleInitializeRelated(&pRelatedBundle->package, fSupportsBurnProtocol, fPerMachine, wzRelatedBundleCode,
#ifdef DEBUG
pRelatedBundle->detectRelationType,
#endif
fCached, sczCachePath, qwFileSize, pBundleDependencyProvider);
- ExitOnFailure(hr, "Failed to initialize related bundle to represent bundle: %ls", wzRelatedBundleId);
+ ExitOnFailure(hr, "Failed to initialize related bundle to represent bundle: %ls", wzRelatedBundleCode);
LExit:
DependencyUninitializeProvider(&dependencyProvider);
diff --git a/src/burn/engine/section.cpp b/src/burn/engine/section.cpp
index fd3ce92cc..f7c508f3e 100644
--- a/src/burn/engine/section.cpp
+++ b/src/burn/engine/section.cpp
@@ -9,7 +9,7 @@ typedef struct _BURN_SECTION_HEADER
DWORD dwMagic;
DWORD dwVersion;
- GUID guidBundleId;
+ GUID guidBundleCode;
DWORD dwStubSize;
DWORD dwOriginalChecksum;
@@ -235,7 +235,7 @@ extern "C" HRESULT SectionInitialize(
memcpy(pSection->rgcbContainers, pBurnSectionHeader->rgcbContainers, sizeof(DWORD) * pSection->cContainers);
// TODO: verify more than just the GUID.
- hr = VerifySectionMatchesMemoryPEHeader(pBurnSectionHeader->guidBundleId);
+ hr = VerifySectionMatchesMemoryPEHeader(pBurnSectionHeader->guidBundleCode);
ExitOnRootFailure(hr, "PE Header from file didn't match PE Header in memory.");
LExit:
@@ -299,7 +299,7 @@ extern "C" HRESULT SectionGetAttachedContainerInfo(
}
HRESULT VerifySectionMatchesMemoryPEHeader(
- __in REFGUID pBundleId
+ __in REFGUID pBundleCode
)
{
HRESULT hr = S_OK;
@@ -382,7 +382,7 @@ HRESULT VerifySectionMatchesMemoryPEHeader(
ExitOnRootFailure(hr, "Failed to read section info, unsupported version: %08x", pBurnSectionHeader->dwVersion);
}
- if (!::IsEqualGUID(pBundleId, pBurnSectionHeader->guidBundleId))
+ if (!::IsEqualGUID(pBundleCode, pBurnSectionHeader->guidBundleCode))
{
hr = E_INVALIDDATA;
ExitOnRootFailure(hr, "Bundle guid didn't match the guid in the PE Header in memory.");
diff --git a/src/burn/stub/StubSection.cpp b/src/burn/stub/StubSection.cpp
index 62d3e91ed..fc3ed1823 100644
--- a/src/burn/stub/StubSection.cpp
+++ b/src/burn/stub/StubSection.cpp
@@ -8,7 +8,7 @@
static DWORD dwMagic = BURN_SECTION_MAGIC;
static DWORD dwVersion = BURN_SECTION_VERSION;
-static GUID guidBundleId = { };
+static GUID guidBundleCode = { };
static DWORD dwStubSize = 0;
static DWORD dwOriginalChecksum = 0;
diff --git a/src/burn/test/BurnUnitTest/ManifestTest.cpp b/src/burn/test/BurnUnitTest/ManifestTest.cpp
index 874844727..4959cee07 100644
--- a/src/burn/test/BurnUnitTest/ManifestTest.cpp
+++ b/src/burn/test/BurnUnitTest/ManifestTest.cpp
@@ -40,7 +40,7 @@ namespace Bootstrapper
" "
" "
" "
- " "
+ " "
" "
" "
"";
diff --git a/src/burn/test/BurnUnitTest/PlanTest.cpp b/src/burn/test/BurnUnitTest/PlanTest.cpp
index 97f0c015f..e426cb09a 100644
--- a/src/burn/test/BurnUnitTest/PlanTest.cpp
+++ b/src/burn/test/BurnUnitTest/PlanTest.cpp
@@ -64,7 +64,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_INSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{9C459DAD-0E64-40C8-8C9F-4F68E46AB223}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{9C459DAD-0E64-40C8-8C9F-4F68E46AB223}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{9C459DAD-0E64-40C8-8C9F-4F68E46AB223}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(FALSE, pPlan->fPerMachine);
@@ -158,7 +158,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_INSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{9C459DAD-0E64-40C8-8C9F-4F68E46AB223}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{9C459DAD-0E64-40C8-8C9F-4F68E46AB223}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{9C459DAD-0E64-40C8-8C9F-4F68E46AB223}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(FALSE, pPlan->fPerMachine);
@@ -237,7 +237,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_UNINSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{9C459DAD-0E64-40C8-8C9F-4F68E46AB223}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{9C459DAD-0E64-40C8-8C9F-4F68E46AB223}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{9C459DAD-0E64-40C8-8C9F-4F68E46AB223}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(FALSE, pPlan->fPerMachine);
@@ -330,7 +330,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_INSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{E6469F05-BDC8-4EB8-B218-67412543EFAA}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{E6469F05-BDC8-4EB8-B218-67412543EFAA}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{E6469F05-BDC8-4EB8-B218-67412543EFAA}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -490,7 +490,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_UNINSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{E6469F05-BDC8-4EB8-B218-67412543EFAA}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{E6469F05-BDC8-4EB8-B218-67412543EFAA}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{E6469F05-BDC8-4EB8-B218-67412543EFAA}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -631,7 +631,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_INSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{35192ED0-C70A-49B2-9D12-3B1FA39B5E6F}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{35192ED0-C70A-49B2-9D12-3B1FA39B5E6F}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{35192ED0-C70A-49B2-9D12-3B1FA39B5E6F}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -746,7 +746,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_REPAIR, pPlan->action);
- NativeAssert::StringEqual(L"{35192ED0-C70A-49B2-9D12-3B1FA39B5E6F}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{35192ED0-C70A-49B2-9D12-3B1FA39B5E6F}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{35192ED0-C70A-49B2-9D12-3B1FA39B5E6F}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -840,7 +840,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_UNINSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{35192ED0-C70A-49B2-9D12-3B1FA39B5E6F}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{35192ED0-C70A-49B2-9D12-3B1FA39B5E6F}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{35192ED0-C70A-49B2-9D12-3B1FA39B5E6F}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -959,7 +959,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_UNINSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -1059,7 +1059,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_INSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -1178,7 +1178,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_INSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -1280,7 +1280,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_INSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{9C184683-04FB-49AD-9D79-65101BDC3EE3}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{9C184683-04FB-49AD-9D79-65101BDC3EE3}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{9C184683-04FB-49AD-9D79-65101BDC3EE3}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -1373,7 +1373,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_LAYOUT, pPlan->action);
- NativeAssert::StringEqual(L"{9C184683-04FB-49AD-9D79-65101BDC3EE3}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{9C184683-04FB-49AD-9D79-65101BDC3EE3}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{9C184683-04FB-49AD-9D79-65101BDC3EE3}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(FALSE, pPlan->fPerMachine);
@@ -1456,7 +1456,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_CACHE, pPlan->action);
- NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -1545,7 +1545,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_INSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -1620,7 +1620,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_UNINSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -1709,7 +1709,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_INSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -1802,7 +1802,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_INSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -1908,7 +1908,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_MODIFY, pPlan->action);
- NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -1987,7 +1987,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_UNINSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -2088,7 +2088,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_UNINSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -2158,7 +2158,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_UNINSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -2244,7 +2244,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_UNINSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -2332,7 +2332,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_UNSAFE_UNINSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{A6F0CBF7-1578-450C-B9D7-9CF2EEC40002}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -2437,7 +2437,7 @@ namespace Bootstrapper
Assert::Equal(BOOTSTRAPPER_ACTION_INSTALL, pPlan->action);
Assert::Equal(BOOTSTRAPPER_ACTION_INSTALL, llPlannedAction);
- NativeAssert::StringEqual(L"{06077C60-DC46-4F4A-8D3C-05F869187191}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{06077C60-DC46-4F4A-8D3C-05F869187191}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{06077C60-DC46-4F4A-8D3C-05F869187191}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -2527,7 +2527,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_INSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{22D1DDBA-284D-40A7-BD14-95EA07906F21}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{22D1DDBA-284D-40A7-BD14-95EA07906F21}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{22D1DDBA-284D-40A7-BD14-95EA07906F21}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -2658,7 +2658,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_UNINSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{22D1DDBA-284D-40A7-BD14-95EA07906F21}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{22D1DDBA-284D-40A7-BD14-95EA07906F21}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{22D1DDBA-284D-40A7-BD14-95EA07906F21}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -2788,7 +2788,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_UNINSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{22D1DDBA-284D-40A7-BD14-95EA07906F21}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{22D1DDBA-284D-40A7-BD14-95EA07906F21}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{22D1DDBA-284D-40A7-BD14-95EA07906F21}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -2889,7 +2889,7 @@ namespace Bootstrapper
NativeAssert::Succeeded(hr, "CorePlan failed");
Assert::Equal(BOOTSTRAPPER_ACTION_INSTALL, pPlan->action);
- NativeAssert::StringEqual(L"{22D1DDBA-284D-40A7-BD14-95EA07906F21}", pPlan->wzBundleId);
+ NativeAssert::StringEqual(L"{22D1DDBA-284D-40A7-BD14-95EA07906F21}", pPlan->wzBundleCode);
NativeAssert::StringEqual(L"{22D1DDBA-284D-40A7-BD14-95EA07906F21}", pPlan->wzBundleProviderKey);
Assert::Equal(FALSE, pPlan->fEnabledForwardCompatibleBundle);
Assert::Equal(TRUE, pPlan->fPerMachine);
@@ -3114,7 +3114,7 @@ namespace Bootstrapper
hr = StrAllocString(&pCompatiblePackage->compatibleEntry.sczProviderKey, pProvider->sczKey, 0);
NativeAssert::Succeeded(hr, "Failed to copy provider key");
- DetectPackageDependent(pPackage, pEngineState->registration.sczId);
+ DetectPackageDependent(pPackage, pEngineState->registration.sczCode);
}
void DetectPackageAsAbsent(BURN_PACKAGE* pPackage)
@@ -3203,7 +3203,7 @@ namespace Bootstrapper
{
BURN_PACKAGE* pPackage = pEngineState->packages.rgPackages + i;
DetectPackageAsPresentAndCached(pPackage);
- DetectPackageDependent(pPackage, pEngineState->registration.sczId);
+ DetectPackageDependent(pPackage, pEngineState->registration.sczCode);
if (BURN_PACKAGE_TYPE_MSI == pPackage->type)
{
@@ -3236,7 +3236,7 @@ namespace Bootstrapper
else
{
DetectPackageAsPresentAndCached(pPackage);
- DetectPackageDependent(pPackage, pEngineState->registration.sczId);
+ DetectPackageDependent(pPackage, pEngineState->registration.sczCode);
}
}
}
@@ -3296,7 +3296,7 @@ namespace Bootstrapper
HRESULT hr = StrAllocString(&pEngineState->internalCommand.sczAncestors, wzId, 0);
NativeAssert::Succeeded(hr, "Failed to set registration's ancestors");
- hr = StrAllocFormatted(&pEngineState->registration.sczBundlePackageAncestors, L"%ls;%ls", wzId, pEngineState->registration.sczId);
+ hr = StrAllocFormatted(&pEngineState->registration.sczBundlePackageAncestors, L"%ls;%ls", wzId, pEngineState->registration.sczCode);
NativeAssert::Succeeded(hr, "Failed to set registration's package ancestors");
pEngineState->command.relationType = BOOTSTRAPPER_RELATION_UPGRADE;
@@ -3435,13 +3435,13 @@ namespace Bootstrapper
__in BOOL fRollback,
__in DWORD dwIndex,
__in BOOL fRegister,
- __in LPCWSTR wzBundleId,
+ __in LPCWSTR wzBundleCode,
__in LPCWSTR wzProviderKey
)
{
BURN_DEPENDENT_REGISTRATION_ACTION* pAction = ValidateDependentRegistrationActionExists(pPlan, fRollback, dwIndex);
Assert::Equal(fRegister ? BURN_DEPENDENT_REGISTRATION_ACTION_TYPE_REGISTER : BURN_DEPENDENT_REGISTRATION_ACTION_TYPE_UNREGISTER, pAction->type);
- NativeAssert::StringEqual(wzBundleId, pAction->sczBundleId);
+ NativeAssert::StringEqual(wzBundleCode, pAction->sczBundleCode);
NativeAssert::StringEqual(wzProviderKey, pAction->sczDependentProviderKey);
}
diff --git a/src/burn/test/BurnUnitTest/RegistrationTest.cpp b/src/burn/test/BurnUnitTest/RegistrationTest.cpp
index 2d6515ef9..3068eb6a2 100644
--- a/src/burn/test/BurnUnitTest/RegistrationTest.cpp
+++ b/src/burn/test/BurnUnitTest/RegistrationTest.cpp
@@ -73,7 +73,7 @@ namespace Bootstrapper
L" "
L" "
L" "
- L" "
+ L" "
L" "
L" "
L"";
@@ -173,7 +173,7 @@ namespace Bootstrapper
L" "
L" "
L" "
- L" "
+ L" "
L" "
L" "
L"";
@@ -294,7 +294,7 @@ namespace Bootstrapper
L" "
L" "
L" "
- L" "
+ L" "
L" "
L" "
L"";
@@ -415,7 +415,7 @@ namespace Bootstrapper
L" "
L" "
L" "
- L" "
+ L" "
L" "
@@ -525,7 +525,7 @@ namespace Bootstrapper
IXMLDOMElement* pixeBundle = NULL;
LPWSTR sczCurrentProcess = NULL;
LPWSTR sczValue = NULL;
- LPWSTR sczRelatedBundleId = NULL;
+ LPWSTR sczRelatedBundleCode = NULL;
DWORD dwRelatedBundleIndex = 0;
BURN_VARIABLES variables = { };
BURN_USER_EXPERIENCE userExperience = { };
@@ -553,8 +553,8 @@ namespace Bootstrapper
L" "
L" "
L" "
- L" "
- L" "
+ L" "
+ L" "
L" "
L" "
L" "
@@ -622,14 +622,14 @@ namespace Bootstrapper
this->ValidateVariableKey(L"MyBurnVariable5", gcnew String(L"vvv"));
this->ValidateVariableKeyEmpty(L"WixBundleForcedRestartPackage");
- hr = StrAlloc(&sczRelatedBundleId, MAX_GUID_CHARS + 1);
- NativeAssert::Succeeded(hr, "Failed to allocate buffer for related bundle id.");
+ hr = StrAlloc(&sczRelatedBundleCode, MAX_GUID_CHARS + 1);
+ NativeAssert::Succeeded(hr, "Failed to allocate buffer for related bundle code.");
// Verify we can find ourself via the UpgradeCode
- hr = BundleEnumRelatedBundleFixed(TEST_BUNDLE_UPGRADE_CODE, BUNDLE_INSTALL_CONTEXT_USER, REG_KEY_DEFAULT, &dwRelatedBundleIndex, sczRelatedBundleId);
+ hr = BundleEnumRelatedBundleFixed(TEST_BUNDLE_UPGRADE_CODE, BUNDLE_INSTALL_CONTEXT_USER, REG_KEY_DEFAULT, &dwRelatedBundleIndex, sczRelatedBundleCode);
TestThrowOnFailure(hr, L"Failed to enumerate related bundle.");
- NativeAssert::StringEqual(TEST_BUNDLE_ID, sczRelatedBundleId);
+ NativeAssert::StringEqual(TEST_BUNDLE_ID, sczRelatedBundleCode);
// Verify we can read the bundle variables via the API
hr = BundleGetBundleVariable(TEST_BUNDLE_ID, L"MyBurnVariable1", &sczValue);
@@ -643,7 +643,7 @@ namespace Bootstrapper
}
finally
{
- ReleaseStr(sczRelatedBundleId);
+ ReleaseStr(sczRelatedBundleCode);
ReleaseStr(sczCurrentProcess);
ReleaseObject(pixeBundle);
BootstrapperApplicationUninitialize(&userExperience);
@@ -694,7 +694,7 @@ namespace Bootstrapper
L" "
L" "
L" "
- L" "
+ L" "
L" "
L" "
L" "
diff --git a/src/burn/test/BurnUnitTest/RelatedBundleTest.cpp b/src/burn/test/BurnUnitTest/RelatedBundleTest.cpp
index 4fee1b1df..9feb85d62 100644
--- a/src/burn/test/BurnUnitTest/RelatedBundleTest.cpp
+++ b/src/burn/test/BurnUnitTest/RelatedBundleTest.cpp
@@ -48,8 +48,8 @@ namespace Bootstrapper
L" "
L" "
L" "
- L" "
- L" "
+ L" "
+ L" "
L" "
L" "
L"";
@@ -100,8 +100,8 @@ namespace Bootstrapper
L" "
L" "
L" "
- L" "
- L" "
+ L" "
+ L" "
L" "
L" "
L"";
@@ -142,7 +142,7 @@ namespace Bootstrapper
this->RegisterFakeBundle(L"{3DB49D3D-1FB8-4147-A465-BBE8BFD0DAD0}", L"{89FDAE1F-8CC1-48B9-B930-3945E0D3E7F0}", NULL, L"4.0.0.0", FALSE);
}
- void RegisterFakeBundle(LPCWSTR wzBundleId, LPCWSTR wzUpgradeCodes, LPCWSTR wzCachePath, LPCWSTR wzVersion, BOOL fPerMachine)
+ void RegisterFakeBundle(LPCWSTR wzBundleCode, LPCWSTR wzUpgradeCodes, LPCWSTR wzCachePath, LPCWSTR wzVersion, BOOL fPerMachine)
{
HRESULT hr = S_OK;
LPWSTR* rgsczUpgradeCodes = NULL;
@@ -157,12 +157,12 @@ namespace Bootstrapper
hr = StrSplitAllocArray(&rgsczUpgradeCodes, reinterpret_cast(&cUpgradeCodes), wzUpgradeCodes, L";");
NativeAssert::Succeeded(hr, "Failed to split upgrade codes.");
- hr = StrAllocFormatted(&sczRegistrationKey, L"%s\\%s", BURN_REGISTRATION_REGISTRY_UNINSTALL_KEY, wzBundleId);
+ hr = StrAllocFormatted(&sczRegistrationKey, L"%s\\%s", BURN_REGISTRATION_REGISTRY_UNINSTALL_KEY, wzBundleCode);
NativeAssert::Succeeded(hr, "Failed to build uninstall registry key path.");
if (!wzCachePath)
{
- hr = StrAllocFormatted(&sczCachePath, L"%ls.exe", wzBundleId);
+ hr = StrAllocFormatted(&sczCachePath, L"%ls.exe", wzBundleCode);
NativeAssert::Succeeded(hr, "Failed to build cache path.");
wzCachePath = sczCachePath;
diff --git a/src/burn/test/BurnUnitTest/TestData/PlanTest/BasicFunctionality_BundleA_manifest.xml b/src/burn/test/BurnUnitTest/TestData/PlanTest/BasicFunctionality_BundleA_manifest.xml
index 975a38052..f3848edaf 100644
--- a/src/burn/test/BurnUnitTest/TestData/PlanTest/BasicFunctionality_BundleA_manifest.xml
+++ b/src/burn/test/BurnUnitTest/TestData/PlanTest/BasicFunctionality_BundleA_manifest.xml
@@ -1,7 +1,7 @@
-
+
@@ -15,7 +15,7 @@
-
+
diff --git a/src/burn/test/BurnUnitTest/TestData/PlanTest/BundlePackage_Multiple_manifest.xml b/src/burn/test/BurnUnitTest/TestData/PlanTest/BundlePackage_Multiple_manifest.xml
index a86965373..988bbfe07 100644
--- a/src/burn/test/BurnUnitTest/TestData/PlanTest/BundlePackage_Multiple_manifest.xml
+++ b/src/burn/test/BurnUnitTest/TestData/PlanTest/BundlePackage_Multiple_manifest.xml
@@ -1,7 +1,7 @@
-
+
@@ -46,21 +46,21 @@
-
+
-
+
-
+
-
+
-
+
diff --git a/src/burn/test/BurnUnitTest/TestData/PlanTest/ExePackage_PerUserArpEntry_manifest.xml b/src/burn/test/BurnUnitTest/TestData/PlanTest/ExePackage_PerUserArpEntry_manifest.xml
index 167bfbbb5..a5dfc1883 100644
--- a/src/burn/test/BurnUnitTest/TestData/PlanTest/ExePackage_PerUserArpEntry_manifest.xml
+++ b/src/burn/test/BurnUnitTest/TestData/PlanTest/ExePackage_PerUserArpEntry_manifest.xml
@@ -1,7 +1,7 @@
-
+
@@ -46,7 +46,7 @@
-
+
diff --git a/src/burn/test/BurnUnitTest/TestData/PlanTest/Failure_BundleD_manifest.xml b/src/burn/test/BurnUnitTest/TestData/PlanTest/Failure_BundleD_manifest.xml
index 4e15fddb7..f3cfb179e 100644
--- a/src/burn/test/BurnUnitTest/TestData/PlanTest/Failure_BundleD_manifest.xml
+++ b/src/burn/test/BurnUnitTest/TestData/PlanTest/Failure_BundleD_manifest.xml
@@ -1,7 +1,7 @@
-
+
@@ -47,7 +47,7 @@
-
+
diff --git a/src/burn/test/BurnUnitTest/TestData/PlanTest/MsiTransaction_BundleAv1_manifest.xml b/src/burn/test/BurnUnitTest/TestData/PlanTest/MsiTransaction_BundleAv1_manifest.xml
index c92947074..2047f4950 100644
--- a/src/burn/test/BurnUnitTest/TestData/PlanTest/MsiTransaction_BundleAv1_manifest.xml
+++ b/src/burn/test/BurnUnitTest/TestData/PlanTest/MsiTransaction_BundleAv1_manifest.xml
@@ -1,7 +1,7 @@
-
+
@@ -20,7 +20,7 @@
-
+
diff --git a/src/burn/test/BurnUnitTest/TestData/PlanTest/MsuPackageFixture_manifest.xml b/src/burn/test/BurnUnitTest/TestData/PlanTest/MsuPackageFixture_manifest.xml
index 824cf4898..4fd1d75a2 100644
--- a/src/burn/test/BurnUnitTest/TestData/PlanTest/MsuPackageFixture_manifest.xml
+++ b/src/burn/test/BurnUnitTest/TestData/PlanTest/MsuPackageFixture_manifest.xml
@@ -1,7 +1,7 @@
-
+
@@ -10,7 +10,7 @@
-
+
diff --git a/src/burn/test/BurnUnitTest/TestData/PlanTest/Slipstream_BundleA_manifest.xml b/src/burn/test/BurnUnitTest/TestData/PlanTest/Slipstream_BundleA_manifest.xml
index d1fd96bba..495bbf05f 100644
--- a/src/burn/test/BurnUnitTest/TestData/PlanTest/Slipstream_BundleA_manifest.xml
+++ b/src/burn/test/BurnUnitTest/TestData/PlanTest/Slipstream_BundleA_manifest.xml
@@ -1,7 +1,7 @@
-
+
@@ -45,7 +45,7 @@
-
+
diff --git a/src/burn/test/BurnUnitTest/TestData/PlanTest/Slipstream_BundleA_modified_manifest.xml b/src/burn/test/BurnUnitTest/TestData/PlanTest/Slipstream_BundleA_modified_manifest.xml
index 2f8295869..de73c66f3 100644
--- a/src/burn/test/BurnUnitTest/TestData/PlanTest/Slipstream_BundleA_modified_manifest.xml
+++ b/src/burn/test/BurnUnitTest/TestData/PlanTest/Slipstream_BundleA_modified_manifest.xml
@@ -1,7 +1,7 @@
-
+
@@ -44,7 +44,7 @@
-
+
diff --git a/src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp b/src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp
index c86a4a1de..59b2d8de3 100644
--- a/src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp
+++ b/src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp
@@ -355,7 +355,7 @@ class CWixStandardBootstrapperApplication : public CBootstrapperApplicationBase
}
virtual STDMETHODIMP OnDetectRelatedBundle(
- __in LPCWSTR wzBundleId,
+ __in LPCWSTR wzBundleCode,
__in BOOTSTRAPPER_RELATION_TYPE relationType,
__in LPCWSTR wzBundleTag,
__in BOOL fPerMachine,
@@ -368,7 +368,7 @@ class CWixStandardBootstrapperApplication : public CBootstrapperApplicationBase
if (!fMissingFromCache)
{
- BalInfoAddRelatedBundleAsPackage(&m_Bundle.packages, wzBundleId, relationType, fPerMachine, &pPackage);
+ BalInfoAddRelatedBundleAsPackage(&m_Bundle.packages, wzBundleCode, relationType, fPerMachine, &pPackage);
// Best effort
}
@@ -387,7 +387,7 @@ class CWixStandardBootstrapperApplication : public CBootstrapperApplicationBase
}
LExit:
- return CBootstrapperApplicationBase::OnDetectRelatedBundle(wzBundleId, relationType, wzBundleTag, fPerMachine, wzVersion, fMissingFromCache, pfCancel);
+ return CBootstrapperApplicationBase::OnDetectRelatedBundle(wzBundleCode, relationType, wzBundleTag, fPerMachine, wzVersion, fMissingFromCache, pfCancel);
}
@@ -550,7 +550,7 @@ class CWixStandardBootstrapperApplication : public CBootstrapperApplicationBase
virtual STDMETHODIMP OnPlanRelatedBundleType(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE recommendedType,
__inout BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE* pRequestedType,
__inout BOOL* pfCancel
@@ -562,7 +562,7 @@ class CWixStandardBootstrapperApplication : public CBootstrapperApplicationBase
*pRequestedType = BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE_NONE;
}
- return CBootstrapperApplicationBase::OnPlanRelatedBundleType(wzBundleId, recommendedType, pRequestedType, pfCancel);
+ return CBootstrapperApplicationBase::OnPlanRelatedBundleType(wzBundleCode, recommendedType, pRequestedType, pfCancel);
}
@@ -1853,7 +1853,7 @@ class CWixStandardBootstrapperApplication : public CBootstrapperApplicationBase
{
BOOTSTRAPPER_REQUEST_STATE requestedState = pResults->requestedState;
m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_ONPLANRELATEDBUNDLE, pArgs, pResults, m_pvBAFunctionsProcContext);
- BalLogId(BOOTSTRAPPER_LOG_LEVEL_STANDARD, MSG_WIXSTDBA_PLANNED_RELATED_BUNDLE, m_hModule, pArgs->wzBundleId, LoggingRequestStateToString(requestedState), LoggingRequestStateToString(pResults->requestedState));
+ BalLogId(BOOTSTRAPPER_LOG_LEVEL_STANDARD, MSG_WIXSTDBA_PLANNED_RELATED_BUNDLE, m_hModule, pArgs->wzBundleCode, LoggingRequestStateToString(requestedState), LoggingRequestStateToString(pResults->requestedState));
}
void OnPlanRelatedBundleTypeFallback(
@@ -1863,7 +1863,7 @@ class CWixStandardBootstrapperApplication : public CBootstrapperApplicationBase
{
BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE requestedType = pResults->requestedType;
m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_ONPLANRELATEDBUNDLETYPE, pArgs, pResults, m_pvBAFunctionsProcContext);
- BalLogId(BOOTSTRAPPER_LOG_LEVEL_STANDARD, MSG_WIXSTDBA_PLANNED_RELATED_BUNDLE_TYPE, m_hModule, pArgs->wzBundleId, LoggingPlanRelationTypeToString(requestedType), LoggingPlanRelationTypeToString(pResults->requestedType));
+ BalLogId(BOOTSTRAPPER_LOG_LEVEL_STANDARD, MSG_WIXSTDBA_PLANNED_RELATED_BUNDLE_TYPE, m_hModule, pArgs->wzBundleCode, LoggingPlanRelationTypeToString(requestedType), LoggingPlanRelationTypeToString(pResults->requestedType));
}
void OnPlanPackageBeginFallback(
@@ -2259,7 +2259,7 @@ class CWixStandardBootstrapperApplication : public CBootstrapperApplicationBase
{
BOOL fIgnoreBundle = pResults->fIgnoreBundle;
m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_ONPLANFORWARDCOMPATIBLEBUNDLE, pArgs, pResults, m_pvBAFunctionsProcContext);
- BalLogId(BOOTSTRAPPER_LOG_LEVEL_STANDARD, MSG_WIXSTDBA_PLANNED_FORWARD_COMPATIBLE_BUNDLE, m_hModule, pArgs->wzBundleId, fIgnoreBundle ? "ignore" : "enable", pResults->fIgnoreBundle ? "ignore" : "enable");
+ BalLogId(BOOTSTRAPPER_LOG_LEVEL_STANDARD, MSG_WIXSTDBA_PLANNED_FORWARD_COMPATIBLE_BUNDLE, m_hModule, pArgs->wzBundleCode, fIgnoreBundle ? "ignore" : "enable", pResults->fIgnoreBundle ? "ignore" : "enable");
}
void OnCacheVerifyProgressFallback(
@@ -2361,7 +2361,7 @@ class CWixStandardBootstrapperApplication : public CBootstrapperApplicationBase
{
BOOTSTRAPPER_REQUEST_STATE requestedState = pResults->requestedState;
m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_ONPLANRESTORERELATEDBUNDLE, pArgs, pResults, m_pvBAFunctionsProcContext);
- BalLogId(BOOTSTRAPPER_LOG_LEVEL_STANDARD, MSG_WIXSTDBA_PLANNED_RESTORE_RELATED_BUNDLE, m_hModule, pArgs->wzBundleId, LoggingRequestStateToString(requestedState), LoggingRequestStateToString(pResults->requestedState));
+ BalLogId(BOOTSTRAPPER_LOG_LEVEL_STANDARD, MSG_WIXSTDBA_PLANNED_RESTORE_RELATED_BUNDLE, m_hModule, pArgs->wzBundleCode, LoggingRequestStateToString(requestedState), LoggingRequestStateToString(pResults->requestedState));
}
void OnApplyDowngradeFallback(
diff --git a/src/ext/Bal/wixstdfn/BalBaseBAFunctionsProc.cpp b/src/ext/Bal/wixstdfn/BalBaseBAFunctionsProc.cpp
index 38ebf65c8..f8a94853c 100644
--- a/src/ext/Bal/wixstdfn/BalBaseBAFunctionsProc.cpp
+++ b/src/ext/Bal/wixstdfn/BalBaseBAFunctionsProc.cpp
@@ -71,7 +71,7 @@ static HRESULT BalBaseBAFunctionsProcOnDetectForwardCompatibleBundle(
__inout BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_RESULTS* pResults
)
{
- return pBAFunctions->OnDetectForwardCompatibleBundle(pArgs->wzBundleId, pArgs->relationType, pArgs->wzBundleTag, pArgs->fPerMachine, pArgs->wzVersion, pArgs->fMissingFromCache, &pResults->fCancel);
+ return pBAFunctions->OnDetectForwardCompatibleBundle(pArgs->wzBundleCode, pArgs->relationType, pArgs->wzBundleTag, pArgs->fPerMachine, pArgs->wzVersion, pArgs->fMissingFromCache, &pResults->fCancel);
}
static HRESULT BalBaseBAFunctionsProcOnDetectUpdateBegin(
@@ -107,7 +107,7 @@ static HRESULT BalBaseBAFunctionsProcOnDetectRelatedBundle(
__inout BA_ONDETECTRELATEDBUNDLE_RESULTS* pResults
)
{
- return pBAFunctions->OnDetectRelatedBundle(pArgs->wzBundleId, pArgs->relationType, pArgs->wzBundleTag, pArgs->fPerMachine, pArgs->wzVersion, pArgs->fMissingFromCache, &pResults->fCancel);
+ return pBAFunctions->OnDetectRelatedBundle(pArgs->wzBundleCode, pArgs->relationType, pArgs->wzBundleTag, pArgs->fPerMachine, pArgs->wzVersion, pArgs->fMissingFromCache, &pResults->fCancel);
}
static HRESULT BalBaseBAFunctionsProcOnDetectPackageBegin(
@@ -170,7 +170,7 @@ static HRESULT BalBaseBAFunctionsProcOnPlanRelatedBundle(
__inout BA_ONPLANRELATEDBUNDLE_RESULTS* pResults
)
{
- return pBAFunctions->OnPlanRelatedBundle(pArgs->wzBundleId, pArgs->recommendedState, &pResults->requestedState, &pResults->fCancel);
+ return pBAFunctions->OnPlanRelatedBundle(pArgs->wzBundleCode, pArgs->recommendedState, &pResults->requestedState, &pResults->fCancel);
}
static HRESULT BalBaseBAFunctionsProcOnPlanRollbackBoundary(
@@ -647,7 +647,7 @@ static HRESULT BalBaseBAFunctionsProcOnPlanForwardCompatibleBundle(
__inout BA_ONPLANFORWARDCOMPATIBLEBUNDLE_RESULTS* pResults
)
{
- return pBAFunctions->OnPlanForwardCompatibleBundle(pArgs->wzBundleId, pArgs->relationType, pArgs->wzBundleTag, pArgs->fPerMachine, pArgs->wzVersion, pArgs->fRecommendedIgnoreBundle, &pResults->fCancel, &pResults->fIgnoreBundle);
+ return pBAFunctions->OnPlanForwardCompatibleBundle(pArgs->wzBundleCode, pArgs->relationType, pArgs->wzBundleTag, pArgs->fPerMachine, pArgs->wzVersion, pArgs->fRecommendedIgnoreBundle, &pResults->fCancel, &pResults->fIgnoreBundle);
}
static HRESULT BalBaseBAFunctionsProcOnCacheContainerOrPayloadVerifyBegin(
@@ -710,7 +710,7 @@ static HRESULT BalBaseBAFunctionsProcOnPlanRestoreRelatedBundle(
__inout BA_ONPLANRESTORERELATEDBUNDLE_RESULTS* pResults
)
{
- return pBAFunctions->OnPlanRestoreRelatedBundle(pArgs->wzBundleId, pArgs->recommendedState, &pResults->requestedState, &pResults->fCancel);
+ return pBAFunctions->OnPlanRestoreRelatedBundle(pArgs->wzBundleCode, pArgs->recommendedState, &pResults->requestedState, &pResults->fCancel);
}
static HRESULT BalBaseBAFunctionsProcOnPlanRelatedBundleType(
@@ -719,7 +719,7 @@ static HRESULT BalBaseBAFunctionsProcOnPlanRelatedBundleType(
__inout BA_ONPLANRELATEDBUNDLETYPE_RESULTS* pResults
)
{
- return pBAFunctions->OnPlanRelatedBundleType(pArgs->wzBundleId, pArgs->recommendedType, &pResults->requestedType, &pResults->fCancel);
+ return pBAFunctions->OnPlanRelatedBundleType(pArgs->wzBundleCode, pArgs->recommendedType, &pResults->requestedType, &pResults->fCancel);
}
static HRESULT BalBaseBAFunctionsProcOnApplyDowngrade(
@@ -737,7 +737,7 @@ static HRESULT BalBaseBAFunctionsProcOnDetectRelatedBundlePackage(
__inout BA_ONDETECTRELATEDBUNDLEPACKAGE_RESULTS* pResults
)
{
- return pBAFunctions->OnDetectRelatedBundlePackage(pArgs->wzPackageId, pArgs->wzBundleId, pArgs->relationType, pArgs->fPerMachine, pArgs->wzVersion, &pResults->fCancel);
+ return pBAFunctions->OnDetectRelatedBundlePackage(pArgs->wzPackageId, pArgs->wzBundleCode, pArgs->relationType, pArgs->fPerMachine, pArgs->wzVersion, &pResults->fCancel);
}
static HRESULT BalBaseBAFunctionsProcOnCachePackageNonVitalValidationFailure(
diff --git a/src/ext/Bal/wixstdfn/inc/BalBaseBAFunctions.h b/src/ext/Bal/wixstdfn/inc/BalBaseBAFunctions.h
index fd284d9cf..d057f6250 100644
--- a/src/ext/Bal/wixstdfn/inc/BalBaseBAFunctions.h
+++ b/src/ext/Bal/wixstdfn/inc/BalBaseBAFunctions.h
@@ -121,7 +121,7 @@ class CBalBaseBAFunctions : public IBAFunctions
}
virtual STDMETHODIMP OnDetectForwardCompatibleBundle(
- __in_z LPCWSTR /*wzBundleId*/,
+ __in_z LPCWSTR /*wzBundleCode*/,
__in BOOTSTRAPPER_RELATION_TYPE /*relationType*/,
__in_z LPCWSTR /*wzBundleTag*/,
__in BOOL /*fPerMachine*/,
@@ -168,7 +168,7 @@ class CBalBaseBAFunctions : public IBAFunctions
}
virtual STDMETHODIMP OnDetectRelatedBundle(
- __in_z LPCWSTR /*wzBundleId*/,
+ __in_z LPCWSTR /*wzBundleCode*/,
__in BOOTSTRAPPER_RELATION_TYPE /*relationType*/,
__in_z LPCWSTR /*wzBundleTag*/,
__in BOOL /*fPerMachine*/,
@@ -258,7 +258,7 @@ class CBalBaseBAFunctions : public IBAFunctions
}
virtual STDMETHODIMP OnPlanRelatedBundle(
- __in_z LPCWSTR /*wzBundleId*/,
+ __in_z LPCWSTR /*wzBundleCode*/,
__in BOOTSTRAPPER_REQUEST_STATE /*recommendedState*/,
__inout BOOTSTRAPPER_REQUEST_STATE* /*pRequestedState*/,
__inout BOOL* /*pfCancel*/
@@ -776,7 +776,7 @@ class CBalBaseBAFunctions : public IBAFunctions
}
virtual STDMETHODIMP OnPlanForwardCompatibleBundle(
- __in_z LPCWSTR /*wzBundleId*/,
+ __in_z LPCWSTR /*wzBundleCode*/,
__in BOOTSTRAPPER_RELATION_TYPE /*relationType*/,
__in_z LPCWSTR /*wzBundleTag*/,
__in BOOL /*fPerMachine*/,
@@ -850,7 +850,7 @@ class CBalBaseBAFunctions : public IBAFunctions
}
virtual STDMETHODIMP OnPlanRestoreRelatedBundle(
- __in_z LPCWSTR /*wzBundleId*/,
+ __in_z LPCWSTR /*wzBundleCode*/,
__in BOOTSTRAPPER_REQUEST_STATE /*recommendedState*/,
__inout BOOTSTRAPPER_REQUEST_STATE* /*pRequestedState*/,
__inout BOOL* /*pfCancel*/
@@ -860,7 +860,7 @@ class CBalBaseBAFunctions : public IBAFunctions
}
virtual STDMETHODIMP OnPlanRelatedBundleType(
- __in_z LPCWSTR /*wzBundleId*/,
+ __in_z LPCWSTR /*wzBundleCode*/,
__in BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE /*recommendedType*/,
__inout BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE* /*pRequestedType*/,
__inout BOOL* /*pfCancel*/
@@ -889,7 +889,7 @@ class CBalBaseBAFunctions : public IBAFunctions
virtual STDMETHODIMP OnDetectRelatedBundlePackage(
__in_z LPCWSTR /*wzPackageId*/,
- __in_z LPCWSTR /*wzBundleId*/,
+ __in_z LPCWSTR /*wzBundleCode*/,
__in BOOTSTRAPPER_RELATION_TYPE /*relationType*/,
__in BOOL /*fPerMachine*/,
__in LPCWSTR /*wzVersion*/,
diff --git a/src/libs/dutil/WixToolset.DUtil/butil.cpp b/src/libs/dutil/WixToolset.DUtil/butil.cpp
index 4b6cd02a5..87e58e36a 100644
--- a/src/libs/dutil/WixToolset.DUtil/butil.cpp
+++ b/src/libs/dutil/WixToolset.DUtil/butil.cpp
@@ -61,12 +61,12 @@ static HRESULT QueryRelatedBundlesForScopeAndBitness(
static HRESULT QueryPotentialRelatedBundle(
__in BUNDLE_QUERY_CONTEXT* pQueryContext,
__in HKEY hkUninstallKey,
- __in_z LPCWSTR wzRelatedBundleId,
+ __in_z LPCWSTR wzRelatedBundleCode,
__inout BUNDLE_QUERY_CALLBACK_RESULT* pResult
);
static HRESULT DetermineRelationType(
__in BUNDLE_QUERY_CONTEXT* pQueryContext,
- __in HKEY hkBundleId,
+ __in HKEY hkBundleCode,
__out BUNDLE_RELATION_TYPE* pRelationType
);
/********************************************************************
@@ -76,7 +76,7 @@ LocateAndQueryBundleValue - Locates the requested key for the bundle,
NOTE: caller is responsible for closing key
********************************************************************/
static HRESULT LocateAndQueryBundleValue(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_opt LPCWSTR wzSubKey,
__in LPCWSTR wzValueName,
__inout HKEY* phKey,
@@ -91,7 +91,7 @@ static HRESULT CopyStringToBuffer(
DAPI_(HRESULT) BundleGetBundleInfo(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_z LPCWSTR wzAttribute,
__deref_out_z LPWSTR* psczValue
)
@@ -102,12 +102,12 @@ DAPI_(HRESULT) BundleGetBundleInfo(
DWORD dwType = 0;
DWORD dwValue = 0;
- if (!wzBundleId || !wzAttribute || !psczValue)
+ if (!wzBundleCode || !wzAttribute || !psczValue)
{
ButilExitWithRootFailure(hr, E_INVALIDARG, "An invalid parameter was passed to the function.");
}
- hr = LocateAndQueryBundleValue(wzBundleId, NULL, wzAttribute, &hkBundle, &dwType, &status);
+ hr = LocateAndQueryBundleValue(wzBundleCode, NULL, wzAttribute, &hkBundle, &dwType, &status);
ButilExitOnFailure(hr, "Failed to locate and query bundle attribute.");
switch (status)
@@ -144,7 +144,7 @@ DAPI_(HRESULT) BundleGetBundleInfo(
DAPI_(HRESULT) BundleGetBundleInfoFixed(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_z LPCWSTR wzAttribute,
__out_ecount_opt(*pcchValue) LPWSTR wzValue,
__inout SIZE_T* pcchValue
@@ -158,7 +158,7 @@ DAPI_(HRESULT) BundleGetBundleInfoFixed(
ButilExitWithRootFailure(hr, E_INVALIDARG, "An invalid parameter was passed to the function.");
}
- hr = BundleGetBundleInfo(wzBundleId, wzAttribute, &sczValue);
+ hr = BundleGetBundleInfo(wzBundleCode, wzAttribute, &sczValue);
if (SUCCEEDED(hr))
{
hr = CopyStringToBuffer(sczValue, wzValue, pcchValue);
@@ -176,7 +176,7 @@ DAPI_(HRESULT) BundleEnumRelatedBundle(
__in BUNDLE_INSTALL_CONTEXT context,
__in REG_KEY_BITNESS kbKeyBitness,
__inout PDWORD pdwStartIndex,
- __deref_out_z LPWSTR* psczBundleId
+ __deref_out_z LPWSTR* psczBundleCode
)
{
HRESULT hr = S_OK;
@@ -218,9 +218,9 @@ DAPI_(HRESULT) BundleEnumRelatedBundle(
fUpgradeCodeFound = TRUE;
*pdwStartIndex = dwIndex;
- if (psczBundleId)
+ if (psczBundleCode)
{
- *psczBundleId = sczUninstallSubKey;
+ *psczBundleCode = sczUninstallSubKey;
sczUninstallSubKey = NULL;
}
@@ -246,7 +246,7 @@ DAPI_(HRESULT) BundleEnumRelatedBundleFixed(
__in BUNDLE_INSTALL_CONTEXT context,
__in REG_KEY_BITNESS kbKeyBitness,
__inout PDWORD pdwStartIndex,
- __out_ecount(MAX_GUID_CHARS+1) LPWSTR wzBundleId
+ __out_ecount(MAX_GUID_CHARS+1) LPWSTR wzBundleCode
)
{
HRESULT hr = S_OK;
@@ -254,12 +254,12 @@ DAPI_(HRESULT) BundleEnumRelatedBundleFixed(
size_t cchValue = 0;
hr = BundleEnumRelatedBundle(wzUpgradeCode, context, kbKeyBitness, pdwStartIndex, &sczValue);
- if (S_OK == hr && wzBundleId)
+ if (S_OK == hr && wzBundleCode)
{
hr = ::StringCchLengthW(sczValue, STRSAFE_MAX_CCH, &cchValue);
ButilExitOnRootFailure(hr, "Failed to calculate length of string.");
- hr = ::StringCchCopyNExW(wzBundleId, MAX_GUID_CHARS + 1, sczValue, cchValue, NULL, NULL, STRSAFE_FILL_BEHIND_NULL);
+ hr = ::StringCchCopyNExW(wzBundleCode, MAX_GUID_CHARS + 1, sczValue, cchValue, NULL, NULL, STRSAFE_FILL_BEHIND_NULL);
ButilExitOnRootFailure(hr, "Failed to copy the property value to the output buffer.");
}
@@ -271,7 +271,7 @@ DAPI_(HRESULT) BundleEnumRelatedBundleFixed(
DAPI_(HRESULT) BundleGetBundleVariable(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_z LPCWSTR wzVariable,
__deref_out_z LPWSTR* psczValue
)
@@ -281,12 +281,12 @@ DAPI_(HRESULT) BundleGetBundleVariable(
INTERNAL_BUNDLE_STATUS status = INTERNAL_BUNDLE_STATUS_SUCCESS;
DWORD dwType = 0;
- if (!wzBundleId || !wzVariable || !psczValue)
+ if (!wzBundleCode || !wzVariable || !psczValue)
{
ButilExitWithRootFailure(hr, E_INVALIDARG, "An invalid parameter was passed to the function.");
}
- hr = LocateAndQueryBundleValue(wzBundleId, BUNDLE_REGISTRATION_REGISTRY_BUNDLE_VARIABLE_KEY, wzVariable, &hkBundle, &dwType, &status);
+ hr = LocateAndQueryBundleValue(wzBundleCode, BUNDLE_REGISTRATION_REGISTRY_BUNDLE_VARIABLE_KEY, wzVariable, &hkBundle, &dwType, &status);
ButilExitOnFailure(hr, "Failed to locate and query bundle variable.");
switch (status)
@@ -319,7 +319,7 @@ DAPI_(HRESULT) BundleGetBundleVariable(
DAPI_(HRESULT) BundleGetBundleVariableFixed(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_z LPCWSTR wzVariable,
__out_ecount_opt(*pcchValue) LPWSTR wzValue,
__inout SIZE_T* pcchValue
@@ -333,7 +333,7 @@ DAPI_(HRESULT) BundleGetBundleVariableFixed(
ButilExitWithRootFailure(hr, E_INVALIDARG, "An invalid parameter was passed to the function.");
}
- hr = BundleGetBundleVariable(wzBundleId, wzVariable, &sczValue);
+ hr = BundleGetBundleVariable(wzBundleCode, wzVariable, &sczValue);
if (SUCCEEDED(hr))
{
hr = CopyStringToBuffer(sczValue, wzValue, pcchValue);
@@ -405,7 +405,7 @@ static HRESULT QueryRelatedBundlesForScopeAndBitness(
HKEY hkRoot = BUNDLE_INSTALL_CONTEXT_USER == pQueryContext->installContext ? HKEY_CURRENT_USER : HKEY_LOCAL_MACHINE;
HKEY hkUninstallKey = NULL;
BOOL fExists = FALSE;
- LPWSTR sczRelatedBundleId = NULL;
+ LPWSTR sczRelatedBundleCode = NULL;
BUNDLE_QUERY_CALLBACK_RESULT result = BUNDLE_QUERY_CALLBACK_RESULT_CONTINUE;
hr = RegOpenEx(hkRoot, BUNDLE_REGISTRATION_REGISTRY_UNINSTALL_KEY, KEY_READ, pQueryContext->regBitness, &hkUninstallKey);
@@ -418,7 +418,7 @@ static HRESULT QueryRelatedBundlesForScopeAndBitness(
for (DWORD dwIndex = 0; /* exit via break below */; ++dwIndex)
{
- hr = RegKeyEnum(hkUninstallKey, dwIndex, &sczRelatedBundleId);
+ hr = RegKeyEnum(hkUninstallKey, dwIndex, &sczRelatedBundleCode);
if (E_NOMOREITEMS == hr)
{
hr = S_OK;
@@ -428,7 +428,7 @@ static HRESULT QueryRelatedBundlesForScopeAndBitness(
// Ignore failures here since we'll often find products that aren't actually
// related bundles (or even bundles at all).
- HRESULT hrRelatedBundle = QueryPotentialRelatedBundle(pQueryContext, hkUninstallKey, sczRelatedBundleId, &result);
+ HRESULT hrRelatedBundle = QueryPotentialRelatedBundle(pQueryContext, hkUninstallKey, sczRelatedBundleCode, &result);
if (SUCCEEDED(hrRelatedBundle) && BUNDLE_QUERY_CALLBACK_RESULT_CONTINUE != result)
{
ExitFunction1(hr = HRESULT_FROM_WIN32(ERROR_REQUEST_ABORTED));
@@ -436,7 +436,7 @@ static HRESULT QueryRelatedBundlesForScopeAndBitness(
}
LExit:
- ReleaseStr(sczRelatedBundleId);
+ ReleaseStr(sczRelatedBundleCode);
ReleaseRegKey(hkUninstallKey);
return hr;
@@ -445,19 +445,19 @@ static HRESULT QueryRelatedBundlesForScopeAndBitness(
static HRESULT QueryPotentialRelatedBundle(
__in BUNDLE_QUERY_CONTEXT* pQueryContext,
__in HKEY hkUninstallKey,
- __in_z LPCWSTR wzRelatedBundleId,
+ __in_z LPCWSTR wzRelatedBundleCode,
__inout BUNDLE_QUERY_CALLBACK_RESULT* pResult
)
{
HRESULT hr = S_OK;
- HKEY hkBundleId = NULL;
+ HKEY hkBundleCode = NULL;
BUNDLE_RELATION_TYPE relationType = BUNDLE_RELATION_NONE;
BUNDLE_QUERY_RELATED_BUNDLE_RESULT bundle = { };
- hr = RegOpenEx(hkUninstallKey, wzRelatedBundleId, KEY_READ, pQueryContext->regBitness, &hkBundleId);
- ButilExitOnFailure(hr, "Failed to open uninstall key for potential related bundle: %ls", wzRelatedBundleId);
+ hr = RegOpenEx(hkUninstallKey, wzRelatedBundleCode, KEY_READ, pQueryContext->regBitness, &hkBundleCode);
+ ButilExitOnFailure(hr, "Failed to open uninstall key for potential related bundle: %ls", wzRelatedBundleCode);
- hr = DetermineRelationType(pQueryContext, hkBundleId, &relationType);
+ hr = DetermineRelationType(pQueryContext, hkBundleCode, &relationType);
if (FAILED(hr))
{
ExitFunction();
@@ -465,21 +465,21 @@ static HRESULT QueryPotentialRelatedBundle(
bundle.installContext = pQueryContext->installContext;
bundle.regBitness = pQueryContext->regBitness;
- bundle.wzBundleId = wzRelatedBundleId;
+ bundle.wzBundleCode = wzRelatedBundleCode;
bundle.relationType = relationType;
- bundle.hkBundle = hkBundleId;
+ bundle.hkBundle = hkBundleCode;
*pResult = pQueryContext->pfnCallback(&bundle, pQueryContext->pvContext);
LExit:
- ReleaseRegKey(hkBundleId);
+ ReleaseRegKey(hkBundleCode);
return hr;
}
static HRESULT DetermineRelationType(
__in BUNDLE_QUERY_CONTEXT* pQueryContext,
- __in HKEY hkBundleId,
+ __in HKEY hkBundleCode,
__out BUNDLE_RELATION_TYPE* pRelationType
)
{
@@ -499,7 +499,7 @@ static HRESULT DetermineRelationType(
*pRelationType = BUNDLE_RELATION_NONE;
- hr = RegReadStringArray(hkBundleId, BUNDLE_REGISTRATION_REGISTRY_BUNDLE_UPGRADE_CODE, &rgsczUpgradeCodes, &cUpgradeCodes);
+ hr = RegReadStringArray(hkBundleCode, BUNDLE_REGISTRATION_REGISTRY_BUNDLE_UPGRADE_CODE, &rgsczUpgradeCodes, &cUpgradeCodes);
if (HRESULT_FROM_WIN32(ERROR_INVALID_DATATYPE) == hr)
{
TraceError(hr, "Failed to read upgrade codes as REG_MULTI_SZ. Trying again as REG_SZ in case of older bundles.");
@@ -507,7 +507,7 @@ static HRESULT DetermineRelationType(
rgsczUpgradeCodes = reinterpret_cast(MemAlloc(sizeof(LPWSTR), TRUE));
ButilExitOnNull(rgsczUpgradeCodes, hr, E_OUTOFMEMORY, "Failed to allocate list for a single upgrade code from older bundle.");
- hr = RegReadString(hkBundleId, BUNDLE_REGISTRATION_REGISTRY_BUNDLE_UPGRADE_CODE, &rgsczUpgradeCodes[0]);
+ hr = RegReadString(hkBundleCode, BUNDLE_REGISTRATION_REGISTRY_BUNDLE_UPGRADE_CODE, &rgsczUpgradeCodes[0]);
if (SUCCEEDED(hr))
{
cUpgradeCodes = 1;
@@ -581,7 +581,7 @@ static HRESULT DetermineRelationType(
}
// Compare addon codes.
- hr = RegReadStringArray(hkBundleId, BUNDLE_REGISTRATION_REGISTRY_BUNDLE_ADDON_CODE, &rgsczAddonCodes, &cAddonCodes);
+ hr = RegReadStringArray(hkBundleCode, BUNDLE_REGISTRATION_REGISTRY_BUNDLE_ADDON_CODE, &rgsczAddonCodes, &cAddonCodes);
if (SUCCEEDED(hr))
{
hr = DictCreateStringListFromArray(&sdAddonCodes, rgsczAddonCodes, cAddonCodes, DICT_FLAG_CASEINSENSITIVE);
@@ -620,7 +620,7 @@ static HRESULT DetermineRelationType(
}
// Compare patch codes.
- hr = RegReadStringArray(hkBundleId, BUNDLE_REGISTRATION_REGISTRY_BUNDLE_PATCH_CODE, &rgsczPatchCodes, &cPatchCodes);
+ hr = RegReadStringArray(hkBundleCode, BUNDLE_REGISTRATION_REGISTRY_BUNDLE_PATCH_CODE, &rgsczPatchCodes, &cPatchCodes);
if (SUCCEEDED(hr))
{
hr = DictCreateStringListFromArray(&sdPatchCodes, rgsczPatchCodes, cPatchCodes, DICT_FLAG_CASEINSENSITIVE);
@@ -659,7 +659,7 @@ static HRESULT DetermineRelationType(
}
// Compare detect codes.
- hr = RegReadStringArray(hkBundleId, BUNDLE_REGISTRATION_REGISTRY_BUNDLE_DETECT_CODE, &rgsczDetectCodes, &cDetectCodes);
+ hr = RegReadStringArray(hkBundleCode, BUNDLE_REGISTRATION_REGISTRY_BUNDLE_DETECT_CODE, &rgsczDetectCodes, &cDetectCodes);
if (SUCCEEDED(hr))
{
hr = DictCreateStringListFromArray(&sdDetectCodes, rgsczDetectCodes, cDetectCodes, DICT_FLAG_CASEINSENSITIVE);
@@ -730,7 +730,7 @@ static HRESULT DetermineRelationType(
}
static HRESULT LocateAndQueryBundleValue(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_opt LPCWSTR wzSubKey,
__in LPCWSTR wzValueName,
__inout HKEY* phKey,
@@ -746,11 +746,11 @@ static HRESULT LocateAndQueryBundleValue(
if (wzSubKey)
{
- hr = StrAllocFormatted(&sczKeypath, L"%ls\\%ls\\%ls", BUNDLE_REGISTRATION_REGISTRY_UNINSTALL_KEY, wzBundleId, wzSubKey);
+ hr = StrAllocFormatted(&sczKeypath, L"%ls\\%ls\\%ls", BUNDLE_REGISTRATION_REGISTRY_UNINSTALL_KEY, wzBundleCode, wzSubKey);
}
else
{
- hr = StrAllocFormatted(&sczKeypath, L"%ls\\%ls", BUNDLE_REGISTRATION_REGISTRY_UNINSTALL_KEY, wzBundleId);
+ hr = StrAllocFormatted(&sczKeypath, L"%ls\\%ls", BUNDLE_REGISTRATION_REGISTRY_UNINSTALL_KEY, wzBundleCode);
}
ButilExitOnFailure(hr, "Failed to allocate bundle uninstall key path.");
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/butil.h b/src/libs/dutil/WixToolset.DUtil/inc/butil.h
index 5d390344e..567d59d9e 100644
--- a/src/libs/dutil/WixToolset.DUtil/inc/butil.h
+++ b/src/libs/dutil/WixToolset.DUtil/inc/butil.h
@@ -31,7 +31,7 @@ typedef enum _BUNDLE_RELATION_TYPE
typedef struct _BUNDLE_QUERY_RELATED_BUNDLE_RESULT
{
- LPCWSTR wzBundleId;
+ LPCWSTR wzBundleCode;
BUNDLE_INSTALL_CONTEXT installContext;
REG_KEY_BITNESS regBitness;
HKEY hkBundle;
@@ -61,7 +61,7 @@ BundleGetBundleInfo - Queries the bundle installation metadata for a given prope
All other returns are unexpected returns from other dutil methods.
********************************************************************/
HRESULT DAPI BundleGetBundleInfo(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_z LPCWSTR wzAttribute,
__deref_out_z LPWSTR* psczValue
);
@@ -84,7 +84,7 @@ BundleGetBundleInfoFixed - Queries the bundle installation metadata for a given
All other returns are unexpected returns from other dutil methods.
********************************************************************/
HRESULT DAPI BundleGetBundleInfoFixed(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_z LPCWSTR wzAttribute,
__out_ecount_opt(*pcchValue) LPWSTR wzValue,
__inout SIZE_T* pcchValue
@@ -109,15 +109,16 @@ HRESULT DAPI BundleEnumRelatedBundle(
__in BUNDLE_INSTALL_CONTEXT context,
__in REG_KEY_BITNESS kbKeyBitness,
__inout PDWORD pdwStartIndex,
- __deref_out_z LPWSTR* psczBundleId
+ __deref_out_z LPWSTR* psczBundleCode
);
/********************************************************************
BundleEnumRelatedBundleFixed - Queries the bundle installation metadata for installs with the given upgrade code
Enumerate 32-bit and 64-bit in two passes.
-NOTE: lpBundleIdBuff is a buffer to receive the bundle GUID. This buffer must be 39 characters long.
- The first 38 characters are for the GUID, and the last character is for the terminating null character.
+NOTE: wzBundleCode is a buffer to receive the bundle GUID. This buffer must be 39 characters long.
+ The first 38 characters are for the GUID, and the last character is for the terminating null character.
+
RETURNS:
E_INVALIDARG
An invalid parameter was passed to the function.
@@ -133,7 +134,7 @@ HRESULT DAPI BundleEnumRelatedBundleFixed(
__in BUNDLE_INSTALL_CONTEXT context,
__in REG_KEY_BITNESS kbKeyBitness,
__inout PDWORD pdwStartIndex,
- __out_ecount(MAX_GUID_CHARS+1) LPWSTR wzBundleId
+ __out_ecount(MAX_GUID_CHARS+1) LPWSTR wzBundleCode
);
/********************************************************************
@@ -155,7 +156,7 @@ BundleGetBundleVariable - Queries the bundle installation metadata for a given v
All other returns are unexpected returns from other dutil methods.
********************************************************************/
HRESULT DAPI BundleGetBundleVariable(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_z LPCWSTR wzVariable,
__deref_out_z LPWSTR* psczValue
);
@@ -180,7 +181,7 @@ BundleGetBundleVariableFixed - Queries the bundle installation metadata for a gi
All other returns are unexpected returns from other dutil methods.
********************************************************************/
HRESULT DAPI BundleGetBundleVariableFixed(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in_z LPCWSTR wzVariable,
__out_ecount_opt(*pcchValue) LPWSTR wzValue,
__inout SIZE_T* pcchValue
diff --git a/src/setup/MetadataTask/GenerateMetadata.cs b/src/setup/MetadataTask/GenerateMetadata.cs
index 645b77507..ddb645ad0 100644
--- a/src/setup/MetadataTask/GenerateMetadata.cs
+++ b/src/setup/MetadataTask/GenerateMetadata.cs
@@ -76,7 +76,7 @@ public override bool Execute()
Description = "Installation for " + bundleSymbol.Name,
License = "MS-RL",
SupportUrl = bundleSymbol.HelpUrl,
- BundleCode = bundleSymbol.BundleId,
+ BundleCode = bundleSymbol.BundleCode,
UpgradeCode = bundleSymbol.UpgradeCode,
AboutUrl = bundleSymbol.AboutUrl,
Architecture = PlatformToArchitecture(bundleSymbol.Platform),
diff --git a/src/setup/ThmViewerPackage/ThmViewerPackage.wxs b/src/setup/ThmViewerPackage/ThmViewerPackage.wxs
index eb399686e..df398d0f0 100644
--- a/src/setup/ThmViewerPackage/ThmViewerPackage.wxs
+++ b/src/setup/ThmViewerPackage/ThmViewerPackage.wxs
@@ -1,6 +1,6 @@
-
+
diff --git a/src/setup/WixAdditionalTools/WixAdditionalTools.wxs b/src/setup/WixAdditionalTools/WixAdditionalTools.wxs
index 6a9f945fc..9369f32ed 100644
--- a/src/setup/WixAdditionalTools/WixAdditionalTools.wxs
+++ b/src/setup/WixAdditionalTools/WixAdditionalTools.wxs
@@ -2,7 +2,7 @@
-
-
+
diff --git a/src/test/burn/ForTestingUseOnlyExtension/ForTestingUseOnlyBurnBackendExtension.cs b/src/test/burn/ForTestingUseOnlyExtension/ForTestingUseOnlyBurnBackendExtension.cs
index fff232743..cb97984fc 100644
--- a/src/test/burn/ForTestingUseOnlyExtension/ForTestingUseOnlyBurnBackendExtension.cs
+++ b/src/test/burn/ForTestingUseOnlyExtension/ForTestingUseOnlyBurnBackendExtension.cs
@@ -37,7 +37,7 @@ private void FinalizeBundleSymbol(IntermediateSection section)
}
var bundleSymbol = section.Symbols.OfType().Single();
- bundleSymbol.ProviderKey = bundleSymbol.BundleId = forTestingUseOnlyBundleSymbol.BundleId;
+ bundleSymbol.ProviderKey = bundleSymbol.BundleCode = forTestingUseOnlyBundleSymbol.BundleCode;
}
}
}
diff --git a/src/test/burn/ForTestingUseOnlyExtension/ForTestingUseOnlyCompiler.cs b/src/test/burn/ForTestingUseOnlyExtension/ForTestingUseOnlyCompiler.cs
index 4963c941d..f6ff7f87c 100644
--- a/src/test/burn/ForTestingUseOnlyExtension/ForTestingUseOnlyCompiler.cs
+++ b/src/test/burn/ForTestingUseOnlyExtension/ForTestingUseOnlyCompiler.cs
@@ -32,7 +32,7 @@ public override void ParseElement(Intermediate intermediate, IntermediateSection
private void ParseForTestingUseOnlyBundleElement(Intermediate intermediate, IntermediateSection section, XElement element)
{
var sourceLineNumbers = this.ParseHelper.GetSourceLineNumbers(element);
- string bundleId = null;
+ string bundleCode = null;
foreach (var attrib in element.Attributes())
{
@@ -41,7 +41,7 @@ private void ParseForTestingUseOnlyBundleElement(Intermediate intermediate, Inte
switch (attrib.Name.LocalName)
{
case "Id":
- bundleId = this.ParseHelper.GetAttributeValue(sourceLineNumbers, attrib);
+ bundleCode = this.ParseHelper.GetAttributeValue(sourceLineNumbers, attrib);
break;
default:
this.ParseHelper.UnexpectedAttribute(element, attrib);
@@ -54,13 +54,13 @@ private void ParseForTestingUseOnlyBundleElement(Intermediate intermediate, Inte
}
}
- if (null == bundleId)
+ if (null == bundleCode)
{
this.Messaging.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, element.Name.LocalName, "Id"));
}
else
{
- bundleId = Guid.Parse(bundleId).ToString("B").ToUpperInvariant();
+ bundleCode = Guid.Parse(bundleCode).ToString("B").ToUpperInvariant();
}
this.ParseHelper.ParseForExtensionElements(this.Context.Extensions, intermediate, section, element);
@@ -69,7 +69,7 @@ private void ParseForTestingUseOnlyBundleElement(Intermediate intermediate, Inte
{
section.AddSymbol(new ForTestingUseOnlyBundleSymbol(sourceLineNumbers, new Identifier(AccessModifier.Global, "ForTestingUseOnlyBundle"))
{
- BundleId = bundleId,
+ BundleCode = bundleCode,
});
}
}
diff --git a/src/test/burn/ForTestingUseOnlyExtension/Symbols/ForTestingUseOnlyBundleSymbol.cs b/src/test/burn/ForTestingUseOnlyExtension/Symbols/ForTestingUseOnlyBundleSymbol.cs
index a17dfe316..6cf9dabba 100644
--- a/src/test/burn/ForTestingUseOnlyExtension/Symbols/ForTestingUseOnlyBundleSymbol.cs
+++ b/src/test/burn/ForTestingUseOnlyExtension/Symbols/ForTestingUseOnlyBundleSymbol.cs
@@ -11,7 +11,7 @@ public static partial class ForTestingUseOnlySymbolDefinitions
ForTestingUseOnlySymbolDefinitionType.ForTestingUseOnlyBundle.ToString(),
new[]
{
- new IntermediateFieldDefinition(nameof(ForTestingUseOnlyBundleSymbolFields.BundleId), IntermediateFieldType.String),
+ new IntermediateFieldDefinition(nameof(ForTestingUseOnlyBundleSymbolFields.BundleCode), IntermediateFieldType.String),
},
typeof(ForTestingUseOnlyBundleSymbol));
}
@@ -23,7 +23,7 @@ namespace ForTestingUseOnly.Symbols
public enum ForTestingUseOnlyBundleSymbolFields
{
- BundleId,
+ BundleCode,
}
public class ForTestingUseOnlyBundleSymbol : IntermediateSymbol
@@ -38,10 +38,10 @@ public ForTestingUseOnlyBundleSymbol(SourceLineNumber sourceLineNumber, Identifi
public IntermediateField this[ForTestingUseOnlyBundleSymbolFields index] => this.Fields[(int)index];
- public string BundleId
+ public string BundleCode
{
- get => this.Fields[(int)ForTestingUseOnlyBundleSymbolFields.BundleId].AsString();
- set => this.Set((int)ForTestingUseOnlyBundleSymbolFields.BundleId, value);
+ get => this.Fields[(int)ForTestingUseOnlyBundleSymbolFields.BundleCode].AsString();
+ set => this.Set((int)ForTestingUseOnlyBundleSymbolFields.BundleCode, value);
}
}
}
diff --git a/src/test/burn/TestData/BAFunctionsTests/BafRelatedBundleVariableTesting/BafRelatedBundleVariableTesting.cpp b/src/test/burn/TestData/BAFunctionsTests/BafRelatedBundleVariableTesting/BafRelatedBundleVariableTesting.cpp
index ba559b058..e65ac5ca1 100644
--- a/src/test/burn/TestData/BAFunctionsTests/BafRelatedBundleVariableTesting/BafRelatedBundleVariableTesting.cpp
+++ b/src/test/burn/TestData/BAFunctionsTests/BafRelatedBundleVariableTesting/BafRelatedBundleVariableTesting.cpp
@@ -14,7 +14,7 @@ class CBafRelatedBundleVariableTesting : public CBalBaseBAFunctions
public: //IBootstrapperApplication
virtual STDMETHODIMP OnDetectRelatedBundle(
- __in_z LPCWSTR wzBundleId,
+ __in_z LPCWSTR wzBundleCode,
__in BOOTSTRAPPER_RELATION_TYPE relationType,
__in_z LPCWSTR wzBundleTag,
__in BOOL fPerMachine,
@@ -27,15 +27,15 @@ class CBafRelatedBundleVariableTesting : public CBalBaseBAFunctions
HRESULT hr = S_OK;
LPWSTR wzValue = NULL;
- hr = BalGetRelatedBundleVariable(wzBundleId, STRING_VARIABLE, &wzValue);
+ hr = BalGetRelatedBundleVariable(wzBundleCode, STRING_VARIABLE, &wzValue);
BalLog(BOOTSTRAPPER_LOG_LEVEL_STANDARD, "Retrieved related bundle variable with BAFunctions: AString = %ws, Error: 0x%x", wzValue, hr);
- hr = BalGetRelatedBundleVariable(wzBundleId, NUMBER_VARIABLE, &wzValue);
+ hr = BalGetRelatedBundleVariable(wzBundleCode, NUMBER_VARIABLE, &wzValue);
BalLog(BOOTSTRAPPER_LOG_LEVEL_STANDARD, "Retrieved related bundle variable with BAFunctions: ANumber = %ws, Error: 0x%x", wzValue, hr);
- hr = __super::OnDetectRelatedBundle(wzBundleId, relationType, wzBundleTag, fPerMachine, wzVersion, fMissingFromCache, pfCancel);
+ hr = __super::OnDetectRelatedBundle(wzBundleCode, relationType, wzBundleTag, fPerMachine, wzVersion, fMissingFromCache, pfCancel);
ReleaseStr(wzValue);
return hr;
diff --git a/src/test/burn/TestData/BundlePackageTests/MultipleBundlePackagesWithRemoteBundle/MultipleBundlePackagesWithRemoteBundle.wxs b/src/test/burn/TestData/BundlePackageTests/MultipleBundlePackagesWithRemoteBundle/MultipleBundlePackagesWithRemoteBundle.wxs
index a0f42ee9f..0d05700f8 100644
--- a/src/test/burn/TestData/BundlePackageTests/MultipleBundlePackagesWithRemoteBundle/MultipleBundlePackagesWithRemoteBundle.wxs
+++ b/src/test/burn/TestData/BundlePackageTests/MultipleBundlePackagesWithRemoteBundle/MultipleBundlePackagesWithRemoteBundle.wxs
@@ -6,13 +6,13 @@
-
+
-
+
diff --git a/src/test/burn/TestData/DependencyTests/BundleF/BundleF.wxs b/src/test/burn/TestData/DependencyTests/BundleF/BundleF.wxs
index cfeda6c41..51d6c5084 100644
--- a/src/test/burn/TestData/DependencyTests/BundleF/BundleF.wxs
+++ b/src/test/burn/TestData/DependencyTests/BundleF/BundleF.wxs
@@ -3,18 +3,18 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/test/burn/TestData/DependencyTests/BundleF_AddOnA/BundleF_AddOnA.wxs b/src/test/burn/TestData/DependencyTests/BundleF_AddOnA/BundleF_AddOnA.wxs
index 78c5493d8..a808b124a 100644
--- a/src/test/burn/TestData/DependencyTests/BundleF_AddOnA/BundleF_AddOnA.wxs
+++ b/src/test/burn/TestData/DependencyTests/BundleF_AddOnA/BundleF_AddOnA.wxs
@@ -5,7 +5,7 @@
-
+
diff --git a/src/test/burn/TestData/DependencyTests/BundleF_AddOnB/BundleF_AddOnB.wxs b/src/test/burn/TestData/DependencyTests/BundleF_AddOnB/BundleF_AddOnB.wxs
index 5da954eaa..24379a56e 100644
--- a/src/test/burn/TestData/DependencyTests/BundleF_AddOnB/BundleF_AddOnB.wxs
+++ b/src/test/burn/TestData/DependencyTests/BundleF_AddOnB/BundleF_AddOnB.wxs
@@ -5,7 +5,7 @@
-
+
diff --git a/src/test/burn/TestData/DependencyTests/BundleF_PatchAv1_0_1/BundleF_PatchAv1_0_1.wxs b/src/test/burn/TestData/DependencyTests/BundleF_PatchAv1_0_1/BundleF_PatchAv1_0_1.wxs
index e23c9f88b..6458fc08f 100644
--- a/src/test/burn/TestData/DependencyTests/BundleF_PatchAv1_0_1/BundleF_PatchAv1_0_1.wxs
+++ b/src/test/burn/TestData/DependencyTests/BundleF_PatchAv1_0_1/BundleF_PatchAv1_0_1.wxs
@@ -2,7 +2,7 @@
-
+
diff --git a/src/test/burn/TestData/DependencyTests/BundleF_PatchAv1_0_2/BundleF_PatchAv1_0_2.wxs b/src/test/burn/TestData/DependencyTests/BundleF_PatchAv1_0_2/BundleF_PatchAv1_0_2.wxs
index b1f60b312..495798b5b 100644
--- a/src/test/burn/TestData/DependencyTests/BundleF_PatchAv1_0_2/BundleF_PatchAv1_0_2.wxs
+++ b/src/test/burn/TestData/DependencyTests/BundleF_PatchAv1_0_2/BundleF_PatchAv1_0_2.wxs
@@ -2,7 +2,7 @@
-
+
diff --git a/src/test/burn/TestData/DependencyTests/BundleFv2/BundleFv2.wxs b/src/test/burn/TestData/DependencyTests/BundleFv2/BundleFv2.wxs
index 509047d62..5dfff3e80 100644
--- a/src/test/burn/TestData/DependencyTests/BundleFv2/BundleFv2.wxs
+++ b/src/test/burn/TestData/DependencyTests/BundleFv2/BundleFv2.wxs
@@ -2,7 +2,7 @@
-
+
diff --git a/src/test/burn/TestData/DependencyTests/BundleJ/BundleJ.wxs b/src/test/burn/TestData/DependencyTests/BundleJ/BundleJ.wxs
index 5207be289..febf46ea2 100644
--- a/src/test/burn/TestData/DependencyTests/BundleJ/BundleJ.wxs
+++ b/src/test/burn/TestData/DependencyTests/BundleJ/BundleJ.wxs
@@ -2,7 +2,7 @@
-
+
diff --git a/src/test/burn/TestData/DependencyTests/BundleJ_Patch/BundleJ_Patch.wxs b/src/test/burn/TestData/DependencyTests/BundleJ_Patch/BundleJ_Patch.wxs
index 3af7bbf20..889fdfbc8 100644
--- a/src/test/burn/TestData/DependencyTests/BundleJ_Patch/BundleJ_Patch.wxs
+++ b/src/test/burn/TestData/DependencyTests/BundleJ_Patch/BundleJ_Patch.wxs
@@ -4,7 +4,7 @@
-
+
diff --git a/src/test/burn/WixTestTools/BundleVerifier.cs b/src/test/burn/WixTestTools/BundleVerifier.cs
index b750c80c9..da61d96e2 100644
--- a/src/test/burn/WixTestTools/BundleVerifier.cs
+++ b/src/test/burn/WixTestTools/BundleVerifier.cs
@@ -62,7 +62,7 @@ public string GetPackageCachePathForCacheId(string cacheId, bool perMachine)
public string GetExpectedCachedBundlePath()
{
var bundleSymbol = this.GetBundleSymbol();
- var cachePath = this.GetPackageCachePathForCacheId(bundleSymbol.BundleId, bundleSymbol.PerMachine);
+ var cachePath = this.GetPackageCachePathForCacheId(bundleSymbol.BundleCode, bundleSymbol.PerMachine);
return Path.Combine(cachePath, Path.GetFileName(this.Bundle));
}
@@ -107,14 +107,14 @@ public bool TryGetRegistration(out BundleRegistration registration)
{
var bundleSymbol = this.GetBundleSymbol();
var x64 = bundleSymbol.Platform != Platform.X86;
- var bundleId = bundleSymbol.BundleId;
+ var bundleCode = bundleSymbol.BundleCode;
if (bundleSymbol.PerMachine)
{
- return BundleRegistration.TryGetPerMachineBundleRegistrationById(bundleId, x64, out registration);
+ return BundleRegistration.TryGetPerMachineBundleRegistrationById(bundleCode, x64, out registration);
}
else
{
- return BundleRegistration.TryGetPerUserBundleRegistrationById(bundleId, out registration);
+ return BundleRegistration.TryGetPerUserBundleRegistrationById(bundleCode, out registration);
}
}
@@ -141,8 +141,8 @@ public void VerifyUnregisteredAndRemovedFromPackageCache()
public void VerifyUnregisteredAndRemovedFromPackageCache(string cachedBundlePath)
{
- Assert.False(this.TryGetRegistration(out _));
- Assert.False(File.Exists(cachedBundlePath));
+ Assert.False(this.TryGetRegistration(out _), $"Bundle cached at '{cachedBundlePath}' should not still be registered.");
+ Assert.False(File.Exists(cachedBundlePath), $"Cached bundle should have been removed from package cache at '{cachedBundlePath}'.");
}
public void RemovePackageFromCache(string packageId)
diff --git a/src/tools/heat/Serialize/wix.cs b/src/tools/heat/Serialize/wix.cs
index cb62079df..504959fdb 100644
--- a/src/tools/heat/Serialize/wix.cs
+++ b/src/tools/heat/Serialize/wix.cs
@@ -9319,7 +9319,7 @@ public virtual void OutputXml(XmlWriter writer)
writer.WriteStartElement("RelatedBundle", "http://wixtoolset.org/schemas/v4/wxs");
if (this.idFieldSet)
{
- writer.WriteAttributeString("Id", this.idField);
+ writer.WriteAttributeString("Code", this.idField);
}
if (this.actionFieldSet)
{
@@ -24008,7 +24008,7 @@ public YesNoType Advertise
/// The Formatted string providing the full path to the language neutral file containing the MUI Manifest. Generally
/// authored using [#filekey] form. When this attribute is specified, the DisplayResourceId attribute must also
/// be provided.
- ///
+ ///
/// This attribute is only used on Windows Vista and above. If this attribute is not populated and the install
/// is running on Vista and above, the value in the Name attribute is used. If this attribute is populated and
/// the install is running on Vista and above, the value in the Name attribute is ignored.
@@ -24029,7 +24029,7 @@ public string DisplayResourceDll
///
/// The display name index for the shortcut. This must be a non-negative number. When this attribute is specified, the
/// DisplayResourceDll attribute must also be provided.
- ///
+ ///
/// This attribute is only used on Windows Vista and above. If this attribute is not specified and the install
/// is running on Vista and above, the value in the Name attribute is used. If this attribute is specified and
/// the install is running on Vista and above, the value in the Name attribute is ignored.
@@ -24051,7 +24051,7 @@ public int DisplayResourceId
/// The Formatted string providing the full path to the language neutral file containing the MUI Manifest. Generally
/// authored using [#filekey] form. When this attribute is specified, the DescriptionResourceId attribute must also
/// be provided.
- ///
+ ///
/// This attribute is only used on Windows Vista and above. If this attribute is not specified and the install
/// is running on Vista and above, the value in the Name attribute is used. If this attribute is provided and
/// the install is running on Vista and above, the value in the Name attribute is ignored.
@@ -24072,7 +24072,7 @@ public string DescriptionResourceDll
///
/// The description name index for the shortcut. This must be a non-negative number. When this attribute is specified,
/// the DescriptionResourceDll attribute must also be populated.
- ///
+ ///
/// This attribute is only used on Windows Vista and above. If this attribute is not specified and the install
/// is running on Vista and above, the value in the Name attribute is used. If this attribute is populated and the
/// install is running on Vista and above, the value in the Name attribute is ignored.
@@ -27922,7 +27922,7 @@ public enum ActionType
///
/// Used to create a registry value. For multi-string values, this can be used to prepend or append values.
- ///
+ ///
/// For legacy authoring: Use several of these elements to specify each registry value in a multiString registry value. This element
/// cannot be used if the Value attribute is specified unless the Type attribute is set to 'multiString'. The
/// values should go in the text area of the RegistryValue element.
@@ -39331,7 +39331,7 @@ public string FileSource
///
/// The name of the directory.
- ///
+ ///
/// Do not specify this attribute if this directory represents
/// the same directory as the parent (see the Windows Installer SDK's
///
@@ -39387,7 +39387,7 @@ public string ShortSourceName
///
/// The name of the directory on the source media.
/// If this attribute is not specified, Windows Installer will default to the Name attribute.
- ///
+ ///
/// In prior versions of the WiX toolset, this attribute specified the short source directory name.
/// This attribute's value may now be either a short or long directory name.
/// If a short directory name is specified, the ShortSourceName attribute may not be specified.
@@ -39917,57 +39917,57 @@ public ISchemaElement ParentElement
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class UpgradeVersion : ISchemaElement, ISetAttributes
{
-
+
private string minimumField;
-
+
private bool minimumFieldSet;
-
+
private string maximumField;
-
+
private bool maximumFieldSet;
-
+
private string languageField;
-
+
private bool languageFieldSet;
-
+
private string removeFeaturesField;
-
+
private bool removeFeaturesFieldSet;
-
+
private string propertyField;
-
+
private bool propertyFieldSet;
-
+
private YesNoType migrateFeaturesField;
-
+
private bool migrateFeaturesFieldSet;
-
+
private YesNoType onlyDetectField;
-
+
private bool onlyDetectFieldSet;
-
+
private YesNoType ignoreRemoveFailureField;
-
+
private bool ignoreRemoveFailureFieldSet;
-
+
private YesNoType includeMinimumField;
-
+
private bool includeMinimumFieldSet;
-
+
private YesNoType includeMaximumField;
-
+
private bool includeMaximumFieldSet;
-
+
private YesNoType excludeLanguagesField;
-
+
private bool excludeLanguagesFieldSet;
-
+
private string contentField;
-
+
private bool contentFieldSet;
-
+
private ISchemaElement parentElement;
-
+
///
/// Specifies the lower bound on the range of product versions to be detected by FindRelatedProducts.
///
@@ -39983,7 +39983,7 @@ public string Minimum
this.minimumField = value;
}
}
-
+
///
/// Specifies the upper boundary of the range of product versions detected by FindRelatedProducts.
///
@@ -39999,7 +39999,7 @@ public string Maximum
this.maximumField = value;
}
}
-
+
///
/// Specifies the set of languages detected by FindRelatedProducts. Enter a list of numeric language identifiers (LANGID) separated by commas (,). Leave this value null to specify all languages. Set ExcludeLanguages to "yes" in order detect all languages, excluding the languages listed in this value.
///
@@ -40015,7 +40015,7 @@ public string Language
this.languageField = value;
}
}
-
+
///
/// The installer sets the REMOVE property to features specified in this column. The features to be removed can be determined at run time. The Formatted string entered in this field must evaluate to a comma-delimited list of feature names. For example: [Feature1],[Feature2],[Feature3]. No features are removed if the field contains formatted text that evaluates to an empty string. The installer sets REMOVE=ALL only if the Remove field is empty.
///
@@ -40031,7 +40031,7 @@ public string RemoveFeatures
this.removeFeaturesField = value;
}
}
-
+
///
/// When the FindRelatedProducts action detects a related product installed on the system, it appends the product code to the property specified in this field. Windows Installer documentation for the
///
@@ -40047,7 +40047,7 @@ public string Property
this.propertyField = value;
}
}
-
+
///
/// Set to "yes" to migrate feature states from upgraded products by enabling the logic in the MigrateFeatureStates action.
///
@@ -40063,7 +40063,7 @@ public YesNoType MigrateFeatures
this.migrateFeaturesField = value;
}
}
-
+
///
/// Set to "yes" to detect products and applications but do not uninstall.
///
@@ -40079,7 +40079,7 @@ public YesNoType OnlyDetect
this.onlyDetectField = value;
}
}
-
+
///
/// Set to "yes" to continue installation upon failure to remove a product or application.
///
@@ -40095,7 +40095,7 @@ public YesNoType IgnoreRemoveFailure
this.ignoreRemoveFailureField = value;
}
}
-
+
///
/// Set to "no" to make the range of versions detected exclude the value specified in Minimum. This attribute is "yes" by default.
///
@@ -40111,7 +40111,7 @@ public YesNoType IncludeMinimum
this.includeMinimumField = value;
}
}
-
+
///
/// Set to "yes" to make the range of versions detected include the value specified in Maximum.
///
@@ -40127,7 +40127,7 @@ public YesNoType IncludeMaximum
this.includeMaximumField = value;
}
}
-
+
///
/// Set to "yes" to detect all languages, excluding the languages listed in the Language attribute.
///
@@ -40143,7 +40143,7 @@ public YesNoType ExcludeLanguages
this.excludeLanguagesField = value;
}
}
-
+
public string Content
{
get
@@ -40156,7 +40156,7 @@ public string Content
this.contentField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -40168,7 +40168,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -40272,7 +40272,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
void ISetAttributes.SetAttribute(string name, string value)
@@ -40343,22 +40343,22 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
///
/// Upgrade info for a particular UpgradeCode
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class Upgrade : IParentElement, ICreateChildren, ISchemaElement, ISetAttributes
{
-
+
private ElementCollection children;
-
+
private string idField;
-
+
private bool idFieldSet;
-
+
private ISchemaElement parentElement;
-
+
public Upgrade()
{
ElementCollection childCollection0 = new ElementCollection(ElementCollection.CollectionType.Choice);
@@ -40366,7 +40366,7 @@ public Upgrade()
childCollection0.AddItem(new ElementCollection.ChoiceItem(typeof(Property)));
this.children = childCollection0;
}
-
+
public virtual IEnumerable Children
{
get
@@ -40374,7 +40374,7 @@ public virtual IEnumerable Children
return this.children;
}
}
-
+
[SuppressMessage("Microsoft.Design", "CA1043:UseIntegralOrStringArgumentForIndexers")]
public virtual IEnumerable this[System.Type childType]
{
@@ -40383,7 +40383,7 @@ public virtual IEnumerable this[System.Type childType]
return this.children.Filter(childType);
}
}
-
+
///
/// This value specifies the upgrade code for the products that are to be detected by the FindRelatedProducts action.
///
@@ -40399,7 +40399,7 @@ public string Id
this.idField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -40411,7 +40411,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
public virtual void AddChild(ISchemaElement child)
{
if ((null == child))
@@ -40421,7 +40421,7 @@ public virtual void AddChild(ISchemaElement child)
this.children.AddElement(child);
child.ParentElement = this;
}
-
+
public virtual void RemoveChild(ISchemaElement child)
{
if ((null == child))
@@ -40431,7 +40431,7 @@ public virtual void RemoveChild(ISchemaElement child)
this.children.RemoveElement(child);
child.ParentElement = null;
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
ISchemaElement ICreateChildren.CreateChild(string childName)
{
@@ -40454,7 +40454,7 @@ ISchemaElement ICreateChildren.CreateChild(string childName)
}
return childValue;
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -40476,7 +40476,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -40491,7 +40491,7 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
///
/// A feature for the Feature table. Features are the smallest installable unit. See msi.chm for more
/// detailed information on the myriad installation options for a feature.
@@ -40499,51 +40499,51 @@ void ISetAttributes.SetAttribute(string name, string value)
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class Feature : IParentElement, ICreateChildren, ISchemaElement, ISetAttributes
{
-
+
private ElementCollection children;
-
+
private string idField;
-
+
private bool idFieldSet;
-
+
private AbsentType absentField;
-
+
private bool absentFieldSet;
-
+
private AllowAdvertiseType allowAdvertiseField;
-
+
private bool allowAdvertiseFieldSet;
-
+
private string configurableDirectoryField;
-
+
private bool configurableDirectoryFieldSet;
-
+
private string descriptionField;
-
+
private bool descriptionFieldSet;
-
+
private string displayField;
-
+
private bool displayFieldSet;
-
+
private InstallDefaultType installDefaultField;
-
+
private bool installDefaultFieldSet;
-
+
private int levelField;
-
+
private bool levelFieldSet;
-
+
private string titleField;
-
+
private bool titleFieldSet;
-
+
private TypicalDefaultType typicalDefaultField;
-
+
private bool typicalDefaultFieldSet;
-
+
private ISchemaElement parentElement;
-
+
public Feature()
{
ElementCollection childCollection0 = new ElementCollection(ElementCollection.CollectionType.Choice);
@@ -40558,7 +40558,7 @@ public Feature()
childCollection0.AddItem(new ElementCollection.ChoiceItem(typeof(ISchemaElement)));
this.children = childCollection0;
}
-
+
public virtual IEnumerable Children
{
get
@@ -40566,7 +40566,7 @@ public virtual IEnumerable Children
return this.children;
}
}
-
+
[SuppressMessage("Microsoft.Design", "CA1043:UseIntegralOrStringArgumentForIndexers")]
public virtual IEnumerable this[System.Type childType]
{
@@ -40575,7 +40575,7 @@ public virtual IEnumerable this[System.Type childType]
return this.children.Filter(childType);
}
}
-
+
///
/// Unique identifier of the feature.
///
@@ -40591,7 +40591,7 @@ public string Id
this.idField = value;
}
}
-
+
///
/// This attribute determines if a user will have the option to set a feature to absent in the user interface.
///
@@ -40607,7 +40607,7 @@ public AbsentType Absent
this.absentField = value;
}
}
-
+
///
/// This attribute determines the possible advertise states for this feature.
///
@@ -40623,7 +40623,7 @@ public AllowAdvertiseType AllowAdvertise
this.allowAdvertiseField = value;
}
}
-
+
///
/// Specify the Id of a Directory that can be configured by the user at installation time. This identifier
/// must be a public property and therefore completely uppercase.
@@ -40640,7 +40640,7 @@ public string ConfigurableDirectory
this.configurableDirectoryField = value;
}
}
-
+
///
/// Longer string of text describing the feature. This localizable string is displayed by the
/// Text Control of the Selection Dialog.
@@ -40657,7 +40657,7 @@ public string Description
this.descriptionField = value;
}
}
-
+
///
/// Determines the initial display of this feature in the feature tree.
/// This attribute's value should be one of the following:
@@ -40674,7 +40674,7 @@ public string Display
this.displayField = value;
}
}
-
+
///
/// This attribute determines the default install/run location of a feature. This attribute cannot be specified
/// if the value of the FollowParent attribute is 'yes' since that would ask the installer to force this feature
@@ -40692,7 +40692,7 @@ public InstallDefaultType InstallDefault
this.installDefaultField = value;
}
}
-
+
///
/// Sets the install level of this feature. A value of 0 will disable the feature. Processing the
/// Condition Table can modify the level value (this is set via the Condition child element). The
@@ -40710,7 +40710,7 @@ public int Level
this.levelField = value;
}
}
-
+
///
/// Short string of text identifying the feature. This string is listed as an item by the
/// SelectionTree control of the Selection Dialog.
@@ -40727,7 +40727,7 @@ public string Title
this.titleField = value;
}
}
-
+
///
/// This attribute determines the default advertise state of the feature.
///
@@ -40743,7 +40743,7 @@ public TypicalDefaultType TypicalDefault
this.typicalDefaultField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -40755,7 +40755,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
public virtual void AddChild(ISchemaElement child)
{
if ((null == child))
@@ -40765,7 +40765,7 @@ public virtual void AddChild(ISchemaElement child)
this.children.AddElement(child);
child.ParentElement = this;
}
-
+
public virtual void RemoveChild(ISchemaElement child)
{
if ((null == child))
@@ -40775,7 +40775,7 @@ public virtual void RemoveChild(ISchemaElement child)
this.children.RemoveElement(child);
child.ParentElement = null;
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
ISchemaElement ICreateChildren.CreateChild(string childName)
@@ -40823,7 +40823,7 @@ ISchemaElement ICreateChildren.CreateChild(string childName)
}
return childValue;
}
-
+
///
/// Parses a AbsentType from a string.
///
@@ -40833,7 +40833,7 @@ public static AbsentType ParseAbsentType(string value)
Feature.TryParseAbsentType(value, out parsedValue);
return parsedValue;
}
-
+
///
/// Tries to parse a AbsentType from a string.
///
@@ -40862,7 +40862,7 @@ public static bool TryParseAbsentType(string value, out AbsentType parsedValue)
}
return true;
}
-
+
///
/// Parses a AllowAdvertiseType from a string.
///
@@ -40872,7 +40872,7 @@ public static AllowAdvertiseType ParseAllowAdvertiseType(string value)
Feature.TryParseAllowAdvertiseType(value, out parsedValue);
return parsedValue;
}
-
+
///
/// Tries to parse a AllowAdvertiseType from a string.
///
@@ -40908,7 +40908,7 @@ public static bool TryParseAllowAdvertiseType(string value, out AllowAdvertiseTy
}
return true;
}
-
+
///
/// Parses a InstallDefaultType from a string.
///
@@ -40918,7 +40918,7 @@ public static InstallDefaultType ParseInstallDefaultType(string value)
Feature.TryParseInstallDefaultType(value, out parsedValue);
return parsedValue;
}
-
+
///
/// Tries to parse a InstallDefaultType from a string.
///
@@ -40954,7 +40954,7 @@ public static bool TryParseInstallDefaultType(string value, out InstallDefaultTy
}
return true;
}
-
+
///
/// Parses a TypicalDefaultType from a string.
///
@@ -40964,7 +40964,7 @@ public static TypicalDefaultType ParseTypicalDefaultType(string value)
Feature.TryParseTypicalDefaultType(value, out parsedValue);
return parsedValue;
}
-
+
///
/// Tries to parse a TypicalDefaultType from a string.
///
@@ -40993,7 +40993,7 @@ public static bool TryParseTypicalDefaultType(string value, out TypicalDefaultTy
}
return true;
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -41088,7 +41088,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
void ISetAttributes.SetAttribute(string name, string value)
@@ -41148,20 +41148,20 @@ void ISetAttributes.SetAttribute(string name, string value)
this.typicalDefaultFieldSet = true;
}
}
-
+
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public enum AbsentType
{
-
+
IllegalValue = int.MaxValue,
-
+
NotSet = -1,
-
+
///
/// Allows the user interface to display an option to change the feature state to Absent.
///
allow,
-
+
///
/// Prevents the user interface from displaying an option to change the feature state
/// to Absent by setting the msidbFeatureAttributesUIDisallowAbsent attribute. This will force the feature
@@ -41169,93 +41169,93 @@ public enum AbsentType
///
disallow,
}
-
+
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public enum AllowAdvertiseType
{
-
+
IllegalValue = int.MaxValue,
-
+
NotSet = -1,
-
+
///
/// Prevents this feature from being advertised by setting the msidbFeatureAttributesDisallowAdvertise attribute.
///
no,
-
+
///
/// Prevents advertising for this feature if the operating system shell does not support Windows Installer
/// descriptors by setting the msidbFeatureAttributesNoUnsupportedAdvertise attribute.
///
system,
-
+
///
/// Allows the feature to be advertised.
///
yes,
}
-
+
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public enum InstallDefaultType
{
-
+
IllegalValue = int.MaxValue,
-
+
NotSet = -1,
-
+
///
/// Forces the feature to follow the same installation state as its parent feature.
///
followParent,
-
+
///
/// Favors installing this feature locally by setting the msidbFeatureAttributesFavorLocal attribute.
///
local,
-
+
///
/// Favors running this feature from source by setting the msidbFeatureAttributesFavorSource attribute.
///
source,
}
-
+
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public enum TypicalDefaultType
{
-
+
IllegalValue = int.MaxValue,
-
+
NotSet = -1,
-
+
///
/// Sets the feature to be advertised by setting the msidbFeatureAttributesFavorAdvertise attribute.
/// This value cannot be set if the value of the AllowAdvertise attribute is 'no' since that would ask the installer to
/// disallow the advertised state for this feature while at the same time favoring it.
///
advertise,
-
+
///
/// Sets the feature to the default non-advertised installation option.
///
install,
}
}
-
+
///
/// Groups together multiple components, features, and merges to be used in other locations.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class FeatureGroup : IParentElement, ICreateChildren, ISchemaElement, ISetAttributes
{
-
+
private ElementCollection children;
-
+
private string idField;
-
+
private bool idFieldSet;
-
+
private ISchemaElement parentElement;
-
+
public FeatureGroup()
{
ElementCollection childCollection0 = new ElementCollection(ElementCollection.CollectionType.Choice);
@@ -41269,7 +41269,7 @@ public FeatureGroup()
childCollection0.AddItem(new ElementCollection.ChoiceItem(typeof(ISchemaElement)));
this.children = childCollection0;
}
-
+
public virtual IEnumerable Children
{
get
@@ -41277,7 +41277,7 @@ public virtual IEnumerable Children
return this.children;
}
}
-
+
[SuppressMessage("Microsoft.Design", "CA1043:UseIntegralOrStringArgumentForIndexers")]
public virtual IEnumerable this[System.Type childType]
{
@@ -41286,7 +41286,7 @@ public virtual IEnumerable this[System.Type childType]
return this.children.Filter(childType);
}
}
-
+
///
/// Identifier for the FeatureGroup.
///
@@ -41302,7 +41302,7 @@ public string Id
this.idField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -41314,7 +41314,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
public virtual void AddChild(ISchemaElement child)
{
if ((null == child))
@@ -41324,7 +41324,7 @@ public virtual void AddChild(ISchemaElement child)
this.children.AddElement(child);
child.ParentElement = this;
}
-
+
public virtual void RemoveChild(ISchemaElement child)
{
if ((null == child))
@@ -41334,7 +41334,7 @@ public virtual void RemoveChild(ISchemaElement child)
this.children.RemoveElement(child);
child.ParentElement = null;
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
ISchemaElement ICreateChildren.CreateChild(string childName)
@@ -41378,7 +41378,7 @@ ISchemaElement ICreateChildren.CreateChild(string childName)
}
return childValue;
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -41400,7 +41400,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -41415,28 +41415,28 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
///
/// Create a reference to a FeatureGroup in another Fragment.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class FeatureGroupRef : ISchemaElement, ISetAttributes
{
-
+
private string idField;
-
+
private bool idFieldSet;
-
+
private YesNoType ignoreParentField;
-
+
private bool ignoreParentFieldSet;
-
+
private YesNoType primaryField;
-
+
private bool primaryFieldSet;
-
+
private ISchemaElement parentElement;
-
+
///
/// The identifier of the FeatureGroup to reference.
///
@@ -41452,7 +41452,7 @@ public string Id
this.idField = value;
}
}
-
+
///
/// Normally feature group references that end up nested under a parent element create a
/// connection to that parent. This behavior is undesirable when trying to simply reference
@@ -41471,7 +41471,7 @@ public YesNoType IgnoreParent
this.ignoreParentField = value;
}
}
-
+
///
/// Set this attribute to 'yes' in order to make the parent feature of this group
/// the primary feature for any components and merges contained in the group.
@@ -41495,7 +41495,7 @@ public YesNoType Primary
this.primaryField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -41507,7 +41507,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -41546,7 +41546,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -41571,26 +41571,26 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
///
/// Create a reference to a Feature element in another Fragment.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class FeatureRef : IParentElement, ICreateChildren, ISchemaElement, ISetAttributes
{
-
+
private ElementCollection children;
-
+
private string idField;
-
+
private bool idFieldSet;
-
+
private YesNoType ignoreParentField;
-
+
private bool ignoreParentFieldSet;
-
+
private ISchemaElement parentElement;
-
+
public FeatureRef()
{
ElementCollection childCollection0 = new ElementCollection(ElementCollection.CollectionType.Choice);
@@ -41605,7 +41605,7 @@ public FeatureRef()
childCollection0.AddItem(new ElementCollection.ChoiceItem(typeof(ISchemaElement)));
this.children = childCollection0;
}
-
+
public virtual IEnumerable Children
{
get
@@ -41613,7 +41613,7 @@ public virtual IEnumerable Children
return this.children;
}
}
-
+
[SuppressMessage("Microsoft.Design", "CA1043:UseIntegralOrStringArgumentForIndexers")]
public virtual IEnumerable this[System.Type childType]
{
@@ -41622,7 +41622,7 @@ public virtual IEnumerable this[System.Type childType]
return this.children.Filter(childType);
}
}
-
+
///
/// The identifier of the Feature element to reference.
///
@@ -41638,7 +41638,7 @@ public string Id
this.idField = value;
}
}
-
+
///
/// Normally feature references that are nested under a parent element create a connection to that
/// parent. This behavior is undesirable when trying to simply reference a Feature in a different
@@ -41657,7 +41657,7 @@ public YesNoType IgnoreParent
this.ignoreParentField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -41669,7 +41669,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
public virtual void AddChild(ISchemaElement child)
{
if ((null == child))
@@ -41679,7 +41679,7 @@ public virtual void AddChild(ISchemaElement child)
this.children.AddElement(child);
child.ParentElement = this;
}
-
+
public virtual void RemoveChild(ISchemaElement child)
{
if ((null == child))
@@ -41689,7 +41689,7 @@ public virtual void RemoveChild(ISchemaElement child)
this.children.RemoveElement(child);
child.ParentElement = null;
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
ISchemaElement ICreateChildren.CreateChild(string childName)
@@ -41737,7 +41737,7 @@ ISchemaElement ICreateChildren.CreateChild(string childName)
}
return childValue;
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -41770,7 +41770,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -41790,54 +41790,54 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
///
/// Media element describes a disk that makes up the source media for the installation.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class Media : IParentElement, ICreateChildren, ISchemaElement, ISetAttributes
{
-
+
private ElementCollection children;
-
+
private string idField;
-
+
private bool idFieldSet;
-
+
private string cabinetField;
-
+
private bool cabinetFieldSet;
-
+
private CompressionLevelType compressionLevelField;
-
+
private bool compressionLevelFieldSet;
-
+
private string diskPromptField;
-
+
private bool diskPromptFieldSet;
-
+
private YesNoType embedCabField;
-
+
private bool embedCabFieldSet;
-
+
private string layoutField;
-
+
private bool layoutFieldSet;
-
+
private string srcField;
-
+
private bool srcFieldSet;
-
+
private string volumeLabelField;
-
+
private bool volumeLabelFieldSet;
-
+
private string sourceField;
-
+
private bool sourceFieldSet;
-
+
private ISchemaElement parentElement;
-
+
public Media()
{
ElementCollection childCollection0 = new ElementCollection(ElementCollection.CollectionType.Sequence);
@@ -41848,7 +41848,7 @@ public Media()
childCollection0.AddCollection(childCollection1);
this.children = childCollection0;
}
-
+
public virtual IEnumerable Children
{
get
@@ -41856,7 +41856,7 @@ public virtual IEnumerable Children
return this.children;
}
}
-
+
[SuppressMessage("Microsoft.Design", "CA1043:UseIntegralOrStringArgumentForIndexers")]
public virtual IEnumerable this[System.Type childType]
{
@@ -41865,7 +41865,7 @@ public virtual IEnumerable this[System.Type childType]
return this.children.Filter(childType);
}
}
-
+
///
/// Disk identifier for Media table. This number must be equal to or greater than 1.
///
@@ -41881,7 +41881,7 @@ public string Id
this.idField = value;
}
}
-
+
///
/// The name of the cabinet if some or all of the files stored on the media are in a cabinet file. If no cabinets are used, this attribute must not be set.
///
@@ -41897,7 +41897,7 @@ public string Cabinet
this.cabinetField = value;
}
}
-
+
///
/// Indicates the compression level for the Media's cabinet. This attribute can
/// only be used in conjunction with the Cabinet attribute. The default is 'mszip'.
@@ -41914,7 +41914,7 @@ public CompressionLevelType CompressionLevel
this.compressionLevelField = value;
}
}
-
+
///
/// The disk name, which is usually the visible text printed on the disk. This localizable text is used to prompt the user when this disk needs to be inserted. This value will be used in the "[1]" of the DiskPrompt Property. Using this attribute will require you to define a DiskPrompt Property.
///
@@ -41930,7 +41930,7 @@ public string DiskPrompt
this.diskPromptField = value;
}
}
-
+
///
/// Instructs the binder to embed the cabinet in the product if 'yes'. This attribute can only be specified in conjunction with the Cabinet attribute.
///
@@ -41946,7 +41946,7 @@ public YesNoType EmbedCab
this.embedCabField = value;
}
}
-
+
///
/// This attribute specifies the root directory for the uncompressed files that
/// are a part of this Media element. By default, the src will be the output
@@ -41968,7 +41968,7 @@ public string Layout
this.layoutField = value;
}
}
-
+
[SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly")]
public string src
{
@@ -41982,7 +41982,7 @@ public string src
this.srcField = value;
}
}
-
+
///
/// The label attributed to the volume. This is the volume label returned
/// by the GetVolumeInformation function. If the SourceDir property refers
@@ -42003,7 +42003,7 @@ public string VolumeLabel
this.volumeLabelField = value;
}
}
-
+
///
/// Optional property that identifies the source of the embedded cabinet.
/// If a cabinet is specified for a patch, this property should be defined
@@ -42025,7 +42025,7 @@ public string Source
this.sourceField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -42037,7 +42037,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
public virtual void AddChild(ISchemaElement child)
{
if ((null == child))
@@ -42047,7 +42047,7 @@ public virtual void AddChild(ISchemaElement child)
this.children.AddElement(child);
child.ParentElement = this;
}
-
+
public virtual void RemoveChild(ISchemaElement child)
{
if ((null == child))
@@ -42057,7 +42057,7 @@ public virtual void RemoveChild(ISchemaElement child)
this.children.RemoveElement(child);
child.ParentElement = null;
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
ISchemaElement ICreateChildren.CreateChild(string childName)
{
@@ -42084,7 +42084,7 @@ ISchemaElement ICreateChildren.CreateChild(string childName)
}
return childValue;
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -42165,7 +42165,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
void ISetAttributes.SetAttribute(string name, string value)
@@ -42221,7 +42221,7 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
///
/// MediaTeplate element describes information to automatically assign files to cabinets.
/// A maximumum number of cabinets created is 999.
@@ -42229,37 +42229,37 @@ void ISetAttributes.SetAttribute(string name, string value)
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class MediaTemplate : ISchemaElement, ISetAttributes
{
-
+
private string cabinetTemplateField;
-
+
private bool cabinetTemplateFieldSet;
-
+
private CompressionLevelType compressionLevelField;
-
+
private bool compressionLevelFieldSet;
-
+
private string diskPromptField;
-
+
private bool diskPromptFieldSet;
-
+
private YesNoType embedCabField;
-
+
private bool embedCabFieldSet;
-
+
private string volumeLabelField;
-
+
private bool volumeLabelFieldSet;
-
+
private int maximumUncompressedMediaSizeField;
-
+
private bool maximumUncompressedMediaSizeFieldSet;
-
+
private int maximumCabinetSizeForLargeFileSplittingField;
-
+
private bool maximumCabinetSizeForLargeFileSplittingFieldSet;
-
+
private ISchemaElement parentElement;
-
+
///
/// Templated name of the cabinet if some or all of the files stored on the media are in
/// a cabinet file. This name must begin with either a letter or an underscore, contain
@@ -42278,7 +42278,7 @@ public string CabinetTemplate
this.cabinetTemplateField = value;
}
}
-
+
///
/// Indicates the compression level for the Media's cabinet. This attribute can
/// only be used in conjunction with the Cabinet attribute. The default is 'mszip'.
@@ -42295,7 +42295,7 @@ public CompressionLevelType CompressionLevel
this.compressionLevelField = value;
}
}
-
+
///
/// The disk name, which is usually the visible text printed on the disk. This localizable text is used
/// to prompt the user when this disk needs to be inserted. This value will be used in the "[1]" of the
@@ -42313,7 +42313,7 @@ public string DiskPrompt
this.diskPromptField = value;
}
}
-
+
///
/// Instructs the binder to embed the cabinets in the product if 'yes'.
///
@@ -42329,7 +42329,7 @@ public YesNoType EmbedCab
this.embedCabField = value;
}
}
-
+
///
/// The label attributed to the volume. This is the volume label returned
/// by the GetVolumeInformation function. If the SourceDir property refers
@@ -42350,7 +42350,7 @@ public string VolumeLabel
this.volumeLabelField = value;
}
}
-
+
///
/// Size of uncompressed files in each cabinet, in megabytes. WIX_MUMS environment variable
/// can be used to override this value. Default value is 200 MB.
@@ -42390,7 +42390,7 @@ public int MaximumCabinetSizeForLargeFileSplitting
this.maximumCabinetSizeForLargeFileSplittingField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -42402,7 +42402,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
///
/// Parses a CompressionLevelType from a string.
///
@@ -42412,7 +42412,7 @@ public static CompressionLevelType ParseCompressionLevelType(string value)
MediaTemplate.TryParseCompressionLevelType(value, out parsedValue);
return parsedValue;
}
-
+
///
/// Tries to parse a CompressionLevelType from a string.
///
@@ -42462,7 +42462,7 @@ public static bool TryParseCompressionLevelType(string value, out CompressionLev
}
return true;
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -42530,7 +42530,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -42574,27 +42574,27 @@ void ISetAttributes.SetAttribute(string name, string value)
this.maximumCabinetSizeForLargeFileSplittingFieldSet = true;
}
}
-
+
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public enum CompressionLevelType
{
-
+
IllegalValue = int.MaxValue,
-
+
NotSet = -1,
-
+
high,
-
+
low,
-
+
medium,
-
+
mszip,
-
+
none,
}
}
-
+
///
/// This element has been deprecated.
/// Use the Binary/@SuppressModularization, CustomAction/@SuppressModularization, or Property/@SuppressModularization attributes instead.
@@ -42602,17 +42602,17 @@ public enum CompressionLevelType
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class IgnoreModularization : ISchemaElement, ISetAttributes
{
-
+
private string nameField;
-
+
private bool nameFieldSet;
-
+
private TypeType typeField;
-
+
private bool typeFieldSet;
-
+
private ISchemaElement parentElement;
-
+
///
/// The name of the item to ignore modularization for.
///
@@ -42628,7 +42628,7 @@ public string Name
this.nameField = value;
}
}
-
+
///
/// The type of the item to ignore modularization for.
///
@@ -42644,7 +42644,7 @@ public TypeType Type
this.typeField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -42656,7 +42656,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
///
/// Parses a TypeType from a string.
///
@@ -42666,7 +42666,7 @@ public static TypeType ParseTypeType(string value)
IgnoreModularization.TryParseTypeType(value, out parsedValue);
return parsedValue;
}
-
+
///
/// Tries to parse a TypeType from a string.
///
@@ -42702,7 +42702,7 @@ public static bool TryParseTypeType(string value, out TypeType parsedValue)
}
return true;
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -42734,7 +42734,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -42753,23 +42753,23 @@ void ISetAttributes.SetAttribute(string name, string value)
this.typeFieldSet = true;
}
}
-
+
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public enum TypeType
{
-
+
IllegalValue = int.MaxValue,
-
+
NotSet = -1,
-
+
Action,
-
+
Property,
-
+
Directory,
}
}
-
+
///
/// Specifies a custom action to be added to the MSI CustomAction table. Various combinations of the attributes for this element
/// correspond to different custom action types. For more information about custom actions see the
@@ -42777,93 +42777,93 @@ public enum TypeType
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class CustomAction : ISchemaElement, ISetAttributes
{
-
+
private string idField;
-
+
private bool idFieldSet;
-
+
private string binaryKeyField;
-
+
private bool binaryKeyFieldSet;
-
+
private string fileKeyField;
-
+
private bool fileKeyFieldSet;
-
+
private string propertyField;
-
+
private bool propertyFieldSet;
-
+
private string directoryField;
-
+
private bool directoryFieldSet;
-
+
private string dllEntryField;
-
+
private bool dllEntryFieldSet;
-
+
private string exeCommandField;
-
+
private bool exeCommandFieldSet;
-
+
private string jScriptCallField;
-
+
private bool jScriptCallFieldSet;
-
+
private string vBScriptCallField;
-
+
private bool vBScriptCallFieldSet;
-
+
private ScriptType scriptField;
-
+
private bool scriptFieldSet;
-
+
private YesNoType suppressModularizationField;
-
+
private bool suppressModularizationFieldSet;
-
+
private string valueField;
-
+
private bool valueFieldSet;
-
+
private string errorField;
-
+
private bool errorFieldSet;
-
+
private ReturnType returnField;
-
+
private bool returnFieldSet;
-
+
private ExecuteType executeField;
-
+
private bool executeFieldSet;
-
+
private YesNoType impersonateField;
-
+
private bool impersonateFieldSet;
-
+
private YesNoType patchUninstallField;
-
+
private bool patchUninstallFieldSet;
-
+
private YesNoType win64Field;
-
+
private bool win64FieldSet;
-
+
private YesNoType terminalServerAwareField;
-
+
private bool terminalServerAwareFieldSet;
-
+
private YesNoType hideTargetField;
-
+
private bool hideTargetFieldSet;
-
+
private string contentField;
-
+
private bool contentFieldSet;
-
+
private ISchemaElement parentElement;
-
+
///
/// The identifier of the custom action.
///
@@ -42879,7 +42879,7 @@ public string Id
this.idField = value;
}
}
-
+
///
/// This attribute is a reference to a Binary element with matching Id attribute. That binary stream contains
/// the custom action for use during install. The custom action will not be installed into a target directory. This attribute is
@@ -42899,7 +42899,7 @@ public string BinaryKey
this.binaryKeyField = value;
}
}
-
+
///
/// This attribute specifies a reference to a File element with matching Id attribute that
/// will execute the custom action code in the file after the file is installed. This
@@ -42920,7 +42920,7 @@ public string FileKey
this.fileKeyField = value;
}
}
-
+
///
/// This attribute specifies a reference to a Property element with matching Id attribute that specifies the Property
/// to be used or updated on execution of this custom action. This attribute is
@@ -42943,7 +42943,7 @@ public string Property
this.propertyField = value;
}
}
-
+
///
/// This attribute specifies a reference to a Directory element with matching Id attribute containing a directory path.
/// This attribute is typically used with the ExeCommand attribute to specify the source executable for a type 34
@@ -42962,7 +42962,7 @@ public string Directory
this.directoryField = value;
}
}
-
+
///
/// This attribute specifies the name of a function in a custom action to execute.
/// This attribute is used with the BinaryKey attribute to create a type 1 custom
@@ -42980,7 +42980,7 @@ public string DllEntry
this.dllEntryField = value;
}
}
-
+
///
/// This attribute specifies the command line parameters to supply to an externally
/// run executable. This attribute is typically used with the BinaryKey attribute for a type 2 custom action,
@@ -42999,7 +42999,7 @@ public string ExeCommand
this.exeCommandField = value;
}
}
-
+
///
/// This attribute specifies the name of the JScript function to execute in a script. The script must be
/// provided in a Binary element identified by the BinaryKey attribute described above. In other words, this
@@ -43017,7 +43017,7 @@ public string JScriptCall
this.jScriptCallField = value;
}
}
-
+
///
/// This attribute specifies the name of the VBScript Subroutine to execute in a script. The script must be
/// provided in a Binary element identified by the BinaryKey attribute described above. In other words, this
@@ -43036,7 +43036,7 @@ public string VBScriptCall
this.vBScriptCallField = value;
}
}
-
+
///
/// Creates a type 37 or 38 custom action. The text of the element should contain the script to be embedded in the package.
///
@@ -43052,7 +43052,7 @@ public ScriptType Script
this.scriptField = value;
}
}
-
+
///
/// Use to suppress modularization of this custom action name in merge modules.
/// This should only be necessary for table-driven custom actions because the
@@ -43071,7 +43071,7 @@ public YesNoType SuppressModularization
this.suppressModularizationField = value;
}
}
-
+
///
/// This attribute specifies a string value to use in the custom action. This attribute
/// must be used with the Property attribute to set the property as part of a
@@ -43091,7 +43091,7 @@ public string Value
this.valueField = value;
}
}
-
+
///
/// This attribute specifies an index in the MSI Error table to use as an error message for a
/// type 19 custom action that displays the error message and aborts a product's installation.
@@ -43108,7 +43108,7 @@ public string Error
this.errorField = value;
}
}
-
+
///
/// Set this attribute to set the return behavior of the custom action.
///
@@ -43124,7 +43124,7 @@ public ReturnType Return
this.returnField = value;
}
}
-
+
///
/// This attribute indicates the scheduling of the custom action.
///
@@ -43140,7 +43140,7 @@ public ExecuteType Execute
this.executeField = value;
}
}
-
+
///
/// This attribute specifies whether the Windows Installer, which executes as LocalSystem,
/// should impersonate the user context of the installing user when executing this custom action.
@@ -43159,7 +43159,7 @@ public YesNoType Impersonate
this.impersonateField = value;
}
}
-
+
///
/// This attribute specifies that the Windows Installer, execute the custom action only when
/// a patch is being uninstalled. These custom actions should also be conditioned using the
@@ -43178,7 +43178,7 @@ public YesNoType PatchUninstall
this.patchUninstallField = value;
}
}
-
+
///
/// Specifies that a script custom action targets a 64-bit platform. Valid only when used with
/// the Script, VBScriptCall, and JScriptCall attributes.
@@ -43199,7 +43199,7 @@ public YesNoType Win64
this.win64Field = value;
}
}
-
+
///
/// This attribute specifies controls whether the custom action will impersonate the
/// installing user during per-machine installs on Terminal Server machines.
@@ -43220,7 +43220,7 @@ public YesNoType TerminalServerAware
this.terminalServerAwareField = value;
}
}
-
+
///
/// Ensures the installer does not log the CustomActionData for the deferred custom action.
///
@@ -43236,7 +43236,7 @@ public YesNoType HideTarget
this.hideTargetField = value;
}
}
-
+
///
/// The text node is only valid if the Script attribute is specified. In that case, the text node contains the script to embed.
///
@@ -43252,7 +43252,7 @@ public string Content
this.contentField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -43264,7 +43264,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
///
/// Parses a ScriptType from a string.
///
@@ -43274,7 +43274,7 @@ public static ScriptType ParseScriptType(string value)
CustomAction.TryParseScriptType(value, out parsedValue);
return parsedValue;
}
-
+
///
/// Tries to parse a ScriptType from a string.
///
@@ -43303,7 +43303,7 @@ public static bool TryParseScriptType(string value, out ScriptType parsedValue)
}
return true;
}
-
+
///
/// Parses a ReturnType from a string.
///
@@ -43313,7 +43313,7 @@ public static ReturnType ParseReturnType(string value)
CustomAction.TryParseReturnType(value, out parsedValue);
return parsedValue;
}
-
+
///
/// Tries to parse a ReturnType from a string.
///
@@ -43356,7 +43356,7 @@ public static bool TryParseReturnType(string value, out ReturnType parsedValue)
}
return true;
}
-
+
///
/// Parses a ExecuteType from a string.
///
@@ -43366,7 +43366,7 @@ public static ExecuteType ParseExecuteType(string value)
CustomAction.TryParseExecuteType(value, out parsedValue);
return parsedValue;
}
-
+
///
/// Tries to parse a ExecuteType from a string.
///
@@ -43430,7 +43430,7 @@ public static bool TryParseExecuteType(string value, out ExecuteType parsedValue
}
return true;
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -43619,7 +43619,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
void ISetAttributes.SetAttribute(string name, string value)
@@ -43734,95 +43734,95 @@ void ISetAttributes.SetAttribute(string name, string value)
this.contentFieldSet = true;
}
}
-
+
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public enum ScriptType
{
-
+
IllegalValue = int.MaxValue,
-
+
NotSet = -1,
-
+
jscript,
-
+
vbscript,
}
-
+
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public enum ReturnType
{
-
+
IllegalValue = int.MaxValue,
-
+
NotSet = -1,
-
+
///
/// Indicates that the custom action will run asyncronously and execution may continue after the installer terminates.
///
asyncNoWait,
-
+
///
/// Indicates that the custom action will run asynchronously but the installer will wait for the return code at sequence end.
///
asyncWait,
-
+
///
/// Indicates that the custom action will run synchronously and the return code will be checked for success. This is the default.
///
check,
-
+
///
/// Indicates that the custom action will run synchronously and the return code will not be checked.
///
ignore,
}
-
+
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public enum ExecuteType
{
-
+
IllegalValue = int.MaxValue,
-
+
NotSet = -1,
-
+
///
/// Indicates that the custom action will run after successful completion of the installation script (at the end of the installation).
///
commit,
-
+
///
/// Indicates that the custom action runs in-script (possibly with elevated privileges).
///
deferred,
-
+
///
/// Indicates that the custom action will only run in the first sequence that runs it.
///
firstSequence,
-
+
///
/// Indicates that the custom action will run during normal processing time with user privileges. This is the default.
///
immediate,
-
+
///
/// Indicates that the custom action will only run in the first sequence that runs it in the same process.
///
oncePerProcess,
-
+
///
/// Indicates that a custom action will run in the rollback sequence when a failure
/// occurs during installation, usually to undo changes made by a deferred custom action.
///
rollback,
-
+
///
/// Indicates that a custom action should be run a second time if it was previously run in an earlier sequence.
///
secondSequence,
}
}
-
+
///
/// This will cause the entire contents of the Fragment containing the referenced CustomAction to be
/// included in the installer database.
@@ -43830,13 +43830,13 @@ public enum ExecuteType
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class CustomActionRef : ISchemaElement, ISetAttributes
{
-
+
private string idField;
-
+
private bool idFieldSet;
-
+
private ISchemaElement parentElement;
-
+
///
/// The identifier of the CustomAction to reference.
///
@@ -43852,7 +43852,7 @@ public string Id
this.idField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -43864,7 +43864,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -43881,7 +43881,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -43896,7 +43896,7 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
///
/// Sets a Directory to a particular value. This is accomplished by creating a Type 51 custom action that is appropriately scheduled in
/// the InstallUISequence and InstallExecuteSequence.
@@ -43904,29 +43904,29 @@ void ISetAttributes.SetAttribute(string name, string value)
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class SetDirectory : ISchemaElement, ISetAttributes
{
-
+
private string actionField;
-
+
private bool actionFieldSet;
-
+
private string idField;
-
+
private bool idFieldSet;
-
+
private SequenceType sequenceField;
-
+
private bool sequenceFieldSet;
-
+
private string valueField;
-
+
private bool valueFieldSet;
-
+
private string contentField;
-
+
private bool contentFieldSet;
-
+
private ISchemaElement parentElement;
-
+
///
/// By default the action is "Set" + Id attribute's value. This optional attribute can override the action name in the case
/// where multiple SetDirectory elements target the same Id (probably with mutually exclusive conditions).
@@ -43943,7 +43943,7 @@ public string Action
this.actionField = value;
}
}
-
+
///
/// This attribute specifies a reference to a Directory element with matching Id attribute. The path of the Directory will be set to
/// the Value attribute.
@@ -43960,7 +43960,7 @@ public string Id
this.idField = value;
}
}
-
+
///
/// Controls which sequences the Directory assignment is sequenced in.
/// For 'execute', the assignment is scheduled in the InstallExecuteSequence.
@@ -43981,7 +43981,7 @@ public SequenceType Sequence
this.sequenceField = value;
}
}
-
+
///
/// This attribute specifies a string value to assign to the Directory. The value can be a literal value or derived from a
/// Property element using the
@@ -43998,7 +43998,7 @@ public string Value
this.valueField = value;
}
}
-
+
///
/// The condition that determines whether the Directory is set. If the condition evaluates to false, the SetDirectory is skipped.
///
@@ -44014,7 +44014,7 @@ public string Content
this.contentField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -44026,7 +44026,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44074,7 +44074,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -44109,7 +44109,7 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
///
/// Sets a Property to a particular value. This is accomplished by creating a Type 51 custom action that is appropriately scheduled in
/// the InstallUISequence and InstallExecuteSequence.
@@ -44117,37 +44117,37 @@ void ISetAttributes.SetAttribute(string name, string value)
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class SetProperty : ISchemaElement, ISetAttributes
{
-
+
private string actionField;
-
+
private bool actionFieldSet;
-
+
private string afterField;
-
+
private bool afterFieldSet;
-
+
private string beforeField;
-
+
private bool beforeFieldSet;
-
+
private string idField;
-
+
private bool idFieldSet;
-
+
private SequenceType sequenceField;
-
+
private bool sequenceFieldSet;
-
+
private string valueField;
-
+
private bool valueFieldSet;
-
+
private string contentField;
-
+
private bool contentFieldSet;
-
+
private ISchemaElement parentElement;
-
+
///
/// By default the action is "Set" + Id attribute's value. This optional attribute can override the action name in the case
/// where multiple SetProperty elements target the same Id (probably with mutually exclusive conditions).
@@ -44164,7 +44164,7 @@ public string Action
this.actionField = value;
}
}
-
+
///
/// The name of the standard or custom action after which this action should be performed. Mutually exclusive with the Before attribute. A Before or After attribute is required when setting a Property.
///
@@ -44180,7 +44180,7 @@ public string After
this.afterField = value;
}
}
-
+
///
/// The name of the standard or custom action before which this action should be performed. Mutually exclusive with the After attribute. A Before or After attribute is required when setting a Property.
///
@@ -44196,7 +44196,7 @@ public string Before
this.beforeField = value;
}
}
-
+
///
/// This attribute specifies the Property to set to the Value.
///
@@ -44212,7 +44212,7 @@ public string Id
this.idField = value;
}
}
-
+
///
/// Controls which sequences the Property assignment is sequenced in.
/// For 'execute', the assignment is scheduled in the InstallExecuteSequence.
@@ -44233,7 +44233,7 @@ public SequenceType Sequence
this.sequenceField = value;
}
}
-
+
///
/// This attribute specifies a string value to assign to the Property. The value can be a literal value or derived from a
/// Property element using the
@@ -44250,7 +44250,7 @@ public string Value
this.valueField = value;
}
}
-
+
///
/// The condition that determines whether the Property is set. If the condition evaluates to false, the Set is skipped.
///
@@ -44266,7 +44266,7 @@ public string Content
this.contentField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -44278,7 +44278,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44335,7 +44335,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -44380,7 +44380,7 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
///
/// This will cause the entire contents of the Fragment containing the referenced PatchFamily to be
/// used in the process of creating a patch.
@@ -44388,17 +44388,17 @@ void ISetAttributes.SetAttribute(string name, string value)
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class PatchFamilyRef : ISchemaElement, ISetAttributes
{
-
+
private string idField;
-
+
private bool idFieldSet;
-
+
private string productCodeField;
-
+
private bool productCodeFieldSet;
-
+
private ISchemaElement parentElement;
-
+
///
/// The identifier of the PatchFamily to reference.
///
@@ -44414,7 +44414,7 @@ public string Id
this.idField = value;
}
}
-
+
///
/// Specifies the ProductCode of the product that this family applies to.
///
@@ -44430,7 +44430,7 @@ public string ProductCode
this.productCodeField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -44442,7 +44442,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44463,7 +44463,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -44483,14 +44483,14 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
///
/// Sets the ProductID property to the full product identifier. This action must be sequenced before the user interface wizard in the InstallUISequence table and before the RegisterUser action in the InstallExecuteSequence table. If the product identifier has already been validated successfully, the ValidateProductID action does nothing. The ValidateProductID action always returns a success, whether or not the product identifier is valid, so that the product identifier can be entered on the command line the first time the product is run. The product identifier can be validated without having the user reenter this information by setting the PIDKEY property on the command line or by using a transform. The display of the dialog box requesting the user to enter the product identifier can then be made conditional upon the presence of the ProductID property, which is set when the PIDKEY property is validated. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class ValidateProductID : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44505,14 +44505,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Initiates the internal installation costing process. Any standard or custom actions that affect costing should be sequenced before the CostInitialize action. Call the FileCost action immediately following the CostInitialize action. Then call the CostFinalize action following the CostInitialize action to make all final cost calculations available to the installer through the Component table. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class CostInitialize : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44527,14 +44527,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Initiates dynamic costing of standard installation actions. Any standard or custom actions that affect costing should sequenced before the CostInitialize action. Call the FileCost action immediately following the CostInitialize action. Then call the CostFinalize action following the FileCost action to make all final cost calculations available to the installer through the Component table. The CostInitialize action must be executed before the FileCost action. The installer then determines the disk-space cost of every file in the File table, on a per-component basis, taking both volume clustering and the presence of existing files that may need to be overwritten into account. All actions that consume or release disk space are also considered. If an existing file is found, a file version check is performed to determine whether the new file actually needs to be installed or not. If the existing file is of an equal or greater version number, the existing file is not overwritten and no disk-space cost is incurred. In all cases, the installer uses the results of version number checking to set the installation state of each file. The FileCost action initializes cost calculation with the installer. Actual dynamic costing does not occur until the CostFinalize action is executed. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class FileCost : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44549,14 +44549,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Installs a copy of a component (commonly a shared DLL) into a private location for use by a specific application (typically an .exe). This isolates the application from other copies of the component that may be installed to a shared location on the computer. The action refers to each record of the IsolatedComponent table and associates the files of the component listed in the Component_Shared field with the component listed in the Component_Application field. The installer installs the files of Component_Shared into the same directory as Component_Application. The installer generates a file in this directory, zero bytes in length, having the short filename name of the key file for Component_Application (typically this is the same file name as the .exe) appended with .local. The IsolatedComponent action does not affect the installation of Component_Application. Uninstalling Component_Application also removes the Component_Shared files and the .local file from the directory. The IsolateComponents action can be used only in the InstallUISequence table and the InstallExecuteSequence table. This action must come after the CostInitialize action and before the CostFinalize action. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class IsolateComponents : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44571,14 +44571,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Ends the internal installation costing process begun by the CostInitialize action. Any standard or custom actions that affect costing should be sequenced before the CostInitialize action. Call the FileCost action immediately following the CostInitialize action and then call the CostFinalize action to make all final cost calculations available to the installer through the Component table. The CostFinalize action must be executed before starting any user interface sequence which allows the user to view or modify Feature table selections or directories. The CostFinalize action queries the Condition table to determine which features are scheduled to be installed. Costing is done for each component in the Component table. The CostFinalize action also verifies that all the target directories are writable before allowing the installation to continue. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class CostFinalize : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44593,14 +44593,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Checks for existing ODBC drivers and sets the target directory for each new driver to the location of an existing driver. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class SetODBCFolders : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44615,14 +44615,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Used for upgrading or installing over an existing application. Reads feature states from existing application and sets these feature states for the pending installation. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class MigrateFeatureStates : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44637,14 +44637,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Initiates the execution sequence. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class ExecuteAction : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44659,14 +44659,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Verifies that all costed volumes have enough space for the installation. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class InstallValidate : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44681,14 +44681,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Marks the beginning of a sequence of actions that change the system. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class InstallInitialize : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44703,14 +44703,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Ensures the needed amount of space exists in the registry. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class AllocateRegistrySpace : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44725,14 +44725,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Registers and unregisters components, their key paths, and the component clients. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class ProcessComponents : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44747,14 +44747,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Manages the unadvertisement of components listed in the PublishComponent table. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class UnpublishComponents : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44769,14 +44769,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Manages the unadvertisement of CLR and Win32 assemblies that are being removed. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class MsiUnpublishAssemblies : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44791,14 +44791,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Removes selection-state and feature-component mapping information from the registry. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class UnpublishFeatures : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44813,14 +44813,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Stops system services. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class StopServices : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44835,14 +44835,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Stops a service and removes its registration from the system. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class DeleteServices : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44857,14 +44857,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Removes COM+ applications from the registry. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class UnregisterComPlus : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44879,14 +44879,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Unregisters all modules listed in the SelfReg table that are scheduled to be uninstalled. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class SelfUnregModules : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44901,14 +44901,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Unregisters type libraries from the system. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class UnregisterTypeLibraries : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44923,14 +44923,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Removes the data sources, translators, and drivers listed for removal during the installation. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class RemoveODBC : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44945,14 +44945,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Removes registration information about installed fonts from the system. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class UnregisterFonts : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44967,14 +44967,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Removes a registry value that has been authored into the registry table if the associated component was installed locally or as run from source, and is now set to be uninstalled. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class RemoveRegistryValues : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -44989,14 +44989,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Manages the removal of COM class information from the system registry. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class UnregisterClassInfo : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45011,14 +45011,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Manages the removal of extension-related information from the system registry. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class UnregisterExtensionInfo : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45033,14 +45033,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Manages the unregistration of OLE ProgId information with the system. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class UnregisterProgIdInfo : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45055,14 +45055,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Unregisters MIME-related registry information from the system. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class UnregisterMIMEInfo : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45077,14 +45077,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Removes .ini file information specified for removal in the RemoveIniFile table if the component is set to be installed locally or run from source. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class RemoveIniValues : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45099,14 +45099,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Manages the removal of an advertised shortcut whose feature is selected for uninstallation or a nonadvertised shortcut whose component is selected for uninstallation. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class RemoveShortcuts : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45121,14 +45121,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Modifies the values of environment variables. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class RemoveEnvironmentStrings : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45143,14 +45143,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Deletes files installed by the DuplicateFiles action. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class RemoveDuplicateFiles : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45165,14 +45165,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Removes files previously installed by the InstallFiles action. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class RemoveFiles : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45187,14 +45187,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Removes any folders linked to components set to be removed or run from source. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class RemoveFolders : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45209,14 +45209,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Creates empty folders for components that are set to be installed. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class CreateFolders : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45231,14 +45231,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Locates existing files on the system and moves or copies those files to a new location. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class MoveFiles : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45253,14 +45253,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Copies the product database to the administrative installation point. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class InstallAdminPackage : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45275,14 +45275,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Copies files specified in the File table from the source directory to the destination directory. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class InstallFiles : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45297,14 +45297,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Duplicates files installed by the InstallFiles action. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class DuplicateFiles : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45319,14 +45319,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Queries the Patch table to determine which patches are to be applied. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class PatchFiles : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45341,14 +45341,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Binds each executable or DLL that must be bound to the DLLs imported by it. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class BindImage : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45363,14 +45363,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Manages the creation of shortcuts. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class CreateShortcuts : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45385,14 +45385,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Manages the registration of COM class information with the system. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class RegisterClassInfo : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45407,14 +45407,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Manages the registration of extension related information with the system. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class RegisterExtensionInfo : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45429,14 +45429,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Manages the registration of OLE ProgId information with the system. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class RegisterProgIdInfo : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45451,14 +45451,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Registers MIME-related registry information with the system. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class RegisterMIMEInfo : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45473,14 +45473,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Sets up an application's registry information. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class WriteRegistryValues : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45495,14 +45495,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Writes the .ini file information that the application needs written to its .ini files. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class WriteIniValues : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45517,14 +45517,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Modifies the values of environment variables. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class WriteEnvironmentStrings : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45539,14 +45539,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Registers installed fonts with the system. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class RegisterFonts : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45561,14 +45561,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Installs the drivers, translators, and data sources in the ODBCDriver table, ODBCTranslator table, and ODBCDataSource table. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class InstallODBC : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45583,14 +45583,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Registers type libraries with the system. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class RegisterTypeLibraries : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45605,14 +45605,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Processes all modules listed in the SelfReg table and registers all installed modules with the system. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class SelfRegModules : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45627,14 +45627,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Registers COM+ applications. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class RegisterComPlus : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45649,14 +45649,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Registers a service for the system. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class InstallServices : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45671,14 +45671,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Starts system services. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class StartServices : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45693,14 +45693,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Registers the user information with the installer to identify the user of a product. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class RegisterUser : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45715,14 +45715,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Registers the product information with the installer. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class RegisterProduct : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45737,14 +45737,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Manages the advertisement of the components from the PublishComponent table. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class PublishComponents : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45759,14 +45759,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Manages the advertisement of CLR and Win32 assemblies. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class MsiPublishAssemblies : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45781,14 +45781,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Writes each feature's state into the system registry. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class PublishFeatures : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45803,14 +45803,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Manages the advertisement of the product information with the system. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class PublishProduct : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45825,14 +45825,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Marks the end of a sequence of actions that change the system. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class InstallFinalize : ActionSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45847,14 +45847,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Uses file signatures to search for existing versions of products. The AppSearch action may use this information to determine where upgrades are to be installed. The AppSearch action can also be used to set a property to the existing value of an registry or .ini file entry. AppSearch should be authored into the InstallUISequence table and InstallExecuteSequence table. The installer prevents The AppSearch action from running in the InstallExecuteSequence sequence if the action has already run in InstallUISequence sequence. The AppSearch action searches for file signatures using the CompLocator table first, the RegLocator table next, then the IniLocator table, and finally the DrLocator table. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class AppSearch : ActionModuleSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45869,14 +45869,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Uses file signatures to validate that qualifying products are installed on a system before an upgrade installation is performed. The CCPSearch action should be authored into the InstallUISequence table and InstallExecuteSequence table. The installer prevents the CCPSearch action from running in the InstallExecuteSequence sequence if the action has already run in InstallUISequence sequence. The CCPSearch action must come before the RMCCPSearch action. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class CCPSearch : ActionModuleSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45891,14 +45891,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Uses file signatures to validate that qualifying products are installed on a system before an upgrade installation is performed. The RMCCPSearch action should be authored into the InstallUISequence table and InstallExecuteSequence table. The installer prevents RMCCPSearch from running in the InstallExecuteSequence sequence if the action has already run in InstallUISequence sequence. The RMCCPSearch action requires the CCP_DRIVE property to be set to the root path on the removable volume that has the installation for any of the qualifying products. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class RMCCPSearch : ActionModuleSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45913,14 +45913,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Queries the LaunchCondition table and evaluates each conditional statement recorded there. If any of these conditional statements fail, an error message is displayed to the user and the installation is terminated. The LaunchConditions action is optional. This action is normally the first in the sequence, but the AppSearch Action may be sequenced before the LaunchConditions action. If there are launch conditions that do not apply to all installation modes, the appropriate installation mode property should be used in a conditional expression in the appropriate sequence table. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class LaunchConditions : ActionModuleSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45935,14 +45935,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Runs through each record of the Upgrade table in sequence and compares the upgrade code, product version, and language in each row to products installed on the system. When FindRelatedProducts detects a correspondence between the upgrade information and an installed product, it appends the product code to the property specified in the ActionProperty column of the UpgradeTable. The FindRelatedProducts action only runs the first time the product is installed. The FindRelatedProducts action does not run during maintenance mode or uninstallation. FindRelatedProducts should be authored into the InstallUISequence table and InstallExecuteSequence tables. The installer prevents FindRelatedProducts from running in InstallExecuteSequence if the action has already run in InstallUISequence. The FindRelatedProducts action must come before the MigrateFeatureStates action and the RemoveExistingProducts action. The condition for this action may be specified in the element's inner text.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class FindRelatedProducts : ActionModuleSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45957,14 +45957,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Runs a script containing all operations spooled since either the start of the installation or the last InstallExecute action, or InstallExecuteAgain action. Special actions don't have a built-in sequence number and thus must appear relative to another action. The suggested way to do this is by using the Before or After attribute. InstallExecute and InstallExecuteAgain can optionally appear anywhere between InstallInitialize and InstallFinalize.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class InstallExecute : ActionModuleSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -45979,14 +45979,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Runs a script containing all operations spooled since either the start of the installation or the last InstallExecute action, or InstallExecuteAgain action. Should only be used after InstallExecute. Special actions don't have a built-in sequence number and thus must appear relative to another action. The suggested way to do this is by using the Before or After attribute. InstallExecute and InstallExecuteAgain can optionally appear anywhere between InstallInitialize and InstallFinalize.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class InstallExecuteAgain : ActionModuleSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -46001,14 +46001,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Disables rollback for the remainder of the installation. Special actions don't have a built-in sequence number and thus must appear relative to another action. The suggested way to do this is by using the Before or After attribute. InstallExecute and InstallExecuteAgain can optionally appear anywhere between InstallInitialize and InstallFinalize.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class DisableRollback : ActionModuleSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -46023,14 +46023,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Goes through the product codes listed in the ActionProperty column of the Upgrade table and removes the products in sequence. Special actions don't have a built-in sequence number and thus must appear relative to another action. The suggested way to do this is by using the Before or After attribute. InstallExecute and InstallExecuteAgain can optionally appear anywhere between InstallInitialize and InstallFinalize.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class RemoveExistingProducts : ActionModuleSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -46045,14 +46045,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Prompts the user to restart the system at the end of installation. Special actions don't have a built-in sequence number and thus must appear relative to another action. The suggested way to do this is by using the Before or After attribute. InstallExecute and InstallExecuteAgain can optionally appear anywhere between InstallInitialize and InstallFinalize.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class ScheduleReboot : ActionModuleSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -46067,14 +46067,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Prompts the user for a restart of the system during the installation. Special actions don't have a built-in sequence number and thus must appear relative to another action. The suggested way to do this is by using the Before or After attribute. InstallExecute and InstallExecuteAgain can optionally appear anywhere between InstallInitialize and InstallFinalize.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class ForceReboot : ActionModuleSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -46089,14 +46089,14 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Determines the location of the source and sets the SourceDir property if the source has not been resolved yet. Special actions don't have a built-in sequence number and thus must appear relative to another action. The suggested way to do this is by using the Before or After attribute. InstallExecute and InstallExecuteAgain can optionally appear anywhere between InstallInitialize and InstallFinalize.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class ResolveSource : ActionModuleSequenceType, ISchemaElement
{
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -46111,44 +46111,44 @@ public override void OutputXml(XmlWriter writer)
writer.WriteEndElement();
}
}
-
+
///
/// Use to sequence a custom action.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class Custom : ISchemaElement, ISetAttributes
{
-
+
private string actionField;
-
+
private bool actionFieldSet;
-
+
private ExitType onExitField;
-
+
private bool onExitFieldSet;
-
+
private string beforeField;
-
+
private bool beforeFieldSet;
-
+
private string afterField;
-
+
private bool afterFieldSet;
-
+
private YesNoType overridableField;
-
+
private bool overridableFieldSet;
-
+
private int sequenceField;
-
+
private bool sequenceFieldSet;
-
+
private string contentField;
-
+
private bool contentFieldSet;
-
+
private ISchemaElement parentElement;
-
+
///
/// The action to which the Custom element applies.
///
@@ -46164,7 +46164,7 @@ public string Action
this.actionField = value;
}
}
-
+
///
/// Mutually exclusive with Before, After, and Sequence attributes
///
@@ -46180,7 +46180,7 @@ public ExitType OnExit
this.onExitField = value;
}
}
-
+
///
/// The name of the standard or custom action before which this action should be performed. Mutually exclusive with OnExit, After, and Sequence attributes
///
@@ -46196,7 +46196,7 @@ public string Before
this.beforeField = value;
}
}
-
+
///
/// The name of the standard or custom action after which this action should be performed. Mutually exclusive with Before, OnExit, and Sequence attributes
///
@@ -46212,7 +46212,7 @@ public string After
this.afterField = value;
}
}
-
+
///
/// If "yes", the sequencing of this action may be overridden by sequencing elsewhere.
///
@@ -46228,7 +46228,7 @@ public YesNoType Overridable
this.overridableField = value;
}
}
-
+
///
/// The sequence number for this action. Mutually exclusive with Before, After, and OnExit attributes
///
@@ -46244,7 +46244,7 @@ public int Sequence
this.sequenceField = value;
}
}
-
+
///
/// Text node specifies the condition of the action.
///
@@ -46260,7 +46260,7 @@ public string Content
this.contentField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -46272,7 +46272,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -46336,7 +46336,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -46381,41 +46381,41 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class Show : ISchemaElement, ISetAttributes
{
-
+
private string dialogField;
-
+
private bool dialogFieldSet;
-
+
private ExitType onExitField;
-
+
private bool onExitFieldSet;
-
+
private string beforeField;
-
+
private bool beforeFieldSet;
-
+
private string afterField;
-
+
private bool afterFieldSet;
-
+
private YesNoType overridableField;
-
+
private bool overridableFieldSet;
-
+
private int sequenceField;
-
+
private bool sequenceFieldSet;
-
+
private string contentField;
-
+
private bool contentFieldSet;
-
+
private ISchemaElement parentElement;
-
+
public string Dialog
{
get
@@ -46428,7 +46428,7 @@ public string Dialog
this.dialogField = value;
}
}
-
+
///
/// mutually exclusive with Before, After, and Sequence attributes
///
@@ -46444,7 +46444,7 @@ public ExitType OnExit
this.onExitField = value;
}
}
-
+
public string Before
{
get
@@ -46457,7 +46457,7 @@ public string Before
this.beforeField = value;
}
}
-
+
public string After
{
get
@@ -46470,7 +46470,7 @@ public string After
this.afterField = value;
}
}
-
+
///
/// If "yes", the sequencing of this dialog may be overridden by sequencing elsewhere.
///
@@ -46486,7 +46486,7 @@ public YesNoType Overridable
this.overridableField = value;
}
}
-
+
public int Sequence
{
get
@@ -46499,7 +46499,7 @@ public int Sequence
this.sequenceField = value;
}
}
-
+
public string Content
{
get
@@ -46512,7 +46512,7 @@ public string Content
this.contentField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -46524,7 +46524,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -46588,7 +46588,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -46633,15 +46633,15 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class InstallUISequence : IParentElement, ICreateChildren, ISchemaElement, ISetAttributes
{
-
+
private ElementCollection children;
-
+
private ISchemaElement parentElement;
-
+
public InstallUISequence()
{
ElementCollection childCollection0 = new ElementCollection(ElementCollection.CollectionType.Choice);
@@ -46663,7 +46663,7 @@ public InstallUISequence()
childCollection0.AddItem(new ElementCollection.ChoiceItem(typeof(ExecuteAction)));
this.children = childCollection0;
}
-
+
public virtual IEnumerable Children
{
get
@@ -46671,7 +46671,7 @@ public virtual IEnumerable Children
return this.children;
}
}
-
+
[SuppressMessage("Microsoft.Design", "CA1043:UseIntegralOrStringArgumentForIndexers")]
public virtual IEnumerable this[System.Type childType]
{
@@ -46680,7 +46680,7 @@ public virtual IEnumerable this[System.Type childType]
return this.children.Filter(childType);
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -46692,7 +46692,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
public virtual void AddChild(ISchemaElement child)
{
if ((null == child))
@@ -46702,7 +46702,7 @@ public virtual void AddChild(ISchemaElement child)
this.children.AddElement(child);
child.ParentElement = this;
}
-
+
public virtual void RemoveChild(ISchemaElement child)
{
if ((null == child))
@@ -46712,7 +46712,7 @@ public virtual void RemoveChild(ISchemaElement child)
this.children.RemoveElement(child);
child.ParentElement = null;
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
ISchemaElement ICreateChildren.CreateChild(string childName)
@@ -46792,7 +46792,7 @@ ISchemaElement ICreateChildren.CreateChild(string childName)
}
return childValue;
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -46810,7 +46810,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -46820,15 +46820,15 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class InstallExecuteSequence : IParentElement, ICreateChildren, ISchemaElement, ISetAttributes
{
-
+
private ElementCollection children;
-
+
private ISchemaElement parentElement;
-
+
public InstallExecuteSequence()
{
ElementCollection childCollection0 = new ElementCollection(ElementCollection.CollectionType.Choice);
@@ -46907,7 +46907,7 @@ public InstallExecuteSequence()
childCollection0.AddItem(new ElementCollection.ChoiceItem(typeof(MsiUnpublishAssemblies)));
this.children = childCollection0;
}
-
+
public virtual IEnumerable Children
{
get
@@ -46915,7 +46915,7 @@ public virtual IEnumerable Children
return this.children;
}
}
-
+
[SuppressMessage("Microsoft.Design", "CA1043:UseIntegralOrStringArgumentForIndexers")]
public virtual IEnumerable this[System.Type childType]
{
@@ -46924,7 +46924,7 @@ public virtual IEnumerable this[System.Type childType]
return this.children.Filter(childType);
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -46936,7 +46936,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
public virtual void AddChild(ISchemaElement child)
{
if ((null == child))
@@ -46946,7 +46946,7 @@ public virtual void AddChild(ISchemaElement child)
this.children.AddElement(child);
child.ParentElement = this;
}
-
+
public virtual void RemoveChild(ISchemaElement child)
{
if ((null == child))
@@ -46956,7 +46956,7 @@ public virtual void RemoveChild(ISchemaElement child)
this.children.RemoveElement(child);
child.ParentElement = null;
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
ISchemaElement ICreateChildren.CreateChild(string childName)
@@ -47264,7 +47264,7 @@ ISchemaElement ICreateChildren.CreateChild(string childName)
}
return childValue;
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -47282,7 +47282,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -47292,15 +47292,15 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class AdminUISequence : IParentElement, ICreateChildren, ISchemaElement, ISetAttributes
{
-
+
private ElementCollection children;
-
+
private ISchemaElement parentElement;
-
+
public AdminUISequence()
{
ElementCollection childCollection0 = new ElementCollection(ElementCollection.CollectionType.Choice);
@@ -47318,7 +47318,7 @@ public AdminUISequence()
childCollection0.AddItem(new ElementCollection.ChoiceItem(typeof(LaunchConditions)));
this.children = childCollection0;
}
-
+
public virtual IEnumerable Children
{
get
@@ -47326,7 +47326,7 @@ public virtual IEnumerable Children
return this.children;
}
}
-
+
[SuppressMessage("Microsoft.Design", "CA1043:UseIntegralOrStringArgumentForIndexers")]
public virtual IEnumerable this[System.Type childType]
{
@@ -47335,7 +47335,7 @@ public virtual IEnumerable this[System.Type childType]
return this.children.Filter(childType);
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -47347,7 +47347,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
public virtual void AddChild(ISchemaElement child)
{
if ((null == child))
@@ -47357,7 +47357,7 @@ public virtual void AddChild(ISchemaElement child)
this.children.AddElement(child);
child.ParentElement = this;
}
-
+
public virtual void RemoveChild(ISchemaElement child)
{
if ((null == child))
@@ -47367,7 +47367,7 @@ public virtual void RemoveChild(ISchemaElement child)
this.children.RemoveElement(child);
child.ParentElement = null;
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
ISchemaElement ICreateChildren.CreateChild(string childName)
@@ -47431,7 +47431,7 @@ ISchemaElement ICreateChildren.CreateChild(string childName)
}
return childValue;
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -47449,7 +47449,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -47459,15 +47459,15 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class AdminExecuteSequence : IParentElement, ICreateChildren, ISchemaElement, ISetAttributes
{
-
+
private ElementCollection children;
-
+
private ISchemaElement parentElement;
-
+
public AdminExecuteSequence()
{
ElementCollection childCollection0 = new ElementCollection(ElementCollection.CollectionType.Choice);
@@ -47485,7 +47485,7 @@ public AdminExecuteSequence()
childCollection0.AddItem(new ElementCollection.ChoiceItem(typeof(ResolveSource)));
this.children = childCollection0;
}
-
+
public virtual IEnumerable Children
{
get
@@ -47493,7 +47493,7 @@ public virtual IEnumerable Children
return this.children;
}
}
-
+
[SuppressMessage("Microsoft.Design", "CA1043:UseIntegralOrStringArgumentForIndexers")]
public virtual IEnumerable this[System.Type childType]
{
@@ -47502,7 +47502,7 @@ public virtual IEnumerable this[System.Type childType]
return this.children.Filter(childType);
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -47514,7 +47514,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
public virtual void AddChild(ISchemaElement child)
{
if ((null == child))
@@ -47524,7 +47524,7 @@ public virtual void AddChild(ISchemaElement child)
this.children.AddElement(child);
child.ParentElement = this;
}
-
+
public virtual void RemoveChild(ISchemaElement child)
{
if ((null == child))
@@ -47534,7 +47534,7 @@ public virtual void RemoveChild(ISchemaElement child)
this.children.RemoveElement(child);
child.ParentElement = null;
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
ISchemaElement ICreateChildren.CreateChild(string childName)
@@ -47598,7 +47598,7 @@ ISchemaElement ICreateChildren.CreateChild(string childName)
}
return childValue;
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -47616,7 +47616,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -47626,15 +47626,15 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class AdvertiseExecuteSequence : IParentElement, ICreateChildren, ISchemaElement, ISetAttributes
{
-
+
private ElementCollection children;
-
+
private ISchemaElement parentElement;
-
+
public AdvertiseExecuteSequence()
{
ElementCollection childCollection0 = new ElementCollection(ElementCollection.CollectionType.Choice);
@@ -47655,7 +47655,7 @@ public AdvertiseExecuteSequence()
childCollection0.AddItem(new ElementCollection.ChoiceItem(typeof(MsiPublishAssemblies)));
this.children = childCollection0;
}
-
+
public virtual IEnumerable Children
{
get
@@ -47663,7 +47663,7 @@ public virtual IEnumerable Children
return this.children;
}
}
-
+
[SuppressMessage("Microsoft.Design", "CA1043:UseIntegralOrStringArgumentForIndexers")]
public virtual IEnumerable this[System.Type childType]
{
@@ -47672,7 +47672,7 @@ public virtual IEnumerable this[System.Type childType]
return this.children.Filter(childType);
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -47684,7 +47684,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
public virtual void AddChild(ISchemaElement child)
{
if ((null == child))
@@ -47694,7 +47694,7 @@ public virtual void AddChild(ISchemaElement child)
this.children.AddElement(child);
child.ParentElement = this;
}
-
+
public virtual void RemoveChild(ISchemaElement child)
{
if ((null == child))
@@ -47704,7 +47704,7 @@ public virtual void RemoveChild(ISchemaElement child)
this.children.RemoveElement(child);
child.ParentElement = null;
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
ISchemaElement ICreateChildren.CreateChild(string childName)
@@ -47780,7 +47780,7 @@ ISchemaElement ICreateChildren.CreateChild(string childName)
}
return childValue;
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -47798,7 +47798,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -47808,41 +47808,41 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
///
/// Binary data used for CustomAction elements and UI controls.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class Binary : IParentElement, ICreateChildren, ISchemaElement, ISetAttributes
{
-
+
private ElementCollection children;
-
+
private string idField;
-
+
private bool idFieldSet;
-
+
private string sourceFileField;
-
+
private bool sourceFileFieldSet;
-
+
private string srcField;
-
+
private bool srcFieldSet;
-
+
private YesNoType suppressModularizationField;
-
+
private bool suppressModularizationFieldSet;
-
+
private ISchemaElement parentElement;
-
+
public Binary()
{
ElementCollection childCollection0 = new ElementCollection(ElementCollection.CollectionType.Choice);
childCollection0.AddItem(new ElementCollection.ChoiceItem(typeof(ISchemaElement)));
this.children = childCollection0;
}
-
+
public virtual IEnumerable Children
{
get
@@ -47850,7 +47850,7 @@ public virtual IEnumerable Children
return this.children;
}
}
-
+
[SuppressMessage("Microsoft.Design", "CA1043:UseIntegralOrStringArgumentForIndexers")]
public virtual IEnumerable this[System.Type childType]
{
@@ -47859,7 +47859,7 @@ public virtual IEnumerable this[System.Type childType]
return this.children.Filter(childType);
}
}
-
+
///
/// The Id cannot be longer than 55 characters. In order to prevent errors in cases where the Id is modularized, it should not be longer than 18 characters.
///
@@ -47875,7 +47875,7 @@ public string Id
this.idField = value;
}
}
-
+
///
/// Path to the binary file.
///
@@ -47891,7 +47891,7 @@ public string SourceFile
this.sourceFileField = value;
}
}
-
+
[SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly")]
public string src
{
@@ -47905,7 +47905,7 @@ public string src
this.srcField = value;
}
}
-
+
///
/// Use to suppress modularization of this Binary identifier in merge modules.
///
@@ -47921,7 +47921,7 @@ public YesNoType SuppressModularization
this.suppressModularizationField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -47933,7 +47933,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
public virtual void AddChild(ISchemaElement child)
{
if ((null == child))
@@ -47943,7 +47943,7 @@ public virtual void AddChild(ISchemaElement child)
this.children.AddElement(child);
child.ParentElement = this;
}
-
+
public virtual void RemoveChild(ISchemaElement child)
{
if ((null == child))
@@ -47953,7 +47953,7 @@ public virtual void RemoveChild(ISchemaElement child)
this.children.RemoveElement(child);
child.ParentElement = null;
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
ISchemaElement ICreateChildren.CreateChild(string childName)
{
@@ -47968,7 +47968,7 @@ ISchemaElement ICreateChildren.CreateChild(string childName)
}
return childValue;
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -48009,7 +48009,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -48039,28 +48039,28 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
///
/// Icon used for Shortcut, ProgId, or Class elements (but not UI controls)
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class Icon : ISchemaElement, ISetAttributes
{
-
+
private string idField;
-
+
private bool idFieldSet;
-
+
private string sourceFileField;
-
+
private bool sourceFileFieldSet;
-
+
private string srcField;
-
+
private bool srcFieldSet;
-
+
private ISchemaElement parentElement;
-
+
///
/// The Id cannot be longer than 55 characters. In order to prevent errors in cases where the Id is modularized, it should not be longer than 18 characters.
///
@@ -48076,7 +48076,7 @@ public string Id
this.idField = value;
}
}
-
+
///
/// Path to the icon file.
///
@@ -48092,7 +48092,7 @@ public string SourceFile
this.sourceFileField = value;
}
}
-
+
[SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly")]
public string src
{
@@ -48106,7 +48106,7 @@ public string src
this.srcField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -48118,7 +48118,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -48143,7 +48143,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -48168,37 +48168,37 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class EmbeddedChainer : ISchemaElement, ISetAttributes
{
-
+
private string idField;
-
+
private bool idFieldSet;
-
+
private string commandLineField;
-
+
private bool commandLineFieldSet;
-
+
private string binarySourceField;
-
+
private bool binarySourceFieldSet;
-
+
private string fileSourceField;
-
+
private bool fileSourceFieldSet;
-
+
private string propertySourceField;
-
+
private bool propertySourceFieldSet;
-
+
private string contentField;
-
+
private bool contentFieldSet;
-
+
private ISchemaElement parentElement;
-
+
///
/// Unique identifier for embedded chainer.
///
@@ -48214,7 +48214,7 @@ public string Id
this.idField = value;
}
}
-
+
///
/// Value to append to the transaction handle and passed to the chainer executable.
///
@@ -48230,7 +48230,7 @@ public string CommandLine
this.commandLineField = value;
}
}
-
+
///
/// Reference to the Binary element that contains the chainer executable. Mutually exclusive with
/// the FileSource and PropertySource attributes.
@@ -48247,7 +48247,7 @@ public string BinarySource
this.binarySourceField = value;
}
}
-
+
///
/// Reference to the File element that is the chainer executable. Mutually exclusive with
/// the BinarySource and PropertySource attributes.
@@ -48264,7 +48264,7 @@ public string FileSource
this.fileSourceField = value;
}
}
-
+
///
/// Reference to a Property that resolves to the full path to the chainer executable. Mutually exclusive with
/// the BinarySource and FileSource attributes.
@@ -48281,7 +48281,7 @@ public string PropertySource
this.propertySourceField = value;
}
}
-
+
///
/// Element value is the condition. CDATA may be used to when a condition contains many XML characters
/// that must be escaped. It is important to note that each EmbeddedChainer element must have a mutually exclusive condition
@@ -48300,7 +48300,7 @@ public string Content
this.contentField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -48312,7 +48312,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -48349,7 +48349,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -48389,7 +48389,7 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
///
/// Reference to an EmbeddedChainer element. This will force the entire referenced Fragment's contents
/// to be included in the installer database.
@@ -48397,13 +48397,13 @@ void ISetAttributes.SetAttribute(string name, string value)
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class EmbeddedChainerRef : ISchemaElement, ISetAttributes
{
-
+
private string idField;
-
+
private bool idFieldSet;
-
+
private ISchemaElement parentElement;
-
+
public string Id
{
get
@@ -48416,7 +48416,7 @@ public string Id
this.idField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -48428,7 +48428,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -48445,7 +48445,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -48460,113 +48460,113 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
///
/// Element value is the condition. Use CDATA if message contains delimiter characters.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class EmbeddedUI : IParentElement, ICreateChildren, ISchemaElement, ISetAttributes
{
-
+
private ElementCollection children;
-
+
private string idField;
-
+
private bool idFieldSet;
-
+
private YesNoType ignoreFatalExitField;
-
+
private bool ignoreFatalExitFieldSet;
-
+
private YesNoType ignoreErrorField;
-
+
private bool ignoreErrorFieldSet;
-
+
private YesNoType ignoreWarningField;
-
+
private bool ignoreWarningFieldSet;
-
+
private YesNoType ignoreUserField;
-
+
private bool ignoreUserFieldSet;
-
+
private YesNoType ignoreInfoField;
-
+
private bool ignoreInfoFieldSet;
-
+
private YesNoType ignoreFilesInUseField;
-
+
private bool ignoreFilesInUseFieldSet;
-
+
private YesNoType ignoreResolveSourceField;
-
+
private bool ignoreResolveSourceFieldSet;
-
+
private YesNoType ignoreOutOfDiskSpaceField;
-
+
private bool ignoreOutOfDiskSpaceFieldSet;
-
+
private YesNoType ignoreActionStartField;
-
+
private bool ignoreActionStartFieldSet;
-
+
private YesNoType ignoreActionDataField;
-
+
private bool ignoreActionDataFieldSet;
-
+
private YesNoType ignoreProgressField;
-
+
private bool ignoreProgressFieldSet;
-
+
private YesNoType ignoreCommonDataField;
-
+
private bool ignoreCommonDataFieldSet;
-
+
private YesNoType ignoreInitializeField;
-
+
private bool ignoreInitializeFieldSet;
-
+
private YesNoType ignoreTerminateField;
-
+
private bool ignoreTerminateFieldSet;
-
+
private YesNoType ignoreShowDialogField;
-
+
private bool ignoreShowDialogFieldSet;
-
+
private YesNoType ignoreRMFilesInUseField;
-
+
private bool ignoreRMFilesInUseFieldSet;
-
+
private YesNoType ignoreInstallStartField;
-
+
private bool ignoreInstallStartFieldSet;
-
+
private YesNoType ignoreInstallEndField;
-
+
private bool ignoreInstallEndFieldSet;
-
+
private string nameField;
-
+
private bool nameFieldSet;
-
+
private string sourceFileField;
-
+
private bool sourceFileFieldSet;
-
+
private YesNoType supportBasicUIField;
-
+
private bool supportBasicUIFieldSet;
-
+
private ISchemaElement parentElement;
-
+
public EmbeddedUI()
{
ElementCollection childCollection0 = new ElementCollection(ElementCollection.CollectionType.Sequence);
childCollection0.AddItem(new ElementCollection.SequenceItem(typeof(EmbeddedUIResource)));
this.children = childCollection0;
}
-
+
public virtual IEnumerable Children
{
get
@@ -48574,7 +48574,7 @@ public virtual IEnumerable Children
return this.children;
}
}
-
+
[SuppressMessage("Microsoft.Design", "CA1043:UseIntegralOrStringArgumentForIndexers")]
public virtual IEnumerable this[System.Type childType]
{
@@ -48583,7 +48583,7 @@ public virtual IEnumerable this[System.Type childType]
return this.children.Filter(childType);
}
}
-
+
///
/// Unique identifier for embedded UI.If this attribute is not specified the Name attribute or the file name
/// portion of the SourceFile attribute will be used.
@@ -48600,7 +48600,7 @@ public string Id
this.idField = value;
}
}
-
+
///
/// Embedded UI will not recieve any INSTALLLOGMODE_FATALEXIT messages.
///
@@ -48616,7 +48616,7 @@ public YesNoType IgnoreFatalExit
this.ignoreFatalExitField = value;
}
}
-
+
///
/// Embedded UI will not recieve any INSTALLLOGMODE_ERROR messages.
///
@@ -48632,7 +48632,7 @@ public YesNoType IgnoreError
this.ignoreErrorField = value;
}
}
-
+
///
/// Embedded UI will not recieve any INSTALLLOGMODE_WARNING messages.
///
@@ -48648,7 +48648,7 @@ public YesNoType IgnoreWarning
this.ignoreWarningField = value;
}
}
-
+
///
/// Embedded UI will not recieve any INSTALLLOGMODE_USER messages.
///
@@ -48664,7 +48664,7 @@ public YesNoType IgnoreUser
this.ignoreUserField = value;
}
}
-
+
///
/// Embedded UI will not recieve any INSTALLLOGMODE_INFO messages.
///
@@ -48680,7 +48680,7 @@ public YesNoType IgnoreInfo
this.ignoreInfoField = value;
}
}
-
+
///
/// Embedded UI will not recieve any INSTALLLOGMODE_FILESINUSE messages.
///
@@ -48696,7 +48696,7 @@ public YesNoType IgnoreFilesInUse
this.ignoreFilesInUseField = value;
}
}
-
+
///
/// Embedded UI will not recieve any INSTALLLOGMODE_RESOLVESOURCE messages.
///
@@ -48712,7 +48712,7 @@ public YesNoType IgnoreResolveSource
this.ignoreResolveSourceField = value;
}
}
-
+
///
/// Embedded UI will not recieve any INSTALLLOGMODE_OUTOFDISKSPACE messages.
///
@@ -48728,7 +48728,7 @@ public YesNoType IgnoreOutOfDiskSpace
this.ignoreOutOfDiskSpaceField = value;
}
}
-
+
///
/// Embedded UI will not recieve any INSTALLLOGMODE_ACTIONSTART messages.
///
@@ -48744,7 +48744,7 @@ public YesNoType IgnoreActionStart
this.ignoreActionStartField = value;
}
}
-
+
///
/// Embedded UI will not recieve any INSTALLLOGMODE_ACTIONDATA messages.
///
@@ -48760,7 +48760,7 @@ public YesNoType IgnoreActionData
this.ignoreActionDataField = value;
}
}
-
+
///
/// Embedded UI will not recieve any INSTALLLOGMODE_PROGRESS messages.
///
@@ -48776,7 +48776,7 @@ public YesNoType IgnoreProgress
this.ignoreProgressField = value;
}
}
-
+
///
/// Embedded UI will not recieve any INSTALLLOGMODE_COMMONDATA messages.
///
@@ -48792,7 +48792,7 @@ public YesNoType IgnoreCommonData
this.ignoreCommonDataField = value;
}
}
-
+
///
/// Embedded UI will not recieve any INSTALLLOGMODE_INITIALIZE messages.
///
@@ -48808,7 +48808,7 @@ public YesNoType IgnoreInitialize
this.ignoreInitializeField = value;
}
}
-
+
///
/// Embedded UI will not recieve any INSTALLLOGMODE_TERMINATE messages.
///
@@ -48824,7 +48824,7 @@ public YesNoType IgnoreTerminate
this.ignoreTerminateField = value;
}
}
-
+
///
/// Embedded UI will not recieve any INSTALLLOGMODE_SHOWDIALOG messages.
///
@@ -48840,7 +48840,7 @@ public YesNoType IgnoreShowDialog
this.ignoreShowDialogField = value;
}
}
-
+
///
/// Embedded UI will not recieve any INSTALLLOGMODE_RMFILESINUSE messages.
///
@@ -48857,7 +48857,7 @@ public YesNoType IgnoreRMFilesInUse
this.ignoreRMFilesInUseField = value;
}
}
-
+
///
/// Embedded UI will not recieve any INSTALLLOGMODE_INSTALLSTART messages.
///
@@ -48873,7 +48873,7 @@ public YesNoType IgnoreInstallStart
this.ignoreInstallStartField = value;
}
}
-
+
///
/// Embedded UI will not recieve any INSTALLLOGMODE_INSTALLEND messages.
///
@@ -48908,7 +48908,7 @@ public string Name
this.nameField = value;
}
}
-
+
///
/// Path to the binary file that is the embedded UI. This must be a DLL that exports the following
/// three entry points: InitializeEmbeddedUI, EmbeddedUIHandler and ShutdownEmbeddedUI.
@@ -48925,7 +48925,7 @@ public string SourceFile
this.sourceFileField = value;
}
}
-
+
///
/// Set yes to allow the Windows Installer to display the embedded UI during basic UI level installation.
///
@@ -48941,7 +48941,7 @@ public YesNoType SupportBasicUI
this.supportBasicUIField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -48953,7 +48953,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
public virtual void AddChild(ISchemaElement child)
{
if ((null == child))
@@ -48963,7 +48963,7 @@ public virtual void AddChild(ISchemaElement child)
this.children.AddElement(child);
child.ParentElement = this;
}
-
+
public virtual void RemoveChild(ISchemaElement child)
{
if ((null == child))
@@ -48973,7 +48973,7 @@ public virtual void RemoveChild(ISchemaElement child)
this.children.RemoveElement(child);
child.ParentElement = null;
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
ISchemaElement ICreateChildren.CreateChild(string childName)
{
@@ -48992,7 +48992,7 @@ ISchemaElement ICreateChildren.CreateChild(string childName)
}
return childValue;
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -49232,7 +49232,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
void ISetAttributes.SetAttribute(string name, string value)
@@ -49353,28 +49353,28 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
///
/// Defines a resource for use by the embedded UI.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class EmbeddedUIResource : ISchemaElement, ISetAttributes
{
-
+
private string idField;
-
+
private bool idFieldSet;
-
+
private string nameField;
-
+
private bool nameFieldSet;
-
+
private string sourceFileField;
-
+
private bool sourceFileFieldSet;
-
+
private ISchemaElement parentElement;
-
+
///
/// Identifier for the embedded UI resource.
///
@@ -49408,7 +49408,7 @@ public string Name
this.nameField = value;
}
}
-
+
///
/// Path to the binary file that is the embedded UI resource.
///
@@ -49424,7 +49424,7 @@ public string SourceFile
this.sourceFileField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -49436,7 +49436,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -49461,7 +49461,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -49486,21 +49486,21 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class Error : ISchemaElement, ISetAttributes
{
-
+
private int idField;
-
+
private bool idFieldSet;
-
+
private string contentField;
-
+
private bool contentFieldSet;
-
+
private ISchemaElement parentElement;
-
+
///
/// Number of the error for which a message is being provided. See MSI SDK for error definitions.
///
@@ -49516,7 +49516,7 @@ public int Id
this.idField = value;
}
}
-
+
///
/// Element value is Message, use CDATA if message contains delimiter characters
///
@@ -49532,7 +49532,7 @@ public string Content
this.contentField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -49544,7 +49544,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -49565,7 +49565,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -49585,41 +49585,41 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class Publish : ISchemaElement, ISetAttributes
{
-
+
private string controlField;
-
+
private bool controlFieldSet;
-
+
private string dialogField;
-
+
private bool dialogFieldSet;
-
+
private string eventField;
-
+
private bool eventFieldSet;
-
+
private string orderField;
-
+
private bool orderFieldSet;
-
+
private string propertyField;
-
+
private bool propertyFieldSet;
-
+
private string valueField;
-
+
private bool valueFieldSet;
-
+
private string contentField;
-
+
private bool contentFieldSet;
-
+
private ISchemaElement parentElement;
-
+
///
/// The parent Control for this Publish element, should only be specified when this element is a child of the UI element.
///
@@ -49635,7 +49635,7 @@ public string Control
this.controlField = value;
}
}
-
+
///
/// The parent Dialog for this Publish element, should only be specified when this element is a child of the UI element.
/// This attribute will create a reference to the specified Dialog, so an additional DialogRef is not necessary.
@@ -49652,7 +49652,7 @@ public string Dialog
this.dialogField = value;
}
}
-
+
///
/// Set this attribute's value to one of the standard control events to trigger that event.
/// Either this attribute or the Property attribute must be set, but not both at the same time.
@@ -49669,7 +49669,7 @@ public string Event
this.eventField = value;
}
}
-
+
///
/// This attribute should only need to be set if this element is nested under a UI element in order to
/// control the order in which this publish event will be started.
@@ -49690,7 +49690,7 @@ public string Order
this.orderField = value;
}
}
-
+
///
/// Set this attribute's value to a property name to set that property.
/// Either this attribute or the Event attribute must be set, but not both at the same time.
@@ -49707,7 +49707,7 @@ public string Property
this.propertyField = value;
}
}
-
+
///
/// If the Property attribute is specified, set the value of this attribute to the new value for the property.
/// To set a property to null, do not set this attribute (the ControlEvent Argument column will be set to '{}').
@@ -49726,7 +49726,7 @@ public string Value
this.valueField = value;
}
}
-
+
///
/// The element value is the optional Condition expression.
///
@@ -49742,7 +49742,7 @@ public string Content
this.contentField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -49754,7 +49754,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -49796,7 +49796,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -49841,24 +49841,24 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
///
/// Sets attributes for events in the EventMapping table
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class Subscribe : ISchemaElement, ISetAttributes
{
-
+
private string eventField;
-
+
private bool eventFieldSet;
-
+
private string attributeField;
-
+
private bool attributeFieldSet;
-
+
private ISchemaElement parentElement;
-
+
///
/// must be one of the standard control events'
///
@@ -49874,7 +49874,7 @@ public string Event
this.eventField = value;
}
}
-
+
///
/// if not present can only handle enable, disable, hide, unhide events
///
@@ -49890,7 +49890,7 @@ public string Attribute
this.attributeField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -49902,7 +49902,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -49923,7 +49923,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -49943,28 +49943,28 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
///
/// An alternative to using the Text attribute when the value contains special XML characters like <, >, or &.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class Text : ISchemaElement, ISetAttributes
{
-
+
private string sourceFileField;
-
+
private bool sourceFileFieldSet;
-
+
private string srcField;
-
+
private bool srcFieldSet;
-
+
private string contentField;
-
+
private bool contentFieldSet;
-
+
private ISchemaElement parentElement;
-
+
///
/// Instructs the text to be imported from a file instead of the element value during the binding process.
///
@@ -49980,7 +49980,7 @@ public string SourceFile
this.sourceFileField = value;
}
}
-
+
[SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly")]
public string src
{
@@ -49994,7 +49994,7 @@ public string src
this.srcField = value;
}
}
-
+
public string Content
{
get
@@ -50007,7 +50007,7 @@ public string Content
this.contentField = value;
}
}
-
+
public virtual ISchemaElement ParentElement
{
get
@@ -50019,7 +50019,7 @@ public virtual ISchemaElement ParentElement
this.parentElement = value;
}
}
-
+
///
/// Processes this element and all child elements into an XmlWriter.
///
@@ -50044,7 +50044,7 @@ public virtual void OutputXml(XmlWriter writer)
}
writer.WriteEndElement();
}
-
+
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void ISetAttributes.SetAttribute(string name, string value)
{
@@ -50069,210 +50069,210 @@ void ISetAttributes.SetAttribute(string name, string value)
}
}
}
-
+
///
/// Contains the controls that appear on each dialog.
///
[GeneratedCode("WixBuildTools.XsdGen", "4.0.0.0")]
public class Control : IParentElement, ICreateChildren, ISchemaElement, ISetAttributes
{
-
+
private ElementCollection children;
-
+
private string idField;
-
+
private bool idFieldSet;
-
+
private string typeField;
-
+
private bool typeFieldSet;
-
+
private string xField;
-
+
private bool xFieldSet;
-
+
private string yField;
-
+
private bool yFieldSet;
-
+
private string widthField;
-
+
private bool widthFieldSet;
-
+
private string heightField;
-
+
private bool heightFieldSet;
-
+
private string propertyField;
-
+
private bool propertyFieldSet;
-
+
private string textField;
-
+
private bool textFieldSet;
-
+
private string helpField;
-
+
private bool helpFieldSet;
-
+
private string toolTipField;
-
+
private bool toolTipFieldSet;
-
+
private string checkBoxValueField;
-
+
private bool checkBoxValueFieldSet;
-
+
private string checkBoxPropertyRefField;
-
+
private bool checkBoxPropertyRefFieldSet;
-
+
private YesNoType tabSkipField;
-
+
private bool tabSkipFieldSet;
-
+
private YesNoType defaultField;
-
+
private bool defaultFieldSet;
-
+
private YesNoType cancelField;
-
+
private bool cancelFieldSet;
-
+
private YesNoType hiddenField;
-
+
private bool hiddenFieldSet;
-
+
private YesNoType disabledField;
-
+
private bool disabledFieldSet;
-
+
private YesNoType sunkenField;
-
+
private bool sunkenFieldSet;
-
+
private YesNoType indirectField;
-
+
private bool indirectFieldSet;
-
+
private YesNoType integerField;
-
+
private bool integerFieldSet;
-
+
private YesNoType rightToLeftField;
-
+
private bool rightToLeftFieldSet;
-
+
private YesNoType rightAlignedField;
-
+
private bool rightAlignedFieldSet;
-
+
private YesNoType leftScrollField;
-
+
private bool leftScrollFieldSet;
-
+
private YesNoType transparentField;
-
+
private bool transparentFieldSet;
-
+
private YesNoType noPrefixField;
-
+
private bool noPrefixFieldSet;
-
+
private YesNoType noWrapField;
-
+
private bool noWrapFieldSet;
-
+
private YesNoType formatSizeField;
-
+
private bool formatSizeFieldSet;
-
+
private YesNoType userLanguageField;
-
+
private bool userLanguageFieldSet;
-
+
private YesNoType multilineField;
-
+
private bool multilineFieldSet;
-
+
private YesNoType passwordField;
-
+
private bool passwordFieldSet;
-
+
private YesNoType progressBlocksField;
-
+
private bool progressBlocksFieldSet;
-
+
private YesNoType removableField;
-
+
private bool removableFieldSet;
-
+
private YesNoType fixedField;
-
+
private bool fixedFieldSet;
-
+
private YesNoType remoteField;
-
+
private bool remoteFieldSet;
-
+
private YesNoType cDROMField;
-
+
private bool cDROMFieldSet;
-
+
private YesNoType rAMDiskField;
-
+
private bool rAMDiskFieldSet;
-
+
private YesNoType floppyField;
-
+
private bool floppyFieldSet;
-
+
private YesNoType showRollbackCostField;
-
+
private bool showRollbackCostFieldSet;
-
+
private YesNoType sortedField;
-
+
private bool sortedFieldSet;
-
+
private YesNoType comboListField;
-
+
private bool comboListFieldSet;
-
+
private YesNoType imageField;
-
+
private bool imageFieldSet;
-
+
private IconSizeType iconSizeField;
-
+
private bool iconSizeFieldSet;
-
+
private YesNoType fixedSizeField;
-
+
private bool fixedSizeFieldSet;
-
+
private YesNoType iconField;
-
+
private bool iconFieldSet;
-
+
private YesNoType bitmapField;
-
+
private bool bitmapFieldSet;
-
+
private YesNoType pushLikeField;
-
+
private bool pushLikeFieldSet;
-
+
private YesNoType hasBorderField;
-
+
private bool hasBorderFieldSet;
-
+
private YesNoType elevationShieldField;
-
+
private bool elevationShieldFieldSet;
-
+
private ISchemaElement parentElement;
-
+
public Control()
{
ElementCollection childCollection0 = new ElementCollection(ElementCollection.CollectionType.Sequence);
@@ -50290,7 +50290,7 @@ public Control()
childCollection0.AddCollection(childCollection1);
this.children = childCollection0;
}
-
+
public virtual IEnumerable Children
{
get
@@ -50298,7 +50298,7 @@ public virtual IEnumerable Children
return this.children;
}
}
-
+
[SuppressMessage("Microsoft.Design", "CA1043:UseIntegralOrStringArgumentForIndexers")]
public virtual IEnumerable this[System.Type childType]
{
@@ -50307,7 +50307,7 @@ public virtual IEnumerable this[System.Type childType]
return this.children.Filter(childType);
}
}
-
+
///
/// Combined with the Dialog Id to make up the primary key of the Control table.
///
@@ -50323,7 +50323,7 @@ public string Id
this.idField = value;
}
}
-
+
///
/// The type of the control. Could be one of the following: Billboard, Bitmap, CheckBox, ComboBox, DirectoryCombo, DirectoryList, Edit, GroupBox, Hyperlink, Icon, Line, ListBox, ListView, MaskedEdit, PathEdit, ProgressBar, PushButton, RadioButtonGroup, ScrollableText, SelectionTree, Text, VolumeCostList, VolumeSelectCombo
///
@@ -50339,7 +50339,7 @@ public string Type
this.typeField = value;
}
}
-
+
///
/// Horizontal coordinate of the upper-left corner of the rectangular boundary of the control. This must be a non-negative number.
///
@@ -50355,7 +50355,7 @@ public string X
this.xField = value;
}
}
-
+
///
/// Vertical coordinate of the upper-left corner of the rectangular boundary of the control. This must be a non-negative number.
///
@@ -50371,7 +50371,7 @@ public string Y
this.yField = value;
}
}
-
+
///
/// Width of the rectangular boundary of the control. This must be a non-negative number.
///
@@ -50387,7 +50387,7 @@ public string Width
this.widthField = value;
}
}
-
+
///
/// Height of the rectangular boundary of the control. This must be a non-negative number.
///
@@ -50403,7 +50403,7 @@ public string Height
this.heightField = value;
}
}
-
+
///
/// The name of a defined property to be linked to this control. This column is required for active controls.
///
@@ -50419,7 +50419,7 @@ public string Property
this.propertyField = value;
}
}
-
+
///
/// A localizable string used to set the initial text contained in a control. This attribute can contain a formatted string that is processed at install time to insert the values of properties using [PropertyName] syntax. Also supported are environment variables, file installation paths, and component installation directories; see
///
@@ -50435,7 +50435,7 @@ public string Text
this.textField = value;
}
}
-
+
///
/// This attribute is reserved for future use. There is no need to use this until Windows Installer uses it for something.
///
@@ -50451,7 +50451,7 @@ public string Help
this.helpField = value;
}
}
-
+
///
/// The string used for the Tooltip.
///
@@ -50467,7 +50467,7 @@ public string ToolTip
this.toolTipField = value;
}
}
-
+
///
/// This attribute is only valid for CheckBox Controls. When set, the linked Property will be set to this value when the check box is checked.
///
@@ -50483,7 +50483,7 @@ public string CheckBoxValue
this.checkBoxValueField = value;
}
}
-
+
///
/// This attribute is only valid for CheckBox controls. The value is the name of a Property that was already used as the Property for another CheckBox control. The Property attribute cannot be specified. The attribute exists to support multiple checkboxes on different dialogs being tied to the same property.
///
@@ -50499,7 +50499,7 @@ public string CheckBoxPropertyRef
this.checkBoxPropertyRefField = value;
}
}
-
+
///
/// Set this attribute to "yes" to cause this Control to be skipped in the tab sequence.
///
@@ -50515,7 +50515,7 @@ public YesNoType TabSkip
this.tabSkipField = value;
}
}
-
+
///
/// Set this attribute to "yes" to cause this Control to be invoked by the return key.
///
@@ -50531,7 +50531,7 @@ public YesNoType Default
this.defaultField = value;
}
}
-
+
///
/// Set this attribute to "yes" to cause this Control to be invoked by the escape key.
///
@@ -50547,7 +50547,7 @@ public YesNoType Cancel
this.cancelField = value;
}
}
-
+
///
/// Set this attribute to "yes" to cause the Control to be hidden.
///
@@ -50563,7 +50563,7 @@ public YesNoType Hidden
this.hiddenField = value;
}
}
-
+
///
/// Set this attribute to "yes" to cause the Control to be disabled.
///
@@ -50579,7 +50579,7 @@ public YesNoType Disabled
this.disabledField = value;
}
}
-
+
///
/// Set this attribute to "yes" to cause the Control to be sunken.
///
@@ -50595,7 +50595,7 @@ public YesNoType Sunken
this.sunkenField = value;
}
}
-
+
///
/// Specifies whether the value displayed or changed by this control is referenced indirectly. If this bit is set, the control displays or changes the value of the property that has the identifier listed in the Property column of the Control table.
///
@@ -50611,7 +50611,7 @@ public YesNoType Indirect
this.indirectField = value;
}
}
-
+
///
/// Set this attribute to "yes" to cause the linked Property value for the Control to be treated as an integer. Otherwise, the Property will be treated as a string.
///
@@ -50627,7 +50627,7 @@ public YesNoType Integer
this.integerField = value;
}
}
-
+
///
/// Set this attribute to "yes" to cause the Control to display from right to left.
///
@@ -50643,7 +50643,7 @@ public YesNoType RightToLeft
this.rightToLeftField = value;
}
}
-
+
///
/// Set this attribute to "yes" to cause the Control to be right aligned.
///
@@ -50659,7 +50659,7 @@ public YesNoType RightAligned
this.rightAlignedField = value;
}
}
-
+
///
/// Set this attribute to "yes" to cause the scroll bar to display on the left side of the Control.
///
@@ -50675,7 +50675,7 @@ public YesNoType LeftScroll
this.leftScrollField = value;
}
}
-
+
///
/// This attribute is only valid for Text Controls.
///
@@ -50691,7 +50691,7 @@ public YesNoType Transparent
this.transparentField = value;
}
}
-
+
///
/// This attribute is only valid for Text Controls.
///
@@ -50707,7 +50707,7 @@ public YesNoType NoPrefix
this.noPrefixField = value;
}
}
-
+
///
/// This attribute is only valid for Text Controls.
///
@@ -50723,7 +50723,7 @@ public YesNoType NoWrap
this.noWrapField = value;
}
}
-
+
///
/// This attribute is only valid for Text Controls.
///
@@ -50739,7 +50739,7 @@ public YesNoType FormatSize
this.formatSizeField = value;
}
}
-
+
///
/// This attribute is only valid for Text Controls.
///
@@ -50755,7 +50755,7 @@ public YesNoType UserLanguage
this.userLanguageField = value;
}
}
-
+
///
/// This attribute is only valid for Edit Controls.
///
@@ -50771,7 +50771,7 @@ public YesNoType Multiline
this.multilineField = value;
}
}
-
+
///
/// This attribute is only valid for Edit Controls.
///
@@ -50787,7 +50787,7 @@ public YesNoType Password
this.passwordField = value;
}
}
-
+
///
/// This attribute is only valid for ProgressBar Controls.
///
@@ -50803,7 +50803,7 @@ public YesNoType ProgressBlocks
this.progressBlocksField = value;
}
}
-
+
///
/// This attribute is only valid for Volume and Directory Controls.
///
@@ -50819,7 +50819,7 @@ public YesNoType Removable
this.removableField = value;
}
}
-
+
///
/// This attribute is only valid for Volume and Directory Controls.
///
@@ -50835,7 +50835,7 @@ public YesNoType Fixed
this.fixedField = value;
}
}
-
+
///
/// This attribute is only valid for Volume and Directory Controls.
///
@@ -50851,7 +50851,7 @@ public YesNoType Remote
this.remoteField = value;
}
}
-
+
///
/// This attribute is only valid for Volume and Directory Controls.
///
@@ -50868,7 +50868,7 @@ public YesNoType CDROM
this.cDROMField = value;
}
}
-
+
///
/// This attribute is only valid for Volume and Directory Controls.
///
@@ -50885,7 +50885,7 @@ public YesNoType RAMDisk
this.rAMDiskField = value;
}
}
-
+
///
/// This attribute is only valid for Volume and Directory Controls.
///
@@ -50901,7 +50901,7 @@ public YesNoType Floppy
this.floppyField = value;
}
}
-
+
///
/// This attribute is only valid for VolumeCostList Controls.
///
@@ -50917,7 +50917,7 @@ public YesNoType ShowRollbackCost
this.showRollbackCostField = value;
}
}
-
+
///
/// This attribute is only valid for ListBox, ListView, and ComboBox Controls. Set
/// the value of this attribute to "yes" to have entries appear in the order specified under the Control.
@@ -50935,7 +50935,7 @@ public YesNoType Sorted
this.sortedField = value;
}
}
-
+
///