Re: [WiX-users] Component condition not works properly

2009-08-31 Thread Dmitry Berkovich
F1 & F2 selected. Thanks, Dima On Sun, Aug 30, 2009 at 8:09 PM, Bob Arnson wrote: > Dmitry Berkovich wrote: >> As you can see from example I want install Comp2 only if F1 selected, >> even if F2 selected (Comp2 belong to F2). >> > > It needs to belong in both featu

[WiX-users] Component condition not works properly

2009-08-24 Thread Dmitry Berkovich
Hi, I am creating simple wix file that contains 2 components and 2 features. .. . As you can see from example I want install Comp2 only if F1 selected, even if F2 selected (Comp2 belong to F2). Joy describe exactly this case in his blo

Re: [WiX-users] IO permission problem in defered CA on Windows Terminal Server 2003

2009-04-17 Thread Dmitry Berkovich
per-machine > installations. This attribute is only applicable when installing on the > Windows Server 2003 family. > > > -Original Message- > From: Dmitry Berkovich [mailto:dber...@gmail.com] > Sent: Friday, April 17, 2009 6:06 AM > To: General discussion for Win

Re: [WiX-users] IO permission problem in defered CA on Windows Terminal Server 2003

2009-04-17 Thread Dmitry Berkovich
aller works. > > Dmitry Berkovich wrote: >> Hi, >>   I don't know what is expected behavior in Windows Installer, but I >> have this problem only when my Installer executed on Windows Terminal >> Server by user that belongs to local Administrators group (all other &g

Re: [WiX-users] IO permission problem in defered CA on Windows Terminal Server 2003

2009-04-16 Thread Dmitry Berkovich
quot;. Thanks, Dima On Fri, Apr 17, 2009 at 3:50 AM, Rob Mensching wrote: > Isn't that the expected behavior with the Windows Installer? > > Dmitry Berkovich wrote: >> Hi, >>   I have some issue with deferred CA on WTS. >> I am creating installer package : > Com

[WiX-users] IO permission problem in defered CA on Windows Terminal Server 2003

2009-04-16 Thread Dmitry Berkovich
Hi, I have some issue with deferred CA on WTS. I am creating installer package : that execute deferred CA that read some data from file that stored on network drive. When installation is executed on Terminal Server and user that execute installer have admin privileges - deferred CA do not see an

[WiX-users] Adding ActionData control to ProgressDlg

2008-12-11 Thread Dmitry Berkovich
Hi, I want add ActionData control to ProgressDlg: I tried develop new progress dialog with name "MyProgressDlg". I also changed WixUI_Mondo to MyMondo but it still some other dialogs have reference to original ProgressDlg. What is the best way add new Control to ex

[WiX-users] Formatting error messge in deferred CA

2008-12-09 Thread Dmitry Berkovich
Hi, During execution of deferred CA I want to show error like: "Error generate data to file XXX" where XXX will be file name that stored in session.CustomActionData under key "fileName". What kind of message I need add to error table that msi engine will format it by using value from CustomActio

Re: [WiX-users] adding element with XmlFile to node with namespace

2008-11-07 Thread Dmitry Berkovich
ymore and I don't have a few free hours to > read the MSXML documentation... > > -Original Message- > From: Dmitry Berkovich [mailto:[EMAIL PROTECTED] > Sent: Friday, November 07, 2008 08:38 > To: General discussion for Windows Installer XML toolset. > Subjec

Re: [WiX-users] adding element with XmlFile to node with namespace

2008-11-07 Thread Dmitry Berkovich
in. I usually > write a little JScript and test my XPath using cscript until I get it right. > > -Original Message- > From: Dmitry Berkovich [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 06, 2008 22:30 > To: General discussion for Windows Installer XML toolset. &

Re: [WiX-users] adding element with XmlFile to node with namespace

2008-11-06 Thread Dmitry Berkovich
st my XPath using cscript until I get it right. > > -Original Message- > From: Dmitry Berkovich [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 06, 2008 22:30 > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] adding element with XmlFile

[WiX-users] adding element with XmlFile to node with namespace

2008-11-06 Thread Dmitry Berkovich
Hi, I want add node to this xml file under node. http://schemas.microsoft.com/pag/cab-profile/2.0";> I added those 2 lines under : Its works only if I remove namespace from XML files. Once I add namespace back to XML file - I have exception during

Re: [WiX-users] Interesting behavior with Properties inside (wix 3.0.4325.0)

2008-10-09 Thread Dmitry Berkovich
- where you suggest me declare Propertyref? Dima On Thu, Oct 9, 2008 at 10:43 PM, Rob Mensching <[EMAIL PROTECTED]> wrote: > PropertyRef at least one of them. > > -Original Message- > From: Dmitry Berkovich [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 09, 200

Re: [WiX-users] Interesting behavior with Properties inside (wix 3.0.4325.0)

2008-10-09 Thread Dmitry Berkovich
your Product? It doesn't appear so. > > -Original Message- > From: Dmitry Berkovich [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 09, 2008 12:01 > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] Interesting behavior with Properties

[WiX-users] Interesting behavior with Properties inside (wix 3.0.4325.0)

2008-10-09 Thread Dmitry Berkovich
Hi, I have found some interesting behavior : When I have that contains only properties declaration, them are not added to Properties table. Example of code: http://schemas.microsoft.com/wix/2006/wi";>

Re: [WiX-users] How to include 3rd party dll in MSI?

2008-10-03 Thread Dmitry Berkovich
Hi Rufeng, First of all you need understand that CA executing in temp folder under his own process, so even you will include them in MSI - CA can found then, only if them installed in GAC or you will develop some special code to look/load dlls from in/from some folder on computer. I have seve

Re: [WiX-users] DTF DoAction throw exception

2008-09-02 Thread Dmitry Berkovich
a. > > -Jason- > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry > Berkovich > Sent: Tuesday, September 02, 2008 9:23 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] DTF DoAction thro

Re: [WiX-users] DTF DoAction throw exception

2008-09-02 Thread Dmitry Berkovich
Any idea? Is it bug or I have some problem in my CA? Thanks, Dima On Sun, Aug 31, 2008 at 10:15 AM, Dmitry Berkovich <[EMAIL PROTECTED]> wrote: > Hi, > I developed my custom action, where I passing to CA some properties. > Part of properties is from byte[] type. Exception

[WiX-users] DTF DoAction throw exception

2008-08-31 Thread Dmitry Berkovich
Hi, I developed my custom action, where I passing to CA some properties. Part of properties is from byte[] type. Exception is thrown when DoAction is called where CustomAtionData contains properties with size 54K or more (i didn't check what is exactly minimal size is needed). System.Reflection

[WiX-users] Set Property value from INI file for

2008-08-20 Thread Dmitry Berkovich
Hi, I am trying to set property value from INI file, but its not works for me. Its looks that I am doing something wrong. Example of my code: and I have "a.ini" file in same folder where MSI is stored. - start of a.ini - [MySection] MyKey=SomeDat

Re: [WiX-users] Develop extension that will executed on link stage (lit.exe)

2008-08-18 Thread Dmitry Berkovich
Sorry, mistake in title. I want execute part of logic under light.exe (not lit.exe) Dima On Mon, Aug 18, 2008 at 10:26 PM, Dmitry Berkovich <[EMAIL PROTECTED]> wrote: > Hi, > I want develop Wix extension that will be similar to custom action > sequence declaration: > >

[WiX-users] Develop extension that will executed on link stage (lit.exe)

2008-08-18 Thread Dmitry Berkovich
Hi, I want develop Wix extension that will be similar to custom action sequence declaration: Its mean I will declare something like this. Its mean that only on link stage I can calculate real sequence for all objects of MyLogic type. Can I do it in Wix v3?

Re: [WiX-users] Getting folder localtion of component during unisntall

2008-08-08 Thread Dmitry Berkovich
I am going to use suggestion of Tony (session.Format("[directory]"). Its works on install and uninstall stages. Dima P.S - Tony thanks On Fri, Aug 8, 2008 at 8:53 PM, Dmitry Berkovich <[EMAIL PROTECTED]> wrote: > Alex, > CurrentState = Local > RequestState = Absent

Re: [WiX-users] Getting folder localtion of component during unisntall

2008-08-08 Thread Dmitry Berkovich
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry > Berkovich > Sent: Friday, August 08, 2008 10:20 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Getting folder localtion of component during > unisntall > > Alex

Re: [WiX-users] Getting folder localtion of component during unisntall

2008-08-08 Thread Dmitry Berkovich
ce because > your CA might be doing something with the source files, not locally installed > ones. > > Regards, > > Alex Shevchuk > > > > > -Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry > Berkovich >

Re: [WiX-users] Getting folder localtion of component during unisntall

2008-08-08 Thread Dmitry Berkovich
Hi boB, It happed NOT in defered CA. Dima On Fri, Aug 8, 2008 at 6:44 PM, Bob Arnson <[EMAIL PROTECTED]> wrote: > Dmitry Berkovich wrote: >> The problem that >> session.Format("[$component]") return me empty string. (on >> installation phase it contai

[WiX-users] Getting folder localtion of component during unisntall

2008-08-08 Thread Dmitry Berkovich
Hi, I have some CA that executed during uninstall (just before RemoveFiles action). My custom action need to know folder where component was installed. The problem that session.Format("[$component]") return me empty string. (on installation phase it contain full path to folder where component ins

[WiX-users] Question about Extensibility point in the WiX XML Schema

2008-08-04 Thread Dmitry Berkovich
Hi, I am developing an extension for WiX. I have several types of extensions. Part of them need extend element. I have found examples in WiX extension how I can extend Xsd schema for this requirement. My question is how I can add an additional attributes to element? I looked at "wix.xsd" fil

Re: [WiX-users] Sending params to Deferred Custom Action

2008-08-04 Thread Dmitry Berkovich
Hi, calling to defered CA -- CustomActionData cad = new CustomActionData(); cad.Add("p1", "value1"); cad.AddObject("p2", somedata); session.DoAction("SomeDefereCA", cad); --- -- code of defered CA ---

Re: [WiX-users] Overriding DefaultConstants or sending variables to candle using TFSBuild

2008-08-02 Thread Dmitry Berkovich
Hi Joe, First of all parameters that you are declare in the TFSBuild.proj not passed to your solution that compiled. Its existing 2 way to pass them to solution and all inner projects, but it depends when Team Build you are using : 2008 or 2005. (*) 2008 its will be easy: http://msdn.microsof

Re: [WiX-users] Wix and TFS

2008-07-31 Thread Dmitry Berkovich
Hi, Do you using Wix V3 and Votive? If yes you have 2 options: I) just install WiX on Team Build Server and you can compile solution that have .wixproj project and it will be work. II) If you don't want/can not install Wix on Team Build server write me private email I will explain how you ca

[WiX-users] Custom Action formatted Progress text question

2008-07-28 Thread Dmitry Berkovich
Hi, I have writen my own custom action.In addition I have declared this section uder fragment: Generating file... where its works fine. My question is : (1) if exist any way to add formated text to progress text. Ex: Generating file {0}... where I can define in Custom actio

[WiX-users] Recognize final localtion of file by file identifier

2008-07-22 Thread Dmitry Berkovich
Hi, I am writing some custom action by using DTF. I have id of file from "File" table. The question is: How I can know what is the final location of this file after intall. Thanks for advance, Dima - This SF.Net emai

Re: [WiX-users] Develpment own extension

2008-07-10 Thread Dmitry Berkovich
elop integration to VS. Now class that implement "IParentElement, ICreateChildren, ISchemaElement, ISetAttributes" is generated automatically when xsd changed. Dima On Thu, Jul 10, 2008 at 6:13 PM, Bob Arnson <[EMAIL PROTECTED]> wrote: > Dmitry Berkovich wrote: >>

[WiX-users] Develpment own extension

2008-07-10 Thread Dmitry Berkovich
Hi, I want to develop my own extension for WiX. I looked to WiX extension and found nice tool XsdGen that can take Xsd and generate cs file that can be used under class the inherit from DecompilerExtension. WiX extension project files use "XsdGenSource" target to generate cs file. 1) XsdGenSou

Re: [WiX-users] Integration of WiX v3 on team build server

2008-07-07 Thread Dmitry Berkovich
fill your > requirements. > > Chris > > On Tue, Jul 8, 2008 at 12:18 AM, Dmitry Berkovich <[EMAIL PROTECTED]> wrote: > >> Hi, >> Thanks for a nice discussion, but last mails are missed a point of >> the problem. >> >>

Re: [WiX-users] Integration of WiX v3 on team build server

2008-07-07 Thread Dmitry Berkovich
can do so without wondering what side >> effects might be >> > introduced to the other projects should they all have >> moved to the later >> > version of WiX. >> > >> > Etc... >> > >> > >> > >> > >> > >

Re: [WiX-users] Integration of WiX v3 on team build server

2008-07-07 Thread Dmitry Berkovich
ow would you expect the build server to be able to use the WiX tools > without them being installed? > > I mean, strictly speaking you don't need to install them, just make them > available. But what would be the benefit? > > Chris > > On Mon, Jul 7, 2008 at 4:01 PM,

Re: [WiX-users] Integration of WiX v3 on team build server

2008-07-07 Thread Dmitry Berkovich
t? > > Chris > > On Mon, Jul 7, 2008 at 4:01 PM, Dmitry Berkovich <[EMAIL PROTECTED]> wrote: > >> Hi, >> I want compile WiX projects on team build server, but I don't want >> install WiX on build server, so I am planning add all needed files to >>

[WiX-users] Integration of WiX v3 on team build server

2008-07-07 Thread Dmitry Berkovich
Hi, I want compile WiX projects on team build server, but I don't want install WiX on build server, so I am planning add all needed files to source control. I have some problem when I am compile wixproj file. wixproj file contains those 2 lines: $(MSBuildExtensionsPath)\Microsoft\WiX\v3.0\Wix

[WiX-users] Question about of using upgrade/patch

2008-06-16 Thread Dmitry Berkovich
Hi, I have design question for community. My application has one common dll (common.dll) and two exe applications, where both of them depend on this common dll. Could someone suggest me when I need use minor/major upgrade/patch for each scenario that follows: 1) My group release new version e

[WiX-users] Exception when using enumerator of session.Components

2008-06-03 Thread Dmitry Berkovich
Hi, I have exception when this code is executed: foreach (ComponentInfo componentInfo in session.Components) {}. Exeption is: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Deployment.WindowsInstaller.InstallerExceptio

Re: [WiX-users] Error accessing Visual Studio project settings

2008-06-03 Thread Dmitry Berkovich
I am using VS2005 and had same problems when used 3.0.4116.0 build of WiX. Today I installed 3.0.4130.0 and now I dont have this exception. - Dima On Wed, Jun 4, 2008 at 12:10 AM, Justin Rockwood <[EMAIL PROTECTED]> wrote: > Are you having these problems in VS 2005 or VS2008? The code is differe