Re: [WiX-users] Message Queues

2008-12-29 Thread Eitan Behar
Maybe this is a little too late, but I have a working code for creating msmq. Let me know if this is still relevant. On Wed, Nov 5, 2008 at 9:34 PM, David Gonzalez wrote: > Greetings to all, > I've been working with Message Queues lately, and have managed to find some > helpful examples onlin

Re: [WiX-users] SQL Server 2008 Bootstrapper

2009-01-13 Thread Eitan Behar
If you have Visual Studio it includes a Bootstrapper for SQL Server 2005 (C:\Program Files\Visual Studio 8\SDK\v2.0\Bootstrapper) -Original Message- From: Arun Perregatturv [mailto:aperregatt...@napcosecurity.com] Sent: Tuesday, January 13, 2009 10:28 PM To: General discussion for Window

[WiX-users] Latest WiX v3.0.4909.0 and IIS on Windows 2003

2009-01-13 Thread Eitan Behar
Hi, I have just installed the latest Wix to find out that some of my existing setups fail to install. Just notice that these setups work in the same environment (Windows 2003 SP2) when built with previous version 3.5.4805.0. Is there anything new in 4909 that broke compatibility and I need to cha

Re: [WiX-users] Latest WiX v3.0.4909.0 and IIS on Windows 2003

2009-01-14 Thread Eitan Behar
aller XML toolset. Subject: Re: [WiX-users] Latest WiX v3.0.4909.0 and IIS on Windows 2003 Nothing should be broken, but you do need to rebuild everything. If you have any .wixlibs or .wixobjs you need to do a full clean build from scratch. -----Original Message- From: Eitan Behar [mailto:ei

Re: [WiX-users] SQL Server 2008 Bootstrapper

2009-01-15 Thread Eitan Behar
erregatturv [mailto:aperregatt...@napcosecurity.com] Sent: Tuesday, January 13, 2009 13:13 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] SQL Server 2008 Bootstrapper I am looking for SQL Server 2008 and not SQL Server 2005. Thanks, Arun Perregattur -----Ori

Re: [WiX-users] InstallExecuteSequence in a fragment?

2009-01-21 Thread Eitan Behar
I posted a bug on this, but I got it classified as invalid, since you can use CustomActionRef; as Bob wrote. What I did was to include an empty ComponentGroup in the fragment, and a reference to the component group from Product.wxs, this way I don't need to set a CustomActionRef for every custom a

Re: [WiX-users] InstallExecuteSequence in a fragment?

2009-01-21 Thread Eitan Behar
well, this is just a matter of taste. -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Wednesday, January 21, 2009 9:15 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] InstallExecuteSequence in a fragment? Eitan Behar wrote: >

Re: [WiX-users] Creating SQL Database with WiX v3

2009-01-24 Thread Eitan Behar
Hi, I had the same problem, my batch is made of a few scripts 60k lines long each, and I moved to invoking sqlcmd.exe from a CA directly, instead of Wix's SqlScript. See Neil's blog for full details: http://neilsleightholm.blogspot.com/2008/08/executing-sqlcmd-from-wix.html This reduced executio

[WiX-users] Detecting WSE 3.0

2009-01-26 Thread Eitan Behar
Hi, Do you know how to detect if WSE 3.0 is installed ? There are plenty of product codes for WSE 3.0, so a simple registry search to Windows\Uninstall does not help. Thanks, Eitan -- This SF.net email is sponsored by: S

[WiX-users] Detecting if a product is installed and setting property

2009-01-28 Thread Eitan Behar
Hi, Is there a way to detect if a product family is installed according to its product code, and set a property accordingly? I need to stop the setup if certain products are not installed, and I only have their upgrade codes, not the product code. Thanks, Eitan --

Re: [WiX-users] Detecting if a product is installed and setting property

2009-01-28 Thread Eitan Behar
actions). > That's just an assumption, there might be better techniques for this. > > Hope this helps. > > -- Yan > > -Original Message- > From: Eitan Behar [mailto:ei...@baconao.net] > Sent: Wednesday, January 28, 2009 10:14 AM > To: General discussion for

Re: [WiX-users] Detecting if a product is installed and setting property

2009-01-28 Thread Eitan Behar
FindRelatedProducts prior > to Launch Conditions, you could then use the above property as a conditional > expression to block your install. > > Christopher Painter, Author of Deployment Engineering Blog > Have a hot tip, know a secret or read a really good thread that deserves > att

Re: [WiX-users] Detecting if a product is installed and setting property

2009-01-28 Thread Eitan Behar
erty with a found product code. > > Christopher Painter, Author of Deployment Engineering Blog > Have a hot tip, know a secret or read a really good thread that deserves > attention? E-Mail Me > > > --- On Wed, 1/28/09, Eitan Behar wrote: > > > From: Eitan Behar > >

Re: [WiX-users] Need some help on wix

2009-01-29 Thread Eitan Behar
check: 1. the new dll has a new file assembly version? 2. the linker option -fv is set? On Thu, Jan 29, 2009 at 8:30 PM, Sandeep Prakash < sandeep.prak...@microsoft.com> wrote: > > Hi, > > We are not able to update a dll present in gac through patch. I am new to > wix. I want to know which tag/ a

Re: [WiX-users] How to reference a system environment variable?

2009-02-04 Thread Eitan Behar
You can read an environment variable using: $(env.TEMP) You can use: On Wed, Feb 4, 2009 at 6:06 PM, Yan Sklyarenko wrote: > Hello WiX community, > > That's a really newbie question. > > I need to set permissions to the TEMP folder, the one stated in the > system TEMP environment variable.

[WiX-users] Question regarding pending bug 2508955

2009-02-08 Thread Eitan Behar
Hi, Please, do you have an estimation about the expected release date of bug 2508955 ? Currently it's on Pending state. Thanks, Eitan -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) softw

Re: [WiX-users] Question regarding pending bug 2508955

2009-02-08 Thread Eitan Behar
] Question regarding pending bug 2508955 Eitan Behar wrote: > Please, do you have an estimation about the expected release date of bug > 2508955 ? Currently it's on Pending state. > If it's pending, it means the fix has been checked in, so check the next release after th

[WiX-users] Passing data between deferred custom actions

2009-02-17 Thread Eitan Behar
Hi, Is there a proper method to pass data between deferred custom actions ? I have a bunch of chained custom actions and need to pass data between them, actually, just a boolean value "telling" the rest of the ca whether to continue. Thanks, Eitan

Re: [WiX-users] Passing data between deferred custom actions

2009-02-17 Thread Eitan Behar
at deserves > attention? E-Mail Me > > > --- On Tue, 2/17/09, Eitan Behar wrote: > > > From: Eitan Behar > > Subject: [WiX-users] Passing data between deferred custom actions > > To: "General discussion for Windows Installer XML toolset." < > wix-us

Re: [WiX-users] Passing data between deferred custom actions

2009-02-17 Thread Eitan Behar
actions(s). This is how MSI makes the join. > > Christopher Painter, Author of Deployment Engineering Blog > Have a hot tip, know a secret or read a really good thread that deserves > attention? E-Mail Me > > > --- On Tue, 2/17/09, Eitan Behar wrote: > > > From: Eitan B

Re: [WiX-users] Conditions in fragments

2009-02-20 Thread Eitan Behar
You can also have an empty component group and add reference to it from the product file. - this is what I do :^) -Original Message- From: Frederico Rico Apostolo [mailto:frederico.apost...@vantyx.com] Sent: Friday, February 20, 2009 4:49 PM To: General discussion for Windows Installer X

Re: [WiX-users] Help required to execute Sql files

2009-02-26 Thread Eitan Behar
Write a C# Custom Action using DTF, and pass it as parameter the folder with the sql scripts. The function then can just use OLEDB or SQLCMD to run the scripts. Eitan -Original Message- From: Pankaj Agrawal (Infosys Technologies Ltd) [mailto:v-pa...@microsoft.com] Sent: Thursday, Febru

Re: [WiX-users] sample

2009-03-08 Thread Eitan Behar
The property ALLUSERS determines whether the installation is per user or per machine: http://msdn.microsoft.com/en-us/library/aa367559(VS.85).aspx To set the installation always per user, do the following: Eitan On Sun, Mar 8, 2009 at 4:05 PM, Tency Kuruvilla wrote: > Dear > > Anybody can p

[WiX-users] Changing Directories Dynamically

2008-08-04 Thread Eitan Behar
Hi, I need to find a way to change the name of a directory dynamically, something like: Where DIRPATH *only* contains the folder name i.e. MyFolder I am aware of using CAs to set a property, and using directly the syntax: But this will force me to ignore the tree hierachy, and set the prope

Re: [WiX-users] updating with a different account?

2008-08-04 Thread Eitan Behar
Hi, Are you using the property ALLUSERS=1 ? This property will let you do a system-level install instead of per-user. Rgrds, Eitan On Sun, Aug 3, 2008 at 3:29 PM, Mattias Åslund <[EMAIL PROTECTED]> wrote: > This is not a WiX-specific question I guess, but rather a windows installer > problem

Re: [WiX-users] Changing Directories Dynamically

2008-08-04 Thread Eitan Behar
e to write your own CA. -- Brian Rogers "Intelligence removes complexity." - Me http://icumove.spaces.live.com On Mon, Aug 4, 2008 at 1:44 AM, Eitan Behar <[EMAIL PROTECTED]> wrote: > Hi, > > I need to find a way to change the name of a directory dynamically, > someth

Re: [WiX-users] CustomAction does not work

2008-08-04 Thread Eitan Behar
Hi Rohit, I suggest you to print (echo) the values for INSTALLDIR and SOURCEDIR and try to run the script directly from the command shell, this will give you exactly the error during the copy operation. Reasons could be: target folder already exists, it's read only, source not found, etc... Regards

Re: [WiX-users] updating with a different account? [solved->bug]

2008-08-05 Thread Eitan Behar
Hi Mattias, This is a Windows Installer issue. If you are doing a minor upgrade, you must keep the same msi file name: See: http://helpnet.acresso.com/robo/projects/installshield12helplib/MajorMinorSmall.htm Rgrds, Eitan On Tue, Aug 5, 2008 at 11:38 AM, Mattias Åslund <[EMAIL PROTECTED]> wro

Re: [WiX-users] CustomAction does not work

2008-08-05 Thread Eitan Behar
t 1:06 PM, Rohit Lodha <[EMAIL PROTECTED]>wrote: > Eitan Behar wrote: > > Hi Rohit, > > I suggest you to print (echo) the values for INSTALLDIR and SOURCEDIR and > > try to run the script directly from the command shell, this will give you > > exactly the error during

Re: [WiX-users] Dynamically naming a database during its installation - WiX VERSION 3.0.4318.0

2008-08-11 Thread Eitan Behar
Hi, Please, can you expand a little more on how to load the scripts into a sqlstring and use the properties? I only saw how to assign SqlString explicit scripts, and not reading the scripts from a .sql file in the Binary table. Thanks in advance, Eitan On Fri, Aug 8, 2008 at 12:40 AM, Christ

Re: [WiX-users] Dynamically naming a database during its installation

2008-08-11 Thread Eitan Behar
"load", I meant copy & paste. The two elements have different capabilities, and unfortunately for you, you're looking for one that's only available with SqlString. You either have to cut & paste your statements into the .wxs, or write your own CA to do the work. Chr

Re: [WiX-users] Dynamically naming a database during its installation

2008-08-11 Thread Eitan Behar
esign, as it works like a champ for me. Chris On Mon, Aug 11, 2008 at 2:36 PM, Eitan Behar <[EMAIL PROTECTED]> wrote: > Hi, > > I am willing to write the CA. Some writing using DFT sounds cool. But, the > only solution that comes to my mind is: loop through the Binary table, >

Re: [WiX-users] Conditional install of feature

2008-08-14 Thread Eitan Behar
Hi Jeff, Youcan run the msi with log option /l*v logfile.txt and check why the feature is not installed. Regards, Eitan On Thu, Aug 14, 2008 at 12:58 AM, Jeff Eldridge <[EMAIL PROTECTED] > wrote: > The original install is InstallScript based (and was called out as such in > the original em

Re: [WiX-users] controlling who installs a package

2008-08-15 Thread Eitan Behar
Hi Chris, First at all, there is no way you can really protect an MSI based setup from being installed. MSI is in an open format, therefore, anybody can easily(?) open it and understand what constraints you set in order to limit the installation process. Saying that, if your users are not too tec

Re: [WiX-users] serviceinstall problems

2008-08-19 Thread Eitan Behar
Try using the user account with the format domain\account name: Account="MYDOMAIN\MyOwnself" Password="Whatever" I was dealing with this five mins ago :^) On Tue, Aug 19, 2008 at 3:31 PM, Michael Putters < [EMAIL PROTECTED]> wrote: > Hello, > > I use ServiceInstall as well (even though it's no

Re: [WiX-users] Dynamically Pick File Source Location

2008-08-20 Thread Eitan Behar
You need to use a variable to accomplish this. You have several to choose from: environment, preprocessor, visual studio specific, etc. If you have declared a System Environment variable SrcRootPath use: Where SrcRootPath points to the BUILDxxx folder. You can use instead the format $(var.Vari

Re: [WiX-users] Dynamically Pick File Source Location

2008-08-20 Thread Eitan Behar
Hi Pavan, How are your running the automated WIX process ? If you are just running a batch file from DOS, use the command: SET MyVariable=BUILD69 (or use any DOS trick to generate the number for you) Systems like FinalBuilder, MSBuild, or BuildForge will allow you to do that automatically. Yo do

Re: [WiX-users] Dynamically Pick File Source Location

2008-08-20 Thread Eitan Behar
Ok, just pass the variable to candle.exe with parameter -d candle.exe (...) *-d*MyVar=MyValue Then, you can access the value in wix using $(var.MyVar) So, your batch file looks like: Set BuildLatest=Build99 candle.exe (...) *-d*SourceForInstall=BuildLatest light.exe (...) And Wix, looks lik

Re: [WiX-users] Dynamically Pick File Source Location

2008-08-20 Thread Eitan Behar
Hi Pavan, If the source folder is relative to the solution/project paths, you can indeed use a VisualStudio variable, like $(var.MyProject.TargetDir), or $(var.SolutionDir). But, I don't see how this can help you. You can "easily" create a C# program that generates the XX number, and save it on t

[WiX-users] Passing Parameters to a SQL file

2008-08-21 Thread Eitan Behar
Hi, I know that I already asked this already, but maybe somebody new to the list has an answer. I need an easy way to pass parameters to a SQL file using . I cannot use since the scripts are generated automatically, and are pretty long. Thanks, Eitan ---

Re: [WiX-users] Passing Parameters to a SQL file

2008-08-21 Thread Eitan Behar
d them out with your scripts and get them that way. SqlScripts are not designed for passing in parameters and they most likely don't have access to regular MSI properties because I believe they run deferred. Dana On Thu, Aug 21, 2008 at 10:18 AM, Eitan Behar <[EMAIL PROTECTED]> wrote:

Re: [WiX-users] Odp: Re: Need help with QtExec

2008-08-27 Thread Eitan Behar
If you want it both on first install and on uninstall use 1) Not REINSTALL or 2) (Not Installed) OR (REMOVE) On Wed, Aug 27, 2008 at 2:52 PM, Krzysztof Kozmic <[EMAIL PROTECTED]>wrote: > I do have it on both. > However, it then is unable to uninstall. > > I changed 'NOT Installed' to 'INSTALLI

Re: [WiX-users] Dynamically Populate ComboBox.

2008-08-31 Thread Eitan Behar
Hi, You can use the element SetDirectory to change the target directory for your webite. Rgrds, Eitan On Mon, Sep 1, 2008 at 8:34 AM, pavan gadam <[EMAIL PROTECTED]> wrote: > Hey, > > I was able to figure out populating the Websites in ComboBox. > > The could write the C# equivalent code for the

Re: [WiX-users] Uninstalling related products

2008-09-03 Thread Eitan Behar
you can use a custom action to launch the uninstall of these products, but, don't think that these are best practices. On Wed, Sep 3, 2008 at 6:06 PM, Jeff Yates <[EMAIL PROTECTED]> wrote: > Hi everyone, > > If you have a moment, I was wondering if there was a way to uninstall > additional prod

Re: [WiX-users] Setting a property in a custom action

2008-09-08 Thread Eitan Behar
It will create the property for you. I use this feature to load a property list dynamically, without having to know the property name in advance. Eitan On Mon, Sep 8, 2008 at 11:19 AM, Sean Farrow <[EMAIL PROTECTED]>wrote: > Hi: > I am setting a property in a custom action (a dll) wha happens

Re: [WiX-users] Wix Add Dialog to prompt for username and pwd

2008-09-08 Thread Eitan Behar
This is how you can create a user, and add it to the admin group: You need the util extension: xmlns:util=http://schemas.microsoft.com/wix/UtilExtension> - This SF.Net email is sponsored by the Moblin Your Move

Re: [WiX-users] How to pass property value to msi

2008-09-08 Thread Eitan Behar
Passing a value through the command prompt is as simply as using PROPERTYNAME=Value, i.e. msiexec /i "My Setup.msi" MYOWNPROPERTY=Tududu Public properties are always upper case. For more details, run msiexec /? Rgrds Eitan On Tue, Sep 9, 2008 at 8:08 AM, Chandra Vuppala < [EMAIL PROTECTED]> wr

[WiX-users] Getting actual directory table and file location

2008-09-09 Thread Eitan Behar
Hi, I am trying to get a list of directories/files within a MSI file using WIX's DTF. But, when using InstallPathMap, I get the Directory and Files maps, they show the property names instead of the actual values. i.e. ProgramFilesFolder\Product\bin\file.exe or ProgramFilesFolder\Product\DOCSFOL

Re: [WiX-users] How to pass property value to msi

2008-09-15 Thread Eitan Behar
Your message dated Tue, 02 Sep 2008 11:29:47 -0500 with message-id <[EMAIL PROTECTED]> and subject line selinux-policy-refpolicy-* packages obsolete, and removed has caused the Debian Bug report #405767, regarding selinux-policy-refpolicy-targeted: resolvconf policy would be nice to be marked as d

Re: [WiX-users] Very Simple WIX Msi Installer

2008-09-15 Thread Eitan Behar
Is there a reason why you don't want the registry entries? If this is a MUST, you can always launch a simple application automatically after the install that cleans the registry from any traces of your setup. But, really, don't see a reason for that. -Original Message- From: [EMAIL PROTEC

Re: [WiX-users] misunderstanding of the CreateFolder directory attribute?

2008-09-23 Thread Eitan Behar
This is how I use it... On Tue, Sep 23, 2008 at 2:39 PM, bryan rasmussen <[EMAIL PROTECTED]>wrote: > Hi, > > I seem to have misunderstood the CreateFolder Directory attribute, > when I do something like the following: > > Directory="[INSTALLDIR]\Re

[WiX-users] SQL scripts and Upgrades

2008-09-24 Thread Eitan Behar
Hi, I have a big fat setup with several baseline SQL scripts, and after it's released, I get delta SQL scripts that fix the released database. The scenario is as follows: When doing a first installation, I do the baseline (v0), plus all the deltas (i.e. v1, v2, v3) If doing an upgrade, I do che

[WiX-users] Warning CNDL 1026 - can ignore ?

2008-09-28 Thread Eitan Behar
Hi, I am getting the following warning: *warning CNDL1026: The **Component/@Id* * attribute value ... is too long for an identifier, Standard identifiers are 72 characters long or less.* ** Please, do you know what are the implications of ignoring this warning? I use pretty long ids in order to i

[WiX-users] Weird behaviour when patching

2008-09-28 Thread Eitan Behar
Hi, I know this is a MSI related issue, and not WIX, but this is the only user-group when I can ask questions, and get answers :^) I am getting different behaviours when installing a patch using /qb vs /qr from the command line. The patch only needs to replace two dll files. Using /qb, I get eve

Re: [WiX-users] Weird behaviour when patching

2008-09-28 Thread Eitan Behar
Re: [WiX-users] Weird behaviour when patching Eitan Behar wrote: > I am getting different behaviours when installing a patch using /qb vs /qr > from the command line. The patch only needs to replace two dll files. > When the UI sequence is run, it supplies the feature action states.

Re: [WiX-users] Add Remove Programs: Need to suppress fatal error message

2008-09-29 Thread Eitan Behar
Is your installer exiting with an error code? Maybe try to do a clean exit, instead of failure. -Original Message- From: Nimisha Saboo [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2008 12:13 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Add

Re: [WiX-users] Delete temp files during uninstall

2008-10-02 Thread Eitan Behar
Fixing a little the code below: use ' instead of " to surround the string value, this is to allow using " instead of "e; and the closing " right after cmd.exe. http://asp.net/> Files\myapplication"*'*/> The generic syntax is: Eitan ---

Re: [WiX-users] Warning CNDL 1026 - can ignore ?

2008-10-04 Thread Eitan Behar
gth for longer strings and keep them > unique, I would not exceed this limit. > > Jon A. Torresdal > http://blog.torresdal.net > > > -Original Message- > From: Eitan Behar [mailto:[EMAIL PROTECTED] > Sent: 28. september 2008 09:44 > To: General discussion for

Re: [WiX-users] Do not want to execute component on repair and Remove

2008-10-04 Thread Eitan Behar
Hi, If you want to execute a component ONLY during a certain first install and not repair/remove (very useful with SQL scripts), do the following: Not Installed The condition will ensure to install the component only on first install, and the Transitive="yes" will ensure that the condition is r

Re: [WiX-users] Condition for Component

2008-10-04 Thread Eitan Behar
Not Installed On Sun, Oct 5, 2008 at 1:45 AM, Sandeep Gautam (HCL Technologies Ltd) < [EMAIL PROTECTED]> wrote: > No, I did not use this attribute.Shall I mark this attribute as No ? > > > > -Original Message- > From: Rob Mensching [mailto:[EMAIL PROTECTED] > Sent: Friday, October 03,

Re: [WiX-users] Condition for Component

2008-10-05 Thread Eitan Behar
h is creating DB at the time of > installation). > > Please help me out. > > Regards > Sandeep > > -Original Message- > From: Eitan Behar [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 04, 2008 11:23 PM > To: General discussion for Windows Installer XM

Re: [WiX-users] Condition for Component

2008-10-05 Thread Eitan Behar
5:02 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Condition for Component Thanks Eithan, But I just want to know what ever I am using is this known open issue or I am giving some thing wrong condition. Regards -Sandeep -Original Message----- From: E

Re: [WiX-users] german letters

2008-10-07 Thread Eitan Behar
Use: ä ü Full reference here: http://www.ascii.cl/htmlcodes.htm On Tue, Oct 7, 2008 at 11:02 AM, Dieter Janzen <[EMAIL PROTECTED]> wrote: > hi, > > how is it possible to use ä, ö and ü? > > Pt! Schon vom neuen WEB.DE

[WiX-users] Granting user access to database

2008-10-07 Thread Eitan Behar
Short question, and waiting for (hopefully) a short answer: How to grant grant permissions of db_owner to a certain user on a database? TiA, Eitan - This SF.Net email is sponsored by the Moblin Your Move Developer's challeng

Re: [WiX-users] Granting user access to database

2008-10-07 Thread Eitan Behar
na > > > > On Tue, Oct 7, 2008 at 6:34 AM, Eitan Behar <[EMAIL PROTECTED]> wrote: > > > Short question, and waiting for (hopefully) a short answer: > > > > How to grant grant permi

Re: [WiX-users] Granting user access to database

2008-10-07 Thread Eitan Behar
SQL="CREATE USER [LOGIN] FOR LOGIN [LOGIN]" Sequence="013" /> > ExecuteOnInstall="yes" SQL="sp_addrolemember 'db_owner', '[LOGIN]'" > Sequence="014" /> > > The [LOGIN] is entered in a dialog during the course of my

Re: [WiX-users] How to GAC .Net assemblies the correct way?

2008-10-08 Thread Eitan Behar
Very simple, just use the file property Assembly=".net" that way the file will go to the GAC regardless of its position in the directory tree. Notice that if you want the DLL also in Program Files\YourApp\bin, you need another component. -Original Message- From: Wong Shao Voon [mailto:[E

Re: [WiX-users] Use of ComponentGroup and "Duplicate symbol 'WixComponentGroup:xxx' found."

2008-10-15 Thread Eitan Behar
Hi Nic, Your code looks right, how are you refering to the wix fragment? Rgrds, Eitan On Wed, Oct 15, 2008 at 3:05 PM, Nic Barden <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to wrap my contents inside a like > this forum post says: > > > http://n2.nabble.com/Multiple-Wxs-Merge-in-Visu

Re: [WiX-users] Use of ComponentGroup and "Duplicate symbol 'WixComponentGroup:xxx' found."

2008-10-15 Thread Eitan Behar
e of ComponentGroup and "Duplicate symbol > 'WixComponentGroup:xxx' found." > > From: Eitan Behar <[EMAIL PROTECTED]> - 2008-10-15 14:23 > > Hi Nic, > > > > Your code looks right, how are you refering to the wix fragment? > > > > Rgrds

Re: [WiX-users] Detect the version of already installed product.

2008-10-17 Thread Eitan Behar
I'm sure that this is not the best way, but, given that you have the product code, just do a registry search under HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{ProductCode} - You have the Product name and version as displayed in ARP. -Original Message- From: Sergey Abakumoff

[WiX-users] Expanding the SQL extension

2008-10-17 Thread Eitan Behar
Hi, Who's developing the SQL Extension? There is a nice feature that several people are interested in adding it to the extension, and I could help writing some code to it. The feature is adding the ability to add replaceable parameters to SQLScript elements. Thanks, Eitan --

Re: [WiX-users] Using WIX3.0

2008-10-17 Thread Eitan Behar
http://blogs.msdn.com/jrock/archive/2007/10/19/how-to-use-extensions-in-votive-iis-or-ui-extensions-for-example.aspx On Fri, Oct 17, 2008 at 7:51 PM, Eitan Behar <[EMAIL PROTECTED]> wrote: > You need to add the IIS extension for IIS related functionality, and also > the Utils e

Re: [WiX-users] Using WIX3.0

2008-10-17 Thread Eitan Behar
You need to add the IIS extension for IIS related functionality, and also the Utils extension for working with users and groups. http://schemas.microsoft.com/wix/2006/wi"; xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"; xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension

Re: [WiX-users] Expanding the SQL extension

2008-10-17 Thread Eitan Behar
wrote: > Are you trying to use SqlScript instead and deprecate SqlString? > > I'd be really interested in that... > > On Fri, Oct 17, 2008 at 11:11 AM, Eitan Behar <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > Who's developing the SQL Extension? There i

Re: [WiX-users] XmlConfig: why can't I set a text value using ElementId?

2008-10-21 Thread Eitan Behar
Hi Brian, Which version are you using? I remember that once upon a time, ElementPath required a XmlConfig Id: Therefore, using ElementPath="CreateDummyElement" is valid. Rgrds, Eitan -Original Message- From: Brian Rogers [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2008 9:1

[WiX-users] ASP.NET on IIS

2008-10-22 Thread Eitan Behar
Hi, Please, how can I set the ASP.NET version for a Web Site ? I just want to set the general selection on the ASP.NET tab, and leave the default extensions as they are. Thanks, Eitan - This SF.Net email is sponsored by the

[WiX-users] IIS Content Expiration

2008-10-22 Thread Eitan Behar
Hi, I want to enable the content expiration on IIS, on the HTTP Headers tab.I thought that this is the HTTPExpires attribute, but or 1) I am wrong, or 2) It is not working. Please, any lead will be appreciated. Thanks, Eitan --

Re: [WiX-users] ASP.NET on IIS

2008-10-22 Thread Eitan Behar
; > > Script="yes" Executable="[ASPNETISAPIDLL]" Verbs="GET,HEAD,POST" /> > CheckPath="no" Script="yes" Executable="[ASPNETISAPIDLL]" > Verbs="GET,HEAD,POST" /> > CheckPath="no

Re: [WiX-users] ASP.NET on IIS

2008-10-22 Thread Eitan Behar
Well, the issue is that I have several setups which have a few Web Applications each, and each one is supported by a different team, therefore I wanted something "easy" to tell everyone to do -Original Message- From: Luke Bakken [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22,

Re: [WiX-users] Dynamically assigning a website for your web application

2008-10-23 Thread Eitan Behar
Hi Andrew, Check the following: 1) Try using *AllUnassigned* *<**iis:WebAddress Id="AllUnassigned" Port="80"** /> * 2) On the log file, verify that the property gets the proper website name, and try creating the Web App using the value directly. Good luck, Eitan On Thu, Oct 23, 2008 at 3:0

Re: [WiX-users] C# Custom action

2008-10-23 Thread Eitan Behar
Hi Sandeep, Probably the simplest approach is to set a property in your CA, and use the property to condition your WIX code. For example, on the CA: if (sky != blue) { session["CA_SKY_PROP"] = "red"; } on WIX Not CA_SKY_PROP Note that in this case you are only checking whether the propert

[WiX-users] Creating Web App Pool

2008-10-26 Thread Eitan Behar
Hi, I think I found a bug, but wanted to check first. I am creating a simple setup with a Web Application and its Web App Pool. The whole setup works fine, but, when I began testing, I noticed that if I comment the Web component, and leave only the Web App Pool, the pool is not created. It seems

Re: [WiX-users] Creating Web App Pool

2008-10-27 Thread Eitan Behar
ng the AppPool is being > installed? > > -Original Message- > From: Eitan Behar [mailto:[EMAIL PROTECTED] > Sent: Sunday, October 26, 2008 04:40 > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] Creating Web App Pool > > Hi, > >

[WiX-users] Simple question on settings permissions on folder

2008-10-28 Thread Eitan Behar
Hi, I am setting permissions of a folder, but I would like to preserve the default permissions and only append a user. The code below remove all default permisions and set only the user I defined. How can I set permissions to a folder without removing the default permissions? Thanks, Eitan

Re: [WiX-users] Simple question on settings permissions on folder

2008-10-28 Thread Eitan Behar
Thanks ! Seek and thou shall find ! On Tue, Oct 28, 2008 at 2:00 PM, Sébastien Mouren < [EMAIL PROTECTED]> wrote: > Search the list, it was already asked and answered. > - This SF.Net email is sponsored by the Moblin Your M

Re: [WiX-users] Grant permissions on a folder to a specific user

2008-10-29 Thread Eitan Behar
Hi, Just use wrote: > It's very urgent, please help me. > > > From: [EMAIL PROTECTED]> To: wix-users@lists.sourceforge.net> > Date: Thu, 23 Oct 2008 15:20:15 +0530> Subject: [WiX-users] Grant > permissions on a folder to a specific user> > Hi,> > I am develpoing > installer using WiX 3 (3.0.4311

Re: [WiX-users] Silent Repair

2008-11-18 Thread Eitan Behar
did u try: msiexec /i "setupfile.msi" /qn REINSTALL=ALL REINSTALLMODE=vomus ? On Tue, Oct 7, 2008 at 5:02 AM, Sandeep Gautam (HCL Technologies Ltd) < [EMAIL PROTECTED]> wrote: > Hi , > > How can I do silent repair. I am running msiexec with option /f nothing is > happening.No Custom action is n

Re: [WiX-users] how to modify proprty value in wix

2008-11-19 Thread Eitan Behar
msbuild is expecting the string surrounded with ", i.e. "D:\Program Files\Microsoft BizTalk Server 2006", you don't need the %20 character. On Wed, Nov 19, 2008 at 11:23 AM, Chandra Vuppala < [EMAIL PROTECTED]> wrote: > Hi, > > How to modify the property value in wix? > > I have property called

[WiX-users] Modifying the MSI file at runtime using DTF

2008-11-19 Thread Eitan Behar
Hi, I am trying to modify the MSI file at runtime, basically, I am running a DTF Custom Action (immediate, after InstallInitialize) that extract certain Binary files, modify them, and save them back into the MSI file. The problem is that I cannot save the files back to the binary table. I am usin

Re: [WiX-users] Modifying the MSI file at runtime using DTF

2008-11-19 Thread Eitan Behar
Sent: Wednesday, November 19, 2008 8:17 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Modifying the MSI file at runtime using DTF You can't do that. The MSI is readonly. What are you trying to accomplish? -Original Message----- From: Eitan Beh

Re: [WiX-users] Modifying the MSI file at runtime using DTF

2008-11-19 Thread Eitan Behar
http://neilsleightholm.blogspot.com/2008/08/executing-sqlcmd-from-wix.html that might be useful. Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ____ From: Eitan Behar [mailto:[EMAIL PROTECTED] Sent: Wed 19/11/2008 18:53 To: 'Ge

Re: [WiX-users] Modifying the MSI file at runtime using DTF

2008-11-19 Thread Eitan Behar
the MSI file at runtime using DTF Hmm, yeah, sorry, I don't know of a hacked way around the scenario. -Original Message- From: Eitan Behar [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2008 10:54 To: 'General discussion for Windows Installer XML toolset.' Subject:

Re: [WiX-users] Modifying the MSI file at runtime using DTF

2008-11-20 Thread Eitan Behar
l Sleightholm > X2 Systems Limited > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > > > > From: Eitan Behar [mailto:[EMAIL PROTECTED] > Sent: Wed 19/11/2008 19:11 > To: 'General discussion for Windows Installer XML toolset.' >

[WiX-users] Sql connection timeout

2008-11-20 Thread Eitan Behar
Hi, Please, do you know what is the default timeout for the Sql connections ? And if there is an attribute to change it? Thanks, Eitan - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the

Re: [WiX-users] Calculate Directory path into Property value

2008-11-20 Thread Eitan Behar
Hi Dave, After CostFinalize, you can use the Directory ID as a property and use the resolved path: See the log file: Action start 16:57:43: CostFinalize. ... MSI (c) (7C:54) [16:57:43:756]: PROPERTY CHANGE: Adding TARGETDIR property. Its value is 'C:\'. ... MSI (c) (7C:54) [16:57:43:772]: Target

Re: [WiX-users] short form of the path to Wix

2008-11-23 Thread Eitan Behar
Hi Sean, * Don't use the short form, use string delimitators: ":\Long Folder Path" * Yes, you can use the env variable: cd %WIX%, or cd "%WIX% * Be careful when using cd , if you are on drive X:\bin, and you do cd c:\Temp, the current folder for C: will be Temp, but your current folder will be sti

Re: [WiX-users] Custom Action - start exe inside my INSTALLDIR

2008-11-23 Thread Eitan Behar
Hi Michael, You cannot use Property elements within the Property element. Instead, use this: Another approach is just: If your app is in the INSTALLDIR folder, remove [WindowsFolder] On Sun, Nov 23, 2008 at 1:47 PM, Love88Keys <[EMAIL PROTECTED]>wrote: > > I´ve read part of Wix-Tutorial

Re: [WiX-users] short form of the path to Wix

2008-11-23 Thread Eitan Behar
directory > Cd "%WIX% and cd "%WIX%" both give me a format incorrect error, any help > to solve these gratefuly accepted. > Chers > Sean. > -Original Message- > From: Eitan Behar [mailto:[EMAIL PROTECTED] > Sent: 23 November 2008 11:35 > To: Genera

Re: [WiX-users] Custom Action - start exe inside my INSTALLDIR

2008-11-23 Thread Eitan Behar
Hi Michael, There are a few methods to execute a file using a custom action. Basically, it depends whether you are deploying the file, have it on the binary table, or the file already exists. According to your email, you are deploying the file with your installation. Therefore, the simplest approa

Re: [WiX-users] Sql connection timeout

2008-11-24 Thread Eitan Behar
s expected. Eitan On Thu, Nov 20, 2008 at 6:58 PM, Rob Mensching <[EMAIL PROTECTED]>wrote: > 1. No idea what the default is. > > 2. No ability to change it in the CustomActions. > > -Original Message- > From: Eitan Behar [mailto:[EMAIL PROTECTED] > Sent: T

  1   2   >