Re: [WiX-users] Search & Replace template parameters in SQL

2008-10-06 Thread Neil Sleightholm
I don't use the built-in WiX SQL commands I find them too limiting, I prefer to shell out to sqlcmd to run the SQL scripts and use the sqlcmd replaceable parameters. For an example see here: http://neilsleightholm.blogspot.com/2008/08/executing-sqlcmd-from-wix.ht ml. Neil -Original Message--

Re: [WiX-users] Having issue with Variable.

2008-10-06 Thread Madhavi Athota (HCL Technologies Ltd)
Hi Bob, Thank you very much. This worked. -Original Message- From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2008 9:53 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Having issue with Variable. MadhaviAthota wrote: > > The q

Re: [WiX-users] adding registry entries when a checkbox is checked

2008-10-06 Thread Bob Arnson
Sean Farrow wrote: > Do I need to move the checkboxto an earlier dialog? > Yes. The property must be set before installation begins. -- sig://boB http://joyofsetup.com/ - This SF.Net email is sponsored by the Moblin Yo

Re: [WiX-users] Wix v3 build failing

2008-10-06 Thread Bob Arnson
Jeb Remus wrote: > NAnt.Core.BuildException: C:\Users\jebremus\Documents\Visual Studio > 2008\Projects\WIX\global.include(232,10): > 'rc' failed to start. ---> System.ComponentModel.Win32Exception: The system > cannot find the file specified >at System.Diagnostics.Process.StartWithCreateProce

Re: [WiX-users] Having issue with Variable.

2008-10-06 Thread Bob Arnson
MadhaviAthota wrote: > > The quotes you're using are the "curly" variety, not straight quotes. See the difference: > The WiX preprocessor doesn't understand curly quotes. -- sig://boB http://joyofsetup.com/ -

Re: [WiX-users] Component condition ignored during Upgrade

2008-10-06 Thread Bob Arnson
PameAlex wrote: > The RemoveExistingProducts action is after FindRelatedProducts > I don't think you can rely on the UpgradeVersion properties being passed to the old product. Check a verbose log after RemoveExistingProducts to see the major upgrade. -- sig://boB http://joyofsetup.com/ -

Re: [WiX-users] Problem using FirewallException

2008-10-06 Thread Bob Arnson
Paul Lalonde wrote: > I'm attempting to use the FirewallException element, without much > success. When installing, the installer abruptly performs a rollback > when it hits the FirewallException's deferred CA. No message box to > the user, nothing in the log. This is usin Wix 3.0.4513 on Wi

Re: [WiX-users] Having issue with Variable.

2008-10-06 Thread MadhaviAthota
Hi Rob, Thanks for the reply. I am developing the msi through Votive. The version of windows installer XML is v3. Thank You, Madhavi. From: Rob Mensching-2 [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2008 11:42 PM To: Madhavi Athota (HCL Technologies Ltd) Subject: Re: [WiX-users] Havi

[WiX-users] Silent Repair

2008-10-06 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi , How can I do silent repair. I am running msiexec with option /f nothing is happening.No Custom action is not executing. Please help. Regards -Sandeep - This SF.Net email is sponsored by the Moblin Your Move Developer'

Re: [WiX-users] How to add a localization file to a WiX (VS2005) project?

2008-10-06 Thread Wong Shao Voon
Hi guys, I am using WiX 2.0. Any ideas? Thanks! Best regards, Shao Voon --- On Mon, 10/6/08, Wong Shao Voon <[EMAIL PROTECTED]> wrote: From: Wong Shao Voon <[EMAIL PROTECTED]> Subject: [WiX-users] How to add a localization file to a WiX (VS2005) project? To: wix-users@lists.sourceforge.net Date

Re: [WiX-users] Problem using FirewallException

2008-10-06 Thread Paul Lalonde
I'm installing on an English version Windows, but the MSI's language code was French. I switched it to English to provide an all-English log, which you will find below. First, the immediate part: MSI (s) (E0:B0) [19:59:38:076]: Doing action: WixSchedFirewallExceptionsInstall Action 19:59:38

Re: [WiX-users] Search & Replace template parameters in SQL

2008-10-06 Thread Castro, Edwin (Hillsboro)
I would be interested in a solution to this as well! -- Edwin -Original Message- From: dschmitz [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2008 2:59 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Search & Replace template parameters in SQL Hello, we have lots of S

Re: [WiX-users] Search & Replace template parameters in SQL

2008-10-06 Thread Michael Osmond
Daniel The email I received did not have your example template parameters. However, the way I have approached the problem of putting parameters into SQL scripts in WIX is to use the SQLString elements and use [MSIProperties] for the replacement work - the SQLStrings are formatted so they follow a

[WiX-users] Partial Uninstallation

2008-10-06 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi , I want to do partial uninstallation. Actually at the time of installation, I am dropping my binaries in two different folder. At the time of remove, invoking check box based UI and selecting only one checkbox (which will uninstall/remove one folder). Please help me out, how can I do this.

Re: [WiX-users] Component execution based on condition

2008-10-06 Thread Sandeep Gautam (HCL Technologies Ltd)
Sorry, Actually This is atypo mistake while writing the mail. Please ignore this. Regards Sandeep -Original Message- From: Jim Williams [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2008 1:32 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Comp

[WiX-users] Wix v3 build failing

2008-10-06 Thread Jeb Remus
Hello, I'm trying to build WiX v3 from the command line. Running "make.bat -v" yields the following error at winterop.inc: [rc] 'C:\Users\jebremus\Documents\Visual Studio 2008\Projects\WIX\build\obj\debug\x86\winterop\winterop.res' does not exist, rec

Re: [WiX-users] Component execution based on condition

2008-10-06 Thread Jim Williams
You don't have the property spelled the same in all instances. I see INSTALLLSFILES (with an L in the middle) and INSTALLPSFILES (with a P in the middle). Jim Williams -Original Message- From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED] Sent: Monday, October 06

Re: [WiX-users] Weekly releases

2008-10-06 Thread Rob Mensching
Yeah, sorry, should have sent an update. SourceForge recently moved all of their servers from one datacenter (California, I think) to another (Chicago, I think). Something has changed in the move and we're still debugging what is wrong with our publish scripts. Unfortunately, I'm in the middl

Re: [WiX-users] Logging

2008-10-06 Thread Phil Sayers
anyone else received this message almost 10 times today? -Original Message- From: Peter Vestergaard [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2008 6:47 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Logging I am using the command line

Re: [WiX-users] Weekly releases

2008-10-06 Thread Alex Ivanoff
Still nothing. > No idea... thought the last one went through (but obviously didn't check). I'll make sure > it goes through correctly this week. -Original Message- From: Alex Ivanoff [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2008 12:16 To: General discussion for Windows Ins

Re: [WiX-users] How does digital signing work?

2008-10-06 Thread Wheeler, Blaine (DSHS/DCS)
Here is how we do it. 1. We had to get a 'code signers certificate'. There are many vendors; Verisign, Thawte, Comodo or one of the competitors. If your company already has a certificate, you are saved from much frustration. If not, Comodo has very good instructions about installing the key and

Re: [WiX-users] Component condition ignored during Upgrade

2008-10-06 Thread PameAlex
The RemoveExistingProducts action is after FindRelatedProducts NEWAPPFOUND OLDAPPFOUND -- View this message in context: http://n2.nabble.com/Component-condition-ignored-during-Upgrade-tp1122156p1301820.html Sent from the wix-users mailing list archive at Nabb

Re: [WiX-users] problem with dropping database on uninstall

2008-10-06 Thread Amy Rosewater
Forgot to mention, the version I am using is Wix v3.0.4513.0. I guess what I am wondering is how do the DropDatabase and UninstallSqlData custom actions get scheduled? I see UninstallSqlData in the InstallExecuteSequence table, and the only condition is "NOT SKIPUNINSTALLSQLDATA". This property

[WiX-users] Component execution based on condition

2008-10-06 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi, I have some component which are executing based on some property. I am declaring my property like that: I am assigning values to this property on some button click event: 1 But my component is not executing. If I will assign value like : Then my component is executin

[WiX-users] Can a DirectoryCombo or VolumeSelectCombo show UNC network paths?

2008-10-06 Thread MarekS
Can a DirectoryCombo show UNC network paths? I've set the Control in my custom Browse dialog like this: ... ... With Remote=yes, the Combo shows network paths that I've mapped on my system, but can't seem to find a way to browse through 'My Network Places', such that the combo displ

Re: [WiX-users] Having issue with Variable.

2008-10-06 Thread Rob Mensching
What version of the WiX toolset are you using -Original Message- From: MadhaviAthota [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2008 02:50 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Having issue with Variable. Hi all, I am defining a variable like this and usi

Re: [WiX-users] failed certificate install

2008-10-06 Thread Rob Mensching
And we're having problems uploading the weekly binaries to SourceForge. They moved their machines between datacenters recently and something is different. Still investigating but I really haven't had any minutes to do so... -Original Message- From: Luke Bakken [mailto:[EMAIL PROTECTED]

Re: [WiX-users] failed certificate install

2008-10-06 Thread Ian Elliott (Excell Data Corporation)
Karthik, I'm not sure why my original post was resent as I didn't resend it! I did see Rob's reply and I haven't grabbed the latest release yet to check the fix. I hope to get to it today or tomorrow. Thanks, Ian -Original Message- From: Karthik Krishnan [mailto:[EMAIL PROTECTED] Sent:

Re: [WiX-users] How does digital signing work?

2008-10-06 Thread John Hall
> Could anyone please describe how digital signing works with WIX? > I've only found the reference of the DigitalSignature-element here: > http://wix.sourceforge.net/manual-wix2/wix_xsd_digitalsignature.htm > In the Windows Installer SDK there isn't much more > information. It seams that I need a 1

[WiX-users] problem with dropping database on uninstall

2008-10-06 Thread Amy Rosewater
Hi All, I have a database component which creates a new database during install, and is set to drop that same database on uninstall. This behavior used to work perfectly, but recently has stopped working and I am not sure why. I did not change versions of Wix, nor did I change the database co

Re: [WiX-users] Problem using FirewallException

2008-10-06 Thread Neil Sleightholm
I don't know the answer but am I correct that you are installing a French language variant of Windows? If so I noticed the file was in "C:\Program Files" is that correct, I thought it was localised? Do you have a copy of English Windows you could try it on? Neil -Original Message- From

Re: [WiX-users] Logging

2008-10-06 Thread Rob Hamflett
You haven't actually called light on your command line. Have you registered the .wixobj file extension with light or something? Rob Peter Vestergaard wrote: > Thanks for your assistance. It does however not work for me... > my command is: "C:\Projects\...\WiXOutput.wixobj" -out > "C:\Projects\

[WiX-users] Problem using FirewallException

2008-10-06 Thread Paul Lalonde
Hello everyone, I'm attempting to use the FirewallException element, without much success. When installing, the installer abruptly performs a rollback when it hits the FirewallException's deferred CA. No message box to the user, nothing in the log. This is usin Wix 3.0.4513 on Windows Ser

[WiX-users] How does digital signing work?

2008-10-06 Thread Yves
Hello Could anyone please describe how digital signing works with WIX? I've only found the reference of the DigitalSignature-element here: http://wix.sourceforge.net/manual-wix2/wix_xsd_digitalsignature.htm In the Windows Installer SDK there isn't much more information. It seams that I need a 12

Re: [WiX-users] Close/restart running application on install

2008-10-06 Thread Neil Sleightholm
I believe this is fixed in the latest nightly (I am using it). I only needed to schedule WixCloseApplications in the execute sequence. Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED] From: divo [mailt

Re: [WiX-users] Logging

2008-10-06 Thread Peter Vestergaard
Thanks for your assistance. It does however not work for me... my command is: "C:\Projects\...\WiXOutput.wixobj" -out "C:\Projects\...\Installer.msi" -ext WixUIExtension -loc "C:\Projects\...\Language.xml" 1>out.txt 2>err.txt 2008/10/6 Rob Hamflett <[EMAIL PROTECTED]> > For one product my light c

[WiX-users] Delta-patching large files issue

2008-10-06 Thread Kamil Mierzejewski
Hi, I've found an issue in patch creation using pyro. It is not easy to reproduce with "sample code", but in real life it is very likely to occur. Pyro always sets the PatchAdded and Compressed attributes on files that need to be patched and that's not always right. It works with small files or

Re: [WiX-users] Close/restart running application on install

2008-10-06 Thread divo
Hi and thanks. Yes, I could use util:CloseApplication if it was not throwing error 2762 mentioned in http://n2.nabble.com/util%3ACloseApplication---how-do-I-use-it-td732809.html. Unfortunately, this issue seems not fixed yet. I am using Wix v3.0.4513.0 Bob Arnson-6 wrote: > > divo wrote: >> Is

Re: [WiX-users] Logging

2008-10-06 Thread Rob Hamflett
For one product my light command is this: light -nologo -sw1044 DBS.wixobj SN_COMMON_PATH.wixobj Add_Common_Bin_To_Path.wixobj -loc Common\CommonSettings\Common-E.wxl -loc English.wxl -out DBS.msi You would then tag the redirection stuff on the end like this: light -nologo -sw1044 DBS.wixobj SN_

Re: [WiX-users] Logging

2008-10-06 Thread Peter Vestergaard
I am using the command line On Mon, Oct 6, 2008 at 12:38 PM, Simon Dahlbacka <[EMAIL PROTECTED]>wrote: > Or if you use votive (or othervise msbuild compatible project), you can use > the normal msbuild logging mechanism > > http://msdn.microsoft.com/en-us/library/ms171470(VS.80).aspx > > /Sim

Re: [WiX-users] Logging

2008-10-06 Thread Simon Dahlbacka
Or if you use votive (or othervise msbuild compatible project), you can use the normal msbuild logging mechanism http://msdn.microsoft.com/en-us/library/ms171470(VS.80).aspx /Simon On Mon, Oct 6, 2008 at 1:15 PM, Peter Vestergaard <[EMAIL PROTECTED]>wrote: > Thanks for your reply. > I can't get

Re: [WiX-users] COM registration weirdness

2008-10-06 Thread John Hall
> Is this code significantly different than what is in heat? > Can we improve heat as well? I didn't look at heat's sourcecode when I wrote my utility, but it uses the same registry redirection technique. I've looked at RegistryHarvester.cs and I can't see where it deals with the Class/TypeLib t

Re: [WiX-users] Logging

2008-10-06 Thread Peter Vestergaard
Thanks for your reply. I can't get this to work with light. Could you give me an examble of the correct syntax? -Peter On Mon, Oct 6, 2008 at 10:45 AM, Rob Hamflett <[EMAIL PROTECTED]> wrote: > There's the traditional method of redirecting the output: > candle 1>stdout.txt 2>stderr.txt > > Rob

[WiX-users] Having issue with Variable.

2008-10-06 Thread MadhaviAthota
Hi all, I am defining a variable like this and using it in a property and using the above property in When I am running the MSI, I am getting the error specifying Could not access network location ?C:\inetpub\wwwroot\XYZ?\XYZFolder Please suggest me a solution for the above problem.

Re: [WiX-users] Logging from a Custom Action during the UI phase

2008-10-06 Thread John Hall
> If you're looking for a quick non-debugger method, property > changes are still logged. It may be a hack, but calling > MsiSetProperty(hMSI, _T("LOGME"), _T("...")) is effective. Michael, That's a nice workaround - I like it. Cheers, John --

[WiX-users] Search & Replace template parameters in SQL

2008-10-06 Thread dschmitz
Hello, we have lots of SQL scripts here using SQL template parameters looking like this: SQL Management Studio has the possibility to fill these parameters with values using Ctrl+Shift+M Now we are going to automate the execution of these scripts with WiX. The standard Wix SQL cmds SqlScript /

Re: [WiX-users] Logging

2008-10-06 Thread Rob Hamflett
There's the traditional method of redirecting the output: candle 1>stdout.txt 2>stderr.txt Rob >Peter Vestergaard wrote: > Hi. > Is there any way to log candle and light build errors and warnings to a text > file? > Best regards > Peter >

[WiX-users] Logging

2008-10-06 Thread Peter Vestergaard
Hi. Is there any way to log candle and light build errors and warnings to a text file? Best regards Peter - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications

Re: [WiX-users] Single installer instance question

2008-10-06 Thread Rob Hamflett
There's nothing really to support that, at least, not that I know of. If it could be done with custom actions I suspect it would be a total pain and not worth the effort. Rob kamal sharma wrote: > Hi, > > I want to limit the UI to open for the second MSI installer. > So, do I write a Custom A

Re: [WiX-users] adding registry entries when a checkbox is checked

2008-10-06 Thread Sean Farrow
Hi Bob. The checkbox is on the finish page. Do I need to move the checkboxto an earlier dialog? Chers Sean. -Original Message- From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: 06 October 2008 06:36 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] adding