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

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] 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] 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] 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

[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] 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] 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] 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.

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] 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] 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
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

[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 --

[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

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

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] 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] 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] 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

[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] 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

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] Wix#

2008-12-18 Thread Eitan Behar
Phil's book is excellent - don't know if it's the best one, I haven't read them all 8^) On Thu, Dec 18, 2008 at 1:11 PM, Jody Belka wrote: > Hmm. Need to start playing about with Wix at the Wix level first anyway I > think :) > > On a slightly different matter, is the Windows Installer book b

Re: [WiX-users] WebSite is getting deleted when msi uninstalled.

2008-12-18 Thread Eitan Behar
If you are creating the Website (not just referencing to the Default Web Site), set its component as permanent, and create the virtual directories in different components. On Thu, Dec 18, 2008 at 8:12 AM, Kalvagadda, SivaKrishna (MLX Technology) < sivakrishna_kalvaga...@ml.com> wrote: > Hi, > >

Re: [WiX-users] Very slow performance running SQL Scripts

2008-12-10 Thread Eitan Behar
running SQL Scripts And is it just the last one (100k) that is slow? Or is the 60k slow as well? I hope the 2K are okay. -----Original Message- From: Eitan Behar [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2008 22:30 To: 'General discussion for Windows Installer XML tool

Re: [WiX-users] Very slow performance running SQL Scripts

2008-12-09 Thread Eitan Behar
esday, December 10, 2008 1:00 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Very slow performance running SQL Scripts How much text (without comments) are in these SQL Scripts again? -Original Message- From: Eitan Behar [mailto:[EMAIL PROTECTED]

Re: [WiX-users] Very slow performance running SQL Scripts

2008-12-09 Thread Eitan Behar
CustomActions. > Can you look in a verbose log file and see what actions are taking the > longest? Breakdown of details will help us target the things that are > actually slow. > > -Original Message- > From: Eitan Behar [mailto:[EMAIL PROTECTED] > Sent: Sunday, Dec

Re: [WiX-users] Very slow performance running SQL Scripts

2008-12-07 Thread Eitan Behar
PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Very slow performance running SQL Scripts Hi Eitan, How much does it take for your script to run if you use sqlcmd from the command window? Eitan Behar wrote: > Hi, > > I am having a serious performanc

[WiX-users] Very slow performance running SQL Scripts

2008-12-07 Thread Eitan Behar
Hi, I am having a serious performance problem with SQL Scripts, and would appreciate some help troubleshooting it. This is the scenario: Use WIX to create the database, use script (within the component creating the database) changing database properties, use scripts on different component to crea

Re: [WiX-users] Problem setting dynamic values for website

2008-12-05 Thread Eitan Behar
scans the target machine for the available web sites and allows the user to select one. The custom functionality would then install the new web app under this site. Does wix already have this functionality or would I have to plug in a custom dll that would talk to IIS? Eitan Behar-3 wrote: >

Re: [WiX-users] Problem setting dynamic values for website

2008-12-05 Thread Eitan Behar
You have missing []: -Original Message- From: ultraplop [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2008 4:56 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Problem setting dynamic values for website Hello, I am a new wix user and I

Re: [WiX-users] XmlConfig (again)

2008-12-05 Thread Eitan Behar
Is [!FileId] the same as [#FileId] ? -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2008 3:19 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] XmlConfig (again) Does "C:\temp\settings.xml" actually exist

Re: [WiX-users] Error 2229 when initiating a minor upgrade (when upgrading an installation based on a transform).

2008-12-05 Thread Eitan Behar
Just a thought, are the sql strings/scripts plain ASCII/UTF-8, or you have special encoding there? -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2008 3:10 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users]

Re: [WiX-users] [WIX-Users] Not allowed to installer a folder with spaces in it?

2008-12-01 Thread Eitan Behar
Hi Peter, Directory refers to a Directory Id, therefore it cannot contains spaces. What you want to accomplish is: On Tue, Dec 2, 2008 at 8:11 AM, Peter McClymont <[EMAIL PROTECTED]>wrote: > Hi All, > > I have this code snippet in my WIX script,

Re: [WiX-users] Overwrite GAC Assembly

2008-11-28 Thread Eitan Behar
Hi Sujanakar, The DLL will be replaced in the GAC if the file assembly version is newer. Notice that the WIX default is to include only the assembly version. Use the linker option -fv - If you are using Visual Studio, open the project properties, go to Tools, and add -fv for the linker. Regards

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

2008-11-24 Thread Eitan Behar
Why don't you include the EXE and the DLL as well in the Binary table ? If your file is only needed for maintenance (install, repair, uninstall), then do not deploy it. If I remember correctly, all files in the Binary table are extracted to the same folder during (un)installation. -Origi

Re: [WiX-users] Sql connection timeout

2008-11-24 Thread Eitan Behar
Great. I will add the request, definitely ! On Mon, Nov 24, 2008 at 6:12 PM, Rob Mensching <[EMAIL PROTECTED]>wrote: > Feel free to file a feature request. Seems like something that should be > configurable. > > -Original Message----- > From: Eitan Behar [mailto:[EM

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

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] 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, 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
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] 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

[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] 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.' >

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-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
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

[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] 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

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] 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] 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

[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] 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] 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] 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

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] 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] 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

[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 --

[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

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

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] 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] 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

[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] 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

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] 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] 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] 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] 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

[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] 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

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] 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-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] 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] 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] 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] 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] 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.

[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

[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] 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

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

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] 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

[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-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

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] 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] 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] 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] 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] 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:

[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] 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

  1   2   >