Re: [WiX-users] Re move ending "\" from INSTALLDIR property value

2008-08-21 Thread Neil Sleightholm
I don't think this is possible without writing a custom action. All paths in Windows Installer end "\" so it might be better to change the application to except the "\". Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED]

[WiX-users] Custom action Condition on Property value?

2008-08-21 Thread Yuval David
Hello, I'm trying to run a custom action with a condition that verify that a property value of INSTALLERROR is 0, but it doesn't work The syntax is probably not right. Can some one tell me what is the problem please? Value="0" INSTALLERROR = 0 AND Not Installed

Re: [WiX-users] Custom action Condition on Property value?

2008-08-21 Thread Michael Faden
Hi Yuval, is a question of operator priority: It should look like that (INSTALLERROR = 0) AND Not(Installed) Your term means INSTALLERROR=(0 AND NOT Installed) and this is of course always false Mike Yuval David wrote: > Hello, > > I'm trying to run a custom action with a

Re: [WiX-users] Localisation of WixUILicenseRtf

2008-08-21 Thread Pat Higgins
Hi Neil, I'm not an expert & these might not work but they might help in some way (I haven't tested them but we do something similar - not same unfortunately). You could have something in StandardVars.wxi And then have $(var.myRFT) And if that doesn't work just use Finally, should the

[WiX-users] WiX x64 - compile problems in VS2005 projects

2008-08-21 Thread Mr. Flibble
I have got two computers, one XP x86 and one XP x64. Both have VS 2005 installed. I have installed the x86 WiX on the x86 computer and WiX x64 on the x64 computer. My VS projects compile fine on the x86 computer but on the x64 computer I get the error Error 229: The system cannot find the fil

Re: [WiX-users] Custom action Condition on Property value?

2008-08-21 Thread Yuval David
I changed it to: Value="0" (INSTALLERROR = 0) AND Not(Installed) But it still doesn't activate the custom action. It seems as he doesn't pass the condition (INSTALLERROR = 0). Even thaw I initialized the property to "0" as you can see. Is there a problem with the property initialization?

[WiX-users] Custom Action- change property value from vbs file

2008-08-21 Thread Yuval David
Hi, Im using wix 2.0 and Im trying to change the value of a property within a vbs file during a custom action. The property value doesn't change. Can some one please tell me why? Session.Property("INSTALLERROR") = "NO ERROR" ---

Re: [WiX-users] Custom Action- change property value from vbs file

2008-08-21 Thread Maxim Vyazovsky
Hy David, Try to run msiexec with log option and see - does your custom action execute? -- Thanks, Max On Thu, Aug 21, 2008 at 15:21, Yuval David <[EMAIL PROTECTED]> wrote: > Hi, > > Im using wix 2.0 and Im trying to change the value of a property within > a vbs file during a custom action. > >

[WiX-users] WiX x64 CustomAction

2008-08-21 Thread Костиков Александр
Can I use x64-compiled dll for CustomAction? - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip fo

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

2008-08-21 Thread Mike Rerick
Thanks Alex. I'll put together a CA to do what I need. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Shevchuk Sent: Wednesday, August 20, 2008 6:40 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] RegistrySe

Re: [WiX-users] Custom action Condition on Property value?

2008-08-21 Thread Brian Simoneau
If that Property element is copied exactly, then there is the problem. You are setting INSTALLERROR to Value="0". Change it to 0 Or To set INSTALLERROR to 0. -Brian Simoneau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yuval David Sent: Thursday, Aug

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

2008-08-21 Thread Dana Gutride
How many parameters are you talking about? If it's just a few, why don't you use a sqlstring action to put them in some temporary table in your db, read 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 t

Re: [WiX-users] Custom action Condition on Property value?

2008-08-21 Thread Alpert, Stephen R (GE Healthcare)
Shouldn't it be: ?? /steveA -Original Message- From: Yuval David [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2008 8:06 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom action Condition on Property value? I changed it to: Value=

Re: [WiX-users] Custom action Condition on Property value?

2008-08-21 Thread Yuval David
Thanks, It now starts the custom action. But I have another problem: In the custom action "Start" which activates a vbs there is a line in the vbs file which changes the property of "DONEXT" to "1", but its value doesn't change, and the "Finish" Custom action doesn't run. Do you maybe what's the r

Re: [WiX-users] Re move ending "\" from INSTALLDIR property value

2008-08-21 Thread Dale Quigg
> Date: Wed, 20 Aug 2008 23:58:36 -0700 (PDT) > From: Andy2k8 <[EMAIL PROTECTED]> > Subject: [WiX-users] Re move ending "\" from INSTALLDIR property value > > Is there a way to avoid the ending "\" from the INSTALLDIR value > without using custom actions? > I want to avoid that when writing the val

Re: [WiX-users] Localisation of WixUILicenseRtf

2008-08-21 Thread Neil Sleightholm
Thanks for the suggestions but unfortunately it does really fit in with the way localisation works. The localisation isn't applied until link time and variables are compile time. I think that is the root of the problem I am having, the license file is needed for the compiler but I am trying to dela

Re: [WiX-users] Localisation of WixUILicenseRtf

2008-08-21 Thread Neil Sleightholm
In trying to figure this out I thought I'd check the license dialog code: Could anyone tell me what "!(wix.WixUILicenseRtf=$(var.licenseRtf))" means? Thanks Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Sleightholm

[WiX-users] Unable to write the UninstallString value

2008-08-21 Thread Nilkund Aseef
Hello, I am writing an installer and one of the requirement is to call my own executable when the user wants to uninstall the msi from ARP. In order to do this, I have updated the .wxs file so that it modifies the UninstallString registry key to point to my custom exe (as below). However

Re: [WiX-users] How do I execute deferred CAs (for unit testingcustom actions)?

2008-08-21 Thread Richard
In article <[EMAIL PROTECTED]>, "dB." <[EMAIL PROTECTED]> writes: > I just saw your reply. Thanks. > > Your approach is the shim one that we eventually abandoned because > implementing the more complex MSI functions was a lot of work. Check out > http://code.dblock.org/ShowPost.aspx?id=7, w

Re: [WiX-users] Unable to write the UninstallString value

2008-08-21 Thread Brian Simoneau
Are you trying to modify the UninstallString for the current installer or creating a new ARP entry? You can't modify the UninstallString for the current installer because your registry change will be overwritten when the product registers itself on the system at the end of the installation. Inste

[WiX-users] schedule for WiX 3.0 beta -> release?

2008-08-21 Thread Kazuhito Niimi
I'm just starting to look into WiX for the first time, and had a few basic questions. I searched around on http://wix.sourceforge.net/ and searched in archives of the wix-users mailing list, but couldn't find the info I'm looking for yet. - Is there a public release schedule for WiX 3.0 beta? -

Re: [WiX-users] schedule for WiX 3.0 beta -> release?

2008-08-21 Thread Martin MacPherson
AFAIK there is no definite release schedule but the Rob, Bob et al. are looking to try and ship v3 RTM next year. The guys are concentrating on getting the bug count down at the moment and have shelved a couple of the features in order to get the release out sooner. Someone may have more detailed

Re: [WiX-users] Can WiX 2.0 make 64-bit MSI?

2008-08-21 Thread Wilson, Phil
MSI can figure out that your custom action is 64-bit and will run it on a 64-bit msiexec.exe. I think it's fair to say that most custom actions run on a separate msiexec.exe process anyway. The 32-bit service can launch a 64-bit custom action server. Are you on Vista? I ask because there's a k

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

2008-08-21 Thread Eitan Behar
Well, this sounds like a good workaround, but I wanted to do it Install Shield style, where you can just place parameters (like %blabla%) and assign them to MSI properties. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dana Gutride Sent: Thursday, Augus

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

2008-08-21 Thread Neil Sleightholm
I agree that would be a useful addition, I am trying to replace an existing install that shells out to sqlcmd and passes command line option to that. One option might be to do the same with WiX. Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eitan B

[WiX-users] SqlString Element Sequence

2008-08-21 Thread Neil Sleightholm
I was just looking at the source for the SqlString Element and I think I have spotted a bug but would appreciate any comments before raising it. The line in question is this: LPCWSTR vcsSqlStringQuery = L"SELECT `String`, `SqlDb_`, `Component_`,`SQL`,`User_`,`Attributes`,`Sequence` " L"FROM `S

Re: [WiX-users] Can WiX 2.0 make 64-bit MSI?

2008-08-21 Thread Костиков Александр
Vista x64 Enterprise without SP1. But you gave me a clue to the problem, I'll try to fix some compiler options. Thanks. Any details about the bug? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilson, Phil Sent: Friday, August 22, 2008 3:15 AM To: Gene