
Ящик для предложений: sales@blogslov.ru
Send Wix-commits mailing list submissions to
wix-commits@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/wix-commits
or, via email, send a message with subject or body 'help' to
wix-commits-request@lists.sourceforge.net
You can reach the person managing the list at
wix-commits-owner@lists.sourceforge.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Wix-commits digest..."
Today's Topics:
1. wix/src/votive/votive/PropertyPages
WixBuildEventsPropertyPage.cs, NONE, 1.1
WixBuildEventsPropertyPagePanel.Designer.cs, NONE, 1.1
WixBuildEventsPropertyPagePanel.cs, NONE, 1.1
WixBuildEventsPropertyPagePanel.resx, NONE, 1.1
WixCompilerPropertyPagePanel.cs, 1.3, 1.4
WixLinkerPropertyPagePanel.Designer.cs, 1.2, 1.3
WixLinkerPropertyPagePanel.cs, 1.3, 1.4
WixLinkerPropertyPagePanel.resx, 1.1, 1.2 WixPropertyPage.cs,
1.3, 1.4 (Rob Mensching)
----------------------------------------------------------------------
Message: 1
Date: Wed, 27 Jun 2007 05:38:59 +0000
From: Rob Mensching
Subject: [WiX-commits] wix/src/votive/votive/PropertyPages
WixBuildEventsPropertyPage.cs, NONE, 1.1
WixBuildEventsPropertyPagePanel.Designer.cs, NONE, 1.1
WixBuildEventsPropertyPagePanel.cs, NONE, 1.1
WixBuildEventsPropertyPagePanel.resx, NONE, 1.1
WixCompilerPropertyPagePanel.cs, 1.3, 1.4
WixLinkerPropertyPagePanel.Designer.cs, 1.2, 1.3
WixLinkerPropertyPagePanel.cs, 1.3, 1.4
WixLinkerPropertyPagePanel.resx, 1.1, 1.2 WixPropertyPage.cs, 1.3, 1.4
To: wix-commits@lists.sourceforge.net
Message-ID:
Update of /cvsroot/wix/wix/src/votive/votive/PropertyPages
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv1332/src/votive/votive/PropertyPages
Modified Files:
WixCompilerPropertyPagePanel.cs
WixLinkerPropertyPagePanel.Designer.cs
WixLinkerPropertyPagePanel.cs WixLinkerPropertyPagePanel.resx
WixPropertyPage.cs
Added Files:
WixBuildEventsPropertyPage.cs
WixBuildEventsPropertyPagePanel.Designer.cs
WixBuildEventsPropertyPagePanel.cs
WixBuildEventsPropertyPagePanel.resx
Log Message:
Benxing: Number of patch related bug fix
*Update FeatureComponent table when ComponentRef in the selected PatchFamily
*File Sequence problem
PMarcu: Allowing extension attributes on DirectoryRef and PropertyRef
Adding extension attributes to the VSExtension Refs
PMarcu: Adding UIRef and DirectoryRef to possible PatchFamily Children
Allowing extension attributes on CustomAction elements.
JRock: Added support for setting pre- and post-build event command lines via a
property page in Votive. This gets me one step closer to restoring the
inter-project variables that we had in V2 but had to pull in V3 to get
it out the door (e.g. $(var.MyProject.TargetPath)).
JRock: Added support for SolutionX variables in the wix.targets file. So, you
can now use $(var.SolutionDir) in your .wxs files and have the variables
automatically added to the preprocessor definitions when building with
wix.targets and MSBuild.
Benxing: Regardless of differences in the MST, we will compare underlying files before
copying data into the patch. Extensions can override CompareFiles to provide
custom file diffing behavior.
AaronSte: Updating Heat to use HKCU instead of HKLM when harvesting registry
information on Windows Vista to avoid UAC issues
PMarcu: Making XsdStitch only output a single prefix for each extension namespace.
Benxing: Fixing null reference exception in the binder when the file table is empty.
RobMen: Default File/@Name to File/@Id.
MikeHo: Fix bug with Setup.exe when trying to install and TEMP and AppData
folders are not on same drive, setup fails
MikeHo: Add fallback to Caching the MSI.
RobMen: SFBUG:1680666 - Correctly modularize RemoveIniFile.DirProperites.
PMarcu: Removing FragmentRef's
AaronSte: SFBUG:1675664 - Marking ComboBox value attribute as localizable.
PMarcu: Adding BinaryRef as a child of PatchFamily.
Benxing: Give warning when removing component from feature during the patch build.
PMarcu: Changing namespace keys in the VSExtension help tables to not be modularized.
PMarcu: Adding some targeted checks to patch transforms to catch possible error
conditions as early as possible.
AaronSte: Adding Visual Studio Codename Orcas detection properties.
AaronSte: SFBUG:1687207 - Update Heat so DllRegisterServer captures will work
on Windows Vista from an elevated cmd prompt.
PMarcu: Fix for DocCompiler to handle ref attributes in attribute definitions under
elements.
BobArnso: Resize and combine some controls to better fit localized strings
(affects all UI sets, dialogs UserExit, OutOfRbDiskDlg, OutOfDiskDlg)
Benxing: Skipping unreal tables when binding transforms to improve patch build
perfomance.
Adding active substorage into binder extension to give the ability to
access corresponding transform information.
JRock: SFBUG:1673425 - Cannot access the VS menu using the alt key
SFBUG:1576283 - Unable to enter 'c' or 'm' in proj properties screen fields
SFBUG:1570392 - Project Designer - Index was outside the bounds of the array
SFBUG:1566296 - Setting 'Cultures' field in project properties has no effect
SFBUG:1576287 - Modifying project properties does not force rebuild
Benxing: Ignore rows without section id in ReduceTransform.
MikeHo: Allow for multiple files to be extracted from chainer.
AaronSte: Adding Visual Studio Team Test project system detection properties.
FGrohn: Support for PubCA in WiX v3.
HeathS: Added extension support to the Validator.
Exposed extension support for the Validator through light.exe.
Exposed extension support for the Validator through smoke.exe.
Exposed multiple .cub file support through smoke.exe.
HeathS: Exposed multiple .cub file support through light.exe.
Added a test for the Validator and multiple .cub support in light.exe.
MikeHo: Add error messages for Windows Installer service can't start or Install
blocked by system policy
BobArnso: Add WixQueryOsInfo CA to detect system suite info and "special
folders" as properties over and above the MSI set
BobArnso: Default to removing library rows from decompiled output in
WixUtilExtension
PMarcu: Refactoring patch buld system to use Pyro instead of Light for filtering
and binding. Other target patch specific bug fixes are in the mix as well.
PMarcu: Adding more command line options to Pyro, specifically the ones that
provide settings for the binder.
PMarcu: Adding error and warning preprocessor instructions.
PMarcu: Fixing an exception thrown when Dark is run and no extensions are defined
in the config file or the config file is absent.
Also, bug where Customtable columns that are not foreign keys have the
keytable attribute defined on the column as keytable="". This results in
an invalid table reference to "".
PMarcu: Switching order on Pyro commandline.
Jordanf: Adding support to WixUnit for Pyro. Fixing the qtest patch.minorupgrade
to use Pyro.
BrianRe: Added code to detect a namespace prefix that is already in use and if
so it will append it with its' position within the "duplicates" for
that specific prefix; eg. sql, sql2, sql3, and so on.
RobMen: Add support for PerformanceCounters (including managed code).
FGrohn: Added COM+ and MSMQ extensions to the zip file.
FGrohn: Move to Windows Vista SDK.
JRock: SFBUG:1566807 - Display full version in about dialog.
SFBUG:1697089 - MSBuild WiX taskscannot resolve WiX tool paths automatically
SFBUG:1689830 - Error when using Wix3 when not installed on C drive
Benxing: Handle Sequence tables when building the patch.
Don't allow empty patch.
HeathS: Added an extension for installing PowerShell snap-ins.
PMarcu: Adding Melt as a tool to decompile MSM's to ComponentGroups.
PMarcu: Adding warning for when a non keypath file is updated and the keypath file
of that component is not.
Benxing: Adding information into _SummaryInformation table for patch build.
PMarcu: Adding a check to assure no duplicate fragment Id's exist.
JKuhne: Fixing a GC issue with the Validator. (Locals are rooted until last reference, not
end of scope.)
BobArnso: Add DiskId attribute to Directory and DirectoryRef to provide default
DiskId for contained components and files.
MikeHo: Fix language matching in Setup.exe
PMarcu: Making sdut and tsa defaults when passing xo to light.exe
AaronSte: Adding more CSIDL values to WixQueryOsDirs custom action
RobMen: Reverse integrate WiX v2 CustomAction fixes.
BobArnso: Add element-extensibility points to Directory and DirectoryRef.
Jordanf: Add a new test for preprocessor .
Mikeho: Add NewFolder UIText element.
AaronSte: Adding custom actions to run devenv.exe /InstallVSTemplates to the
WixVSExtension
BobArnso: Pass directory ID to Directory and DirectoryRef extension elements.
RobMen: Introducing smart-cabbing.
RobMen: SFBUG:1707259 - fix nasty memory violation
HeathS: Added patch-specific property to identify client patches and
if they can be removed.
Mikeho: Fix manifests for setupbld.exe/setup.exe
JordanF: Add the -update option to automatically update a test. Make MSI/MSI
validation explicit in the tests.
JRock: Adding back project references to Votive V3! Actually, I'm adding them
to the wix.targets MSBuild file to be exact. Votive uses it, but you get
the goodness without using Votive also. Basically, this is the feature
where if you reference other projects in your Visual Studio solution,
you can reference the output of those projects from within your wixproj
project. For example, $(var.MyCSharpApp.TargetPath). This will work for
any managed project in Visual Studio (at least it does for VC#, VB, and
VC++ managed). You have to build from within Visual Studio or from the
command line. If you build just the .wixproj, then you won't get the
project variables defined.
SFBUG:1585281 - Add solution and project variables back to Votive v3
MikeHo: Fix support for more than 10 MSIs/MSTs
JRock: SFBUG:1588291 - Support response files for MSBuild candle/light/lit
tasks
BobArnso: Have heat generate a default ComponentGroup when harvesting
directories in a fragment.
JRock: SFBUG:1717966 - Solution Build Issues (build 2911)
When a wixproj is the only thing in the solution, the SolutionX
variables aren't defined when building within Visual Studio. This
is because normally C#/VB define these variables for us. The fix
is to define them ourself.
HeathS: SFBUG:1716160 - ICE03 string overflow error, xmlFile
RobMen: SFBUG:1716160 - fix string overflow error for XmlConfig
BrianRe: Fixing wix.xsd to use W3C recognized regular expressions.
PMarcu: Defaulting Media\@Source to a form of the patchId if not specified
when Media is a child of a patch.
RobMen: SFBUG:1724535 - correctly integrate a few more fixes from WiX v2 to
WiX v3.
JordanF: WixUnit now compares the transforms inside a patch when it is diffing
two patches. Previously, only the tables in the patch were compared.
AaronSte: Added documentation for properties and custom actions in the
WixVSExtension.
PMarcu: Fix for ServiceConfig CA's to call correct rollback entrypoint.
BMurri: Add support for bound wixouts/wixmsts to torch and pyro.
PMarcu: Fix for ServiceConfig CA's to call correct rollback entrypoint.
RobMen: Schema tweaks to enable simple references on FeatureRef and
FeatureGroupRef plus tweaks to enable floating Components.
AaronSte: Added documentation for Votive functionality.
AaronSte: Fixing variable resolution problem in WiX Product item template
in Votive.
PMarcu: Updating flags in XmlConfig to match with CA after the 2.0 to
3.0 integration.
JRock: Integrated the VS SDK 4.0 into Votive.
AaronSte: Merged WiX 2.0 documentation changes into 3.0. Updated instances
of deprecated src attributes in examples in the docs.
MikeHo: Add reinstall support & logging to Chainer + fix bug when using
transforms other than Chinese.
HeathS: SFBUG:1739868 - Pyro does not find .AllowRemoval property
PMarcu: Removing primary key from EnsureTable to support patching.
Fixing documentation for XmlConfig.
RobMen: SFBUG:1739194 - Preserve whitespace when using XmlFile or XmlConfig
JKuhne: Fix a GC related bug in the cab enumeration callback. (Cab.WixEnumerateCab.Enumerate)
Index: WixLinkerPropertyPagePanel.resx
===================================================================
RCS file: /cvsroot/wix/wix/src/votive/votive/PropertyPages/WixLinkerPropertyPagePanel.resx,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** WixLinkerPropertyPagePanel.resx 20 Sep 2006 10:43:34 -0000 1.1
--- WixLinkerPropertyPagePanel.resx 27 Jun 2007 05:38:57 -0000 1.2
***************
*** 118,124 ****
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
-
True
--- 118,121 ----
***************
*** 133,142 ****
False
-
- False
-
True
True
--- 130,139 ----
False
True
+
+ False
+
True
--- NEW FILE: WixBuildEventsPropertyPagePanel.Designer.cs ---
namespace Microsoft.Tools.WindowsInstallerXml.VisualStudio.PropertyPages
{
partial class WixBuildEventsPropertyPagePanel
{
///
/// Required designer variable.
///
private System.ComponentModel.IContainer components = null;
///
/// Clean up any resources being used.
///
/// true if managed resources should be disposed; otherwise, false.
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///
private void InitializeComponent()
{
Microsoft.Tools.WindowsInstallerXml.VisualStudio.Controls.WixGroupBox preBuildGroupBox;
Microsoft.Tools.WindowsInstallerXml.VisualStudio.Controls.WixGroupBox postBuildGroupBox;
System.Windows.Forms.Label runLabel;
this.preBuildEditor = new Microsoft.Tools.WindowsInstallerXml.VisualStudio.Controls.WixBuildEventEditor();
this.postBuildEditor = new Microsoft.Tools.WindowsInstallerXml.VisualStudio.Controls.WixBuildEventEditor();
this.runPostBuildComboBox = new System.Windows.Forms.ComboBox();
preBuildGroupBox = new Microsoft.Tools.WindowsInstallerXml.VisualStudio.Controls.WixGroupBox();
postBuildGroupBox = new Microsoft.Tools.WindowsInstallerXml.VisualStudio.Controls.WixGroupBox();
runLabel = new System.Windows.Forms.Label();
preBuildGroupBox.SuspendLayout();
postBuildGroupBox.SuspendLayout();
this.SuspendLayout();
//
// banner
//
this.banner.Size = new System.Drawing.Size(528, 90);
this.banner.Text = "Build Events";
//
// preBuildGroupBox
//
preBuildGroupBox.Controls.Add(this.preBuildEditor);
preBuildGroupBox.Location = new System.Drawing.Point(0, 58);
preBuildGroupBox.Name = "preBuildGroupBox";
preBuildGroupBox.Size = new System.Drawing.Size(519, 152);
preBuildGroupBox.TabIndex = 0;
preBuildGroupBox.Text = "P&re-build Event Command Line";
//
// preBuildEditor
//
this.preBuildEditor.ButtonText = "Ed&it Pre-build...";
this.preBuildEditor.Dock = System.Windows.Forms.DockStyle.Fill;
this.preBuildEditor.EditorFormText = "Edit Pre-build Event Command Line";
this.preBuildEditor.Location = new System.Drawing.Point(24, 24);
this.preBuildEditor.Name = "preBuildEditor";
this.preBuildEditor.Size = new System.Drawing.Size(495, 128);
this.preBuildEditor.TabIndex = 0;
//
// postBuildGroupBox
//
postBuildGroupBox.Controls.Add(this.postBuildEditor);
postBuildGroupBox.Controls.Add(this.runPostBuildComboBox);
postBuildGroupBox.Controls.Add(runLabel);
postBuildGroupBox.Location = new System.Drawing.Point(0, 225);
postBuildGroupBox.Name = "postBuildGroupBox";
postBuildGroupBox.Size = new System.Drawing.Size(519, 197);
postBuildGroupBox.TabIndex = 1;
postBuildGroupBox.Text = "P&ost-build Event Command Line";
//
// postBuildEditor
//
this.postBuildEditor.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.postBuildEditor.ButtonText = "Edit Post-b&uild...";
this.postBuildEditor.EditorFormText = "Edit Post-build Event Command Line";
this.postBuildEditor.Location = new System.Drawing.Point(24, 24);
this.postBuildEditor.Name = "postBuildEditor";
this.postBuildEditor.Size = new System.Drawing.Size(495, 128);
this.postBuildEditor.TabIndex = 1;
//
// runLabel
//
runLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
runLabel.AutoSize = true;
runLabel.Location = new System.Drawing.Point(21, 155);
runLabel.Name = "runLabel";
runLabel.Size = new System.Drawing.Size(130, 13);
runLabel.TabIndex = 2;
runLabel.Text = "Ru&n the post-build event:";
//
// runPostBuildComboBox
//
this.runPostBuildComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.runPostBuildComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.runPostBuildComboBox.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.runPostBuildComboBox.FormattingEnabled = true;
this.runPostBuildComboBox.Items.AddRange(new object[] {
"Always",
"On successful build",
"When the build updates the project output"});
this.runPostBuildComboBox.Location = new System.Drawing.Point(24, 171);
this.runPostBuildComboBox.Name = "runPostBuildComboBox";
this.runPostBuildComboBox.Size = new System.Drawing.Size(495, 21);
this.runPostBuildComboBox.TabIndex = 3;
//
// WixBuildEventsPropertyPagePanel
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(postBuildGroupBox);
this.Controls.Add(preBuildGroupBox);
this.Name = "WixBuildEventsPropertyPagePanel";
this.Size = new System.Drawing.Size(528, 435);
this.Controls.SetChildIndex(this.banner, 0);
this.Controls.SetChildIndex(preBuildGroupBox, 0);
this.Controls.SetChildIndex(postBuildGroupBox, 0);
preBuildGroupBox.ResumeLayout(false);
postBuildGroupBox.ResumeLayout(false);
postBuildGroupBox.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private Microsoft.Tools.WindowsInstallerXml.VisualStudio.Controls.WixBuildEventEditor preBuildEditor;
private Microsoft.Tools.WindowsInstallerXml.VisualStudio.Controls.WixBuildEventEditor postBuildEditor;
private System.Windows.Forms.ComboBox runPostBuildComboBox;
}
}
Index: WixLinkerPropertyPagePanel.Designer.cs
===================================================================
RCS file: /cvsroot/wix/wix/src/votive/votive/PropertyPages/WixLinkerPropertyPagePanel.Designer.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** WixLinkerPropertyPagePanel.Designer.cs 2 Mar 2007 12:22:48 -0000 1.2
--- WixLinkerPropertyPagePanel.Designer.cs 27 Jun 2007 05:38:57 -0000 1.3
***************
*** 107,111 ****
this.outputPathTextBox.Name = "outputPathTextBox";
this.outputPathTextBox.Size = new System.Drawing.Size(350, 22);
! this.outputPathTextBox.TabIndex = 9;
//
// cultureExampleLabel
--- 107,111 ----
this.outputPathTextBox.Name = "outputPathTextBox";
this.outputPathTextBox.Size = new System.Drawing.Size(350, 22);
! this.outputPathTextBox.TabIndex = 5;
//
// cultureExampleLabel
--- NEW FILE: WixBuildEventsPropertyPagePanel.resx ---
text/microsoft-resx
2.0
System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
True
False
True
True
False
True
True
True
True
False
True
True
False
True
True
Index: WixPropertyPage.cs
===================================================================
RCS file: /cvsroot/wix/wix/src/votive/votive/PropertyPages/WixPropertyPage.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** WixPropertyPage.cs 2 Mar 2007 12:22:48 -0000 1.3
--- WixPropertyPage.cs 27 Jun 2007 05:38:57 -0000 1.4
***************
*** 26,29 ****
--- 26,30 ----
using System.Runtime.InteropServices;
using System.Windows.Forms;
+ using Microsoft.Build.BuildEngine;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.OLE.Interop;
***************
*** 49,53 ****
private string pageName;
private IPropertyPageSite pageSite;
! private ProjectNode project;
private ProjectConfig[] projectConfigs;
--- 50,54 ----
private string pageName;
private IPropertyPageSite pageSite;
! private WixProjectNode project;
private ProjectConfig[] projectConfigs;
***************
*** 108,112 ****
[Browsable(false)]
[AutomationBrowsable(false)]
! public ProjectNode ProjectMgr
{
get { return this.project; }
--- 109,113 ----
[Browsable(false)]
[AutomationBrowsable(false)]
! public WixProjectNode ProjectMgr
{
get { return this.project; }
***************
*** 119,122 ****
--- 120,124 ----
{
get { return this.propertyPagePanel; }
+ private set { this.propertyPagePanel = value; }
}
***************
*** 142,146 ****
{
// create the panel control
! this.propertyPagePanel = this.CreatePropertyPagePanel();
// we need to create the control so the handle is valid
--- 144,148 ----
{
// create the panel control
! this.PropertyPagePanel = this.CreatePropertyPagePanel();
// we need to create the control so the handle is valid
***************
*** 182,186 ****
void IPropertyPage.Deactivate()
{
! this.PropertyPagePanel.Dispose();
this.active = false;
}
--- 184,192 ----
void IPropertyPage.Deactivate()
{
! if (this.PropertyPagePanel != null)
! {
! this.PropertyPagePanel.Dispose();
! this.PropertyPagePanel = null;
! }
this.active = false;
}
***************
*** 196,200 ****
if (this.PropertyPagePanel == null)
{
! this.propertyPagePanel = this.CreatePropertyPagePanel();
}
--- 202,206 ----
if (this.PropertyPagePanel == null)
{
! this.PropertyPagePanel = this.CreatePropertyPagePanel();
}
***************
*** 279,283 ****
if (this.project == null)
{
! this.project = config.ProjectMgr;
}
--- 285,289 ----
if (this.project == null)
{
! this.project = config.ProjectMgr as WixProjectNode;
}
***************
*** 291,295 ****
if (this.project == null)
{
! this.project = (punk[0] as NodeProperties).Node.ProjectMgr;
}
--- 297,301 ----
if (this.project == null)
{
! this.project = (punk[0] as NodeProperties).Node.ProjectMgr as WixProjectNode;
}
***************
*** 389,407 ****
WixHelperMethods.VerifyNonNullArgument(pMsg, "pMsg");
! MSG msg = pMsg[0];
! int hr = VSConstants.S_FALSE;
!
! // If the message is a keyboard or mouse message, then call the Win32 function that determines
! // if the panel can handle the message and handles it if it can.
! if ((msg.message >= NativeMethods.WM_KEYFIRST && msg.message = NativeMethods.WM_MOUSEFIRST && msg.message 0 && constants[constants.Length - 1] == ';')
{
constants.Remove(constants.Length - 1, 1);
Index: WixLinkerPropertyPagePanel.cs
===================================================================
RCS file: /cvsroot/wix/wix/src/votive/votive/PropertyPages/WixLinkerPropertyPagePanel.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** WixLinkerPropertyPagePanel.cs 2 Mar 2007 12:22:48 -0000 1.3
--- WixLinkerPropertyPagePanel.cs 27 Jun 2007 05:38:57 -0000 1.4
***************
*** 82,85 ****
--- 82,86 ----
this.wixVariablesTextBox.TextChanged += setDirtyHandler;
this.outputPathTextBox.TextChanged += setDirtyHandler;
+ this.culturesTextBox.TextChanged += setDirtyHandler;
this.warningsAsErrorsCheckBox.CheckedChanged += setDirtyHandler;
this.pedanticCheckBox.CheckedChanged += setDirtyHandler;
--- NEW FILE: WixBuildEventsPropertyPage.cs ---
//-------------------------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are covered by the
// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
// which can be found in the file CPL.TXT at the root of this distribution.
// By using this software in any fashion, you are agreeing to be bound by
// the terms of this license.
//
// You must not remove this notice, or any other, from this software.
//
//
//
// Contains the WixBuildEventsPropertyPage class.
//
//-------------------------------------------------------------------------------------------------
namespace Microsoft.Tools.WindowsInstallerXml.VisualStudio.PropertyPages
{
using System;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using Microsoft.Build.BuildEngine;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Package;
///
/// Property page for the build events.
///
[ComVisible(true)]
[Guid("A71983CF-33B9-4241-9B5A-80091BCE57DA")]
public class WixBuildEventsPropertyPage : WixPropertyPage
{
// =========================================================================================
// Constructors
// =========================================================================================
///
/// Initializes a new instance of the class.
///
public WixBuildEventsPropertyPage()
{
this.PageName = WixStrings.WixBuildEventsPropertyPageName;
}
// =========================================================================================
// Properties
// =========================================================================================
///
/// Gets the main control.
///
private WixBuildEventsPropertyPagePanel BuildEventsPropertyPagePanel
{
get { return (WixBuildEventsPropertyPagePanel)this.PropertyPagePanel; }
}
// =========================================================================================
// Methods
// =========================================================================================
///
/// Applies the changes made on the property page to the bound objects.
///
///
/// true if the changes were successfully applied and the property page is current with the bound objects;
/// false if the changes were applied, but the property page cannot determine if its state is current with the objects.
///
protected override bool ApplyChanges()
{
this.SetProperty(WixProjectFileConstants.RunPostBuildEvent, this.BuildEventsPropertyPagePanel.RunPostBuildEvent.ToString());
// the pre- and post-build events should be inserted in a property group after the last import
this.SetProperty(WixProjectFileConstants.PreBuildEvent, this.BuildEventsPropertyPagePanel.PreBuildEvent, null, PropertyPosition.UseExistingOrCreateAfterLastImport, false);
this.SetProperty(WixProjectFileConstants.PostBuildEvent, this.BuildEventsPropertyPagePanel.PostBuildEvent, null, PropertyPosition.UseExistingOrCreateAfterLastImport, false);
return true;
}
///
/// Binds the properties from the MSBuild project file to the controls on the property page.
///
protected override void BindProperties()
{
// we don't write out the properties as literals (meaning that we don't encode the $(Property) values),
// but we don't want to get the evaluated property - we want the original value
this.BuildEventsPropertyPagePanel.PreBuildEvent = this.GetLiteralProperty(WixProjectFileConstants.PreBuildEvent);
this.BuildEventsPropertyPagePanel.PostBuildEvent = this.GetLiteralProperty(WixProjectFileConstants.PostBuildEvent);
try
{
this.BuildEventsPropertyPagePanel.RunPostBuildEvent = (RunPostBuildEvent)Enum.Parse(typeof(RunPostBuildEvent), this.GetProperty(WixProjectFileConstants.RunPostBuildEvent), true);
}
catch (ArgumentException)
{
this.BuildEventsPropertyPagePanel.RunPostBuildEvent = RunPostBuildEvent.OnBuildSuccess;
}
}
///
/// Creates the controls that constitute the property page. This should be safe to re-entrancy.
///
/// The newly created main control that hosts the property page.
protected override WixPropertyPagePanel CreatePropertyPagePanel()
{
return new WixBuildEventsPropertyPagePanel(this);
}
}
}
--- NEW FILE: WixBuildEventsPropertyPagePanel.cs ---
//-------------------------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are covered by the
// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
// which can be found in the file CPL.TXT at the root of this distribution.
// By using this software in any fashion, you are agreeing to be bound by
// the terms of this license.
//
// You must not remove this notice, or any other, from this software.
//
//
//
// Contains the WixBuildEventsPropertyPagePanel class.
//
//-------------------------------------------------------------------------------------------------
namespace Microsoft.Tools.WindowsInstallerXml.VisualStudio.PropertyPages
{
using System;
using System.Diagnostics;
using System.Text;
using System.Windows.Forms;
using Microsoft.Tools.WindowsInstallerXml.VisualStudio.Forms;
///
/// Property page contents for the Candle Settings page.
///
public partial class WixBuildEventsPropertyPagePanel : WixPropertyPagePanel
{
// =========================================================================================
// Member Variables
// =========================================================================================
private WixBuildEventEditorForm editorForm = new WixBuildEventEditorForm();
// =========================================================================================
// Constructors
// =========================================================================================
///
/// Initializes a new instance of the class.
///
public WixBuildEventsPropertyPagePanel()
: this(null)
{
}
///
/// Initializes a new instance of the class.
///
/// The parent property page to which this is bound.
public WixBuildEventsPropertyPagePanel(WixPropertyPage parentPropertyPage)
: base(parentPropertyPage)
{
this.InitializeComponent();
// hook up the form to both editors
this.preBuildEditor.Initialize(parentPropertyPage.ProjectMgr, this.editorForm);
this.postBuildEditor.Initialize(parentPropertyPage.ProjectMgr, this.editorForm);
// hook up our events
EventHandler dirtyHandler = delegate(object sender, EventArgs e) { this.ParentPropertyPage.IsDirty = true; };
this.preBuildEditor.TextBox.TextChanged += dirtyHandler;
this.postBuildEditor.TextBox.TextChanged += dirtyHandler;
this.runPostBuildComboBox.SelectedIndexChanged += dirtyHandler;
}
// =========================================================================================
// Properties
// =========================================================================================
///
/// Gets or sets the pre-build event command line.
///
public string PreBuildEvent
{
get { return this.preBuildEditor.TextBox.Text; }
set { this.preBuildEditor.TextBox.Text = value; }
}
///
/// Gets or sets the post-build event command line.
///
public string PostBuildEvent
{
get { return this.postBuildEditor.TextBox.Text; }
set { this.postBuildEditor.TextBox.Text = value; }
}
///
/// Gets or sets the condition on when the post-build event command line is run.
///
public RunPostBuildEvent RunPostBuildEvent
{
get { return (RunPostBuildEvent)this.runPostBuildComboBox.SelectedIndex; }
set { this.runPostBuildComboBox.SelectedIndex = (int)value; }
}
// =========================================================================================
// Methods
// =========================================================================================
}
}
------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
------------------------------
_______________________________________________
Wix-commits mailing list
Wix-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-commits
End of Wix-commits Digest, Vol 11, Issue 46
*******************************************
P.S. И не забудьте послать роботу вашу рекламу :)
Обработано объявлений: 11776
Стас Давыдов & Outcorp © 2007