[WiX-users] WixUI_FeatureTree: disable (lock) target directory selection

2009-10-15 Thread Armin Linder
Hi all, is it possible to disable the target directory selection GUI elements, depending on a condition? The whole story: a product is delivred in modules (each is one msi) which a user can purchase and install in any order. It is essential that he always selects the same target directory.

Re: [WiX-users] WixUI_FeatureTree: disable (lock) target directory selection

2009-10-15 Thread Rob Hamflett
We have something similar where they can choose a location for first install but upgrades have to go to the same place. I just disable the UI elements that allow the user to choose where to put things. I suspect you can also just not specify feat...@configurabledirectory. Rob Armin Linder

Re: [WiX-users] Compile a project with used, but not specified compile time paramaters...

2009-10-15 Thread Thorsten Schöning
Guten Tag Blair, am Mittwoch, 14. Oktober 2009 um 22:35 schrieben Sie: ?ifndef myvar? ?define myvar=abc? ?endif? ...$(var.myvar)... candle ... -dmyvar=123 ... Thanks again, must have overseen the preprocessor articles. :-) Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten

Re: [WiX-users] Web setup using .msm

2009-10-15 Thread Blair
Who wrote the MSM? Ask them to fix the failing custom action, or at least determine why the custom action is failing, or how to determine why the custom action is failing. If the custom action that is failing is attempting self-registration, this would be a good opportunity to get rid of that

Re: [WiX-users] failed install, error is Failed to open XML file

2009-10-15 Thread Chris Jokinen
Ok, I found this old posting on the same issue I am having. http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg22390.html It would look like I need to switch from XmlFile to XmlConfig to do what I need to do. I see the example that Brian posted was util:XmlConfig Id=AddElementText

Re: [WiX-users] failed install, error is Failed to open XML file

2009-10-15 Thread Blair
XmlConfig, just like XmlFile, depend on the XML file already existing when the action runs. The syntax between the two actions is slightly different, and the capabilities are slightly different, but I'm not sure what you are referring to when you say do I need to delete the file first or can I

Re: [WiX-users] light.exe failed randomly when running ICEs.

2009-10-15 Thread Blair
Not sure. The semi-pseudocode would look like the following, however: [assembly: AssemblyDefaultWixExtension(typeof(MyConcurrencyExtension))] class MyConcurrencyExtension : WixExtension { private ValidatorExtension myValidation; public override ValidatorExtension ValidatorExtension {

Re: [WiX-users] failed install, error is Failed to open XML file

2009-10-15 Thread Chris Jokinen
The installer copies two files; an exe and a config (the xml file) into the same directory (finally got that to work!). The next thing I need to do is update the xml config file with the 3 command line parameters being supplied during a silent install. Currently I am just testing 1 parameter

Re: [WiX-users] failed install, error is Failed to open XML file

2009-10-15 Thread Blair
Just an aside: For the File attribute of the util:XmlConfig element, instead of [INSTALLLOCATION]\RollCall.exe.config you could use [#RollCallexeconfig]. That would protect you against changes in the directory name and even filename of the file you are updating, especially since you are always

[WiX-users] Any way to control the # of service start attempts on ServiceControl?

2009-10-15 Thread Dave Kolb
Is there any way to control the # of service start attempts on ServiceControl or elsewhere in the .msi file? MSI seems to try 7 times to start my service before declaring an install failure. The service is not starting due to no fault of wix or MSI and so I am not asking about that. I just want to

[WiX-users] votive2008 help

2009-10-15 Thread Corey Partridge
Hi, I am trying to compile this project on my local VS2008 but I keep getting the following errors: Error 1 The Language parameter is not supported by the VsTemplatePaths task. Verify the parameter exists on the task, and it is a settable public instance property.

Re: [WiX-users] failed install, error is Failed to open XML file

2009-10-15 Thread Chris Jokinen
I'm at a loss... I have this currently Component Id=RollCall.exe.config Guid=3b367d78-64a2-4eb5-bf8d-3aa5ada56735 File Id=RollCallexeconfig Source=C:\Documents and Settings\chrisj\My Documents\Visual Studio 2005\Projects\Roll Call\Roll Call\bin\Release\RollCall.exe.config DiskId=1

Re: [WiX-users] failed install, error is Failed to open XML file

2009-10-15 Thread Chris Jokinen
Got it I can't believe I have been chasing my tail this whole time I had ElementPath=/configuration/applicationSettings/RollCall.Properties.Settings/setting[...@key='project'[\]]/value And it needed to be

[WiX-users] When to change Product/@Id (ProductCode)? - two editions of the same product.

2009-10-15 Thread Sascha Beaumont
Hi All, This isn't so much a WiX specific question, but more of a Windows Installer one... however those on the list seem to have a pretty good understanding of all the rules we should be following so I'm hoping someone can point me in the right direction. Currently for our main product I'm

Re: [WiX-users] When to change Product/@Id (ProductCode)? - two editions of the same product.

2009-10-15 Thread Dave Kolb
I understand Product/@Id is an XPath fragment but where is such syntax used in conjunction with wix? I could find no such usage in any wix or project files that I am using. Just trying to understand what you are talking about. Thanks, Dave snip Currently for our main product I'm using two

Re: [WiX-users] When to change Product/@Id (ProductCode)? - two editions of the same product.

2009-10-15 Thread Sascha Beaumont
Hi Dave, http://wix.sourceforge.net/manual-wix3/wix_xsd_product.htm The Id attribute of the Product element... It's the third line in every single one of my WiX projects :) ?xml version=1.0 encoding=utf-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; Product

Re: [WiX-users] When to change Product/@Id (ProductCode)? - two editions of the same product.

2009-10-15 Thread Dave Kolb
Hi Sascha, I also do that same exact thing since I use the same .wxs file for x64 and x86 and define unique product codes for each but was wondering where exactly you were using/seeing that xpath syntax fragment of Product/@Id which is different than the 3rd line of what you just listed which is

Re: [WiX-users] When to change Product/@Id (ProductCode)? - two editions of the same product.

2009-10-15 Thread Sascha Beaumont
Hi Dave, I'm not using the fragment *in* my WiX sources, I'm using it for clarification in referring *to* my WiX sources... does that make sense? Sascha On Fri, Oct 16, 2009 at 3:17 PM, Dave Kolb d...@dotnetcodeslingers.com wrote: Hi Sascha, I also do that same exact thing since I use the

Re: [WiX-users] When to change Product/@Id (ProductCode)? - two editions of the same product.

2009-10-15 Thread Dave Kolb
Yes thanks! I had seen a couple such references before and did not realize you all were talking like an xpath compiler J Kind of like talking like a pirate. Arrgh! Sorry I can't help with your actual question.Dave -Original Message- From: Sascha Beaumont

Re: [WiX-users] Web setup using .msm

2009-10-15 Thread cad
Hi Blair, I did a smoke test (using smoke.exe) on the .msm(containing custom actions) I got this result. It results into following error. error SMOK0204 : ICE03: Table: Error Column: Error Missing specifications in _Validation Table (or Old Database) error SMOK0204 : ICE03: Table: Error