Re: [WiX-users] Record ordering not retained when records added via View.Modify

2008-10-31 Thread Nic Barden
g, the table needs to have a sequencecolumn and the code that reads it needs to group by it. The SqlScripts table happens tohave just such a column -Original Message-From: Nic Barden [mailto:[EMAIL PROTECTED]: Friday, October 31, 2008 10:43To: WiX User GroupSubject: [WiX-users] Record or

[WiX-users] Record ordering not retained when records added via View.Modify

2008-10-31 Thread Nic Barden
Hi, I have a bug which is being caused by the way the installer database is ordering the records when I add them via View.Modify(ViewModifyMode.InsertTemporary). I have performed a full dump of the table to the log after EVERY record is inserted, and I can see that: There are 2 permanent re

[WiX-users] URGENT - Path to "Program Files" somehow wrongly "updated" to "Program Files (x86)"

2008-10-31 Thread Nic Barden
Hi all, I have an urgent requirement to fix an issue to do with the path to the program files directory. I am testing an app that performs a database install using the SqlDatabase element. I am passing the paths to the data an log files as properties. However, even when the path has been C

Re: [WiX-users] Product directory always created even when feature not installed - can this be disabled?

2008-10-23 Thread Nic Barden
always created even when feature not installed - can this be disabled?From: Sébastien Mouren <[EMAIL PROTECTED]> - 2008-10-23 18:16 2008/10/23 Nic Barden <[EMAIL PROTECTED]>:> Hi all,>> I have a product with 3 features - 1 being the main app (which installs directories and fi

[WiX-users] Product directory always created even when feature not installed - can this be disabled?

2008-10-23 Thread Nic Barden
Hi all, I have a product with 3 features - 1 being the main app (which installs directories and files into the "Program Files\MyCompany\MyProduct" directory), and 2 features being supporting databases, which do not add anything to the file system. I am not sure how to stop the directories bei

[WiX-users] Duplicate symbol with wix library use (BinaryRef element required?)

2008-10-20 Thread Nic Barden
Hi, I am trying to create a common database library which includes a element and then have that Binary record referenced from other wix database setup projects. However, when I create 2 other wix library projects for 2 different databases that need to be setup and reference the common wix dat

[WiX-users] Is it possible to conditionally create properties?

2008-10-20 Thread Nic Barden
Hi, I have several properties which I only want created via the element when a certain feature has been selected. Is it possible to conditionally create properties? I would like to do this so I can then check for the existence of the properties from a CA and if they are not present I assume

[WiX-users] CustomizeDlg Next button always enabled

2008-10-20 Thread Nic Barden
Hi, I have 2 features as part of my installation. I am using the built in "CustomizeDlg" to allow the user to choose which features to install. However even if both features are marked as "Entire feature will be unavailable", the Next button remains enabled. I checked the dialog source and it

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

2008-10-16 Thread Nic Barden
t and closed VS and then re-added (with possibly some other mucking around in between) but I think this is what fixed it. Cheers --- Re: [WiX-users] Use of ComponentGroup and "Duplicate symbol 'WixComponentGroup:xxx' found." From: Nic Barden <[EMAIL PROTECTED]>

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

2008-10-15 Thread Nic Barden
d, 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-Visual-Studio--td701023.html#a701 > 024 > > &g

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

2008-10-15 Thread Nic Barden
Hi, I am trying to wrap my contents inside a like this forum post says: http://n2.nabble.com/Multiple-Wxs-Merge-in-Visual-Studio--td701023.html#a701 024 I am still unsure of the best design for this, but I would ideally like the main installer to be the only place where the APPLICATIONROOTD

Re: [WiX-users] Errors Building Custom Action on Vista x64

2008-10-14 Thread Nic Barden
, that configuration is not very well-tested, so it's possible there are issues.) -Original Message- From: Nic Barden [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2008 2:16 PM To: [EMAIL PROTECTED] Subject: [WiX-users] Errors Building Custom Action on Vista x64

[WiX-users] Errors Building Custom Action on Vista x64

2008-10-14 Thread Nic Barden
Hi, I have a custom action project that was created using the C# Custom Action Template in VS2008. This was building fine under XP 32 bit, but I am now trying to build on Vista 64 bit, which is causing a couple of issues: - The hard coded reference to the WiX V3 SDK is incorrectly "C:\Program

[WiX-users] Library and Fragment structure

2008-10-14 Thread Nic Barden
Hi, We have a number of large solutions which I am creating the installer for. There will only be a single final "installer" (i.e. msi), but there will be a few features within that. I am not sure of the best way to structure the wix library projects. I am opting away from merge modules as it

[WiX-users] Dynamically binding properties to UI dialog

2008-10-10 Thread Nic Barden
Hi, I have a dialog that has some textboxes that set the values of some global properties. I ideally want the dialog to be re-usable so I can call it more than once from the same installation, but have it be bound to a different set of properties the second time I call it. Specifically, it ha

[WiX-users] Intercepting the SQL CA

2008-10-08 Thread Nic Barden
Hi, I'm trying to perform token replacement on SQL script files (such as database name, server name etc) via a custom CA before the SQL CA executes them. I have successfully created the custom CA. However, I am unsure how to "intercept" the SQL CA to provide it the "new" files/scripts to exec

[WiX-users] Create and/or modify MSI database tables via DTF from CA

2008-10-08 Thread Nic Barden
Hi, I am trying to update the MSI tables at runtime from a Custom Action to perform token replacement in SQL Script files. The issue I am running into is that the Database that I get access to through the Session object says it has an OpenMode of ReadOnly (however the IsReadOnly property is fa

Re: [WiX-users] Bug in wix.ca.targets version 3.0.4318.0?

2008-10-08 Thread Nic Barden
cluded by setting the Copy Local property of the reference to True. Then when you build it will copy it to the output directory and MakeSfxCA.exe will find it in that location instead of in the GAC. -Jason- -----Original Message- From: Nic Barden [mailto:[EMAIL PROTECTED] Sent: Wednesday, Oct

[WiX-users] MSI SQL Join Syntax

2008-10-08 Thread Nic Barden
Hi, Does anyone know the correct syntax for joining 2 tables in MSI SQL? There isn't a lot of help from the formal documentation at http://msdn.microsoft.com/en-us/library/aa372021(VS.85).aspx I am trying to join the SqlScript and Binary tables to get a list of binary files that are actually

Re: [WiX-users] Bug in wix.ca.targets version 3.0.4318.0?

2008-10-08 Thread Nic Barden
e not included in the CA package. -Jason- -----Original Message- From: Nic Barden [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2008 6:14 AM To: WiX User Group Subject: [WiX-users] Bug in wix.ca.targets version 3.0.4318.0? Hi, I created a CA using version 3.0.4318.0 of WiX. When I

[WiX-users] Bug in wix.ca.targets version 3.0.4318.0?

2008-10-08 Thread Nic Barden
Hi, I created a CA using version 3.0.4318.0 of WiX. When I ran the CA that was built via an installer, I received the error "Failed to load assembly Microsoft.Deployment.WindowsInstaller. Error code 0x80070002". Upon checking the C:\Program Files\MSBuild\Microsoft\WiX\v3.0\wix.ca.targets fil

Re: [WiX-users] Custom Action requiring properties

2008-10-04 Thread Nic Barden
InstallExecuteSequence, should be able to see the changed values modified during the UI sequence.If you haven't yet, get the MSI SDK which is part of the Windows SDK and check out properties in the documentation. The documentation has proven to be an invaluable reference to me.Regards,greenaj> From: Ni

[WiX-users] Custom Action requiring properties

2008-10-04 Thread Nic Barden
Hi, I am writing a custom action with DTF in C#. My custom action performs token replacement of database name, servername etc for SQL scripts. My understanding is that this should be done as an immediate CA, and then schedule the built in SQL CA as deferred to use the files that I have performe

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

2008-08-07 Thread Nic Barden
Sorry forgot to mention I am running the latest WiX version - 3.0.4318.0. And SQL 2005 if that makes any difference. Hi guys, I am trying to use the SqlDatabase and SqlScript elements to install a database and run some scripts to generate stored procs and tables etc. What I would ideally l

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

2008-08-07 Thread Nic Barden
Hi guys, I am trying to use the SqlDatabase and SqlScript elements to install a database and run some scripts to generate stored procs and tables etc. What I would ideally like is the user to be able to specify the database name in the setup UI, and then use that within the scripts. The SqlDa

[WiX-users] Re-usable installer library for installing databases (and general advice!)

2008-07-27 Thread Nic Barden
Hi, I am a newbie to WiX, so I apologise in advance if some of these questions are basic! I am trying to create an installer for a program that will include a number of logical modules. One of the "Features" the installer should present is an option to install the database for the application