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

2009-10-14 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 w

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

2009-10-14 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. The

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

2009-10-14 Thread cad
Hi Blair, How do i do this checking in the referred .msm.? Thanks, On Wed, Oct 14, 2009 at 8:58 PM, Blair wrote: > It appears to be a failure in an action coming from your > HealthCheckMergeModule.msm. You will need to check with the author of that > MSM in order to diagnose that failure. >

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

2009-10-14 Thread Kevin Gu
Hi Blair, Thanks for your information. Is there any example of writing a ValidatorExtension? Thanks, Kevin GU | SDE | CSAT China | 8621-61518167 -Original Message- From: Blair [mailto:os...@live.com] Sent: Thursday, October 15, 2009 12:33 AM To: 'General discussion for Windows

Re: [WiX-users] Types of variables question

2009-10-14 Thread Dave Kolb
Thanks so much Blair. You are absolutely a fountain of knowledge and it is so wonderful you generously share it. Dave -Original Message- From: Blair [mailto:os...@live.com] Sent: Wednesday, October 14, 2009 4:59 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [

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

2009-10-14 Thread Chris Jokinen
This extract is from my msi log file. MSI (s) (6C:D8) [16:49:36:281]: Executing op: CustomActionSchedule(Action=ExecXmlFile,ActionType=3073,Source=BinaryData,Target=ExecXmlFile,CustomActionData=1€0€\RollCall.exe.config€3€0€/configuration/applicationSettings/RollCall.Properties.Settings/setti..

Re: [WiX-users] Types of variables question

2009-10-14 Thread Blair
In WiX v3 in candle there are four built-in that start with "$(" (specifically: env, sys, var, & fun). Any preprocessor extension on the commandline to candle can add others as well. env, sys, & var are all documented. fun exists for what the preprocessor calls "functions" but there are no built-i

Re: [WiX-users] Fetching APPLICATIONFOLDER from CA fails with IndexOutOfRangeException

2009-10-14 Thread Dave Kolb
ceLogon custom action got exception 'System.IndexOutOfRangeException: Index was outside the bounds of the array. at _CustomActions.CustomActions.GetServiceLogon(Session session)' __ Information from ESET NOD32 Antivirus, version of virus signature database 4507 (20091014) __ The messa

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

2009-10-14 Thread Blair
...$(var.myvar)... candle ... -dmyvar=123 ... -Original Message- From: Thorsten Schöning [mailto:tschoen...@am-soft.de] Sent: Wednesday, October 14, 2009 11:43 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Compile a project with used, but not speci

Re: [WiX-users] How does a votive project pass variables to candle?

2009-10-14 Thread Blair
Thanks, Dave __ Information from ESET NOD32 Antivirus, version of virus signature database 4507 (20091014) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Come build with

Re: [WiX-users] How does a votive project pass variables to candle?

2009-10-14 Thread Dave Kolb
x86 and x64 and would like to simulate passing in the project variables. It runs candle via cmd.exe so I think I would be subject to a command line length limitation. Thanks, Dave __ Information from ESET NOD32 Antivirus, version of virus signature database 4507 (20091014) _

[WiX-users] How does a votive project pass variables to candle?

2009-10-14 Thread Dave Kolb
I tried looking at the wix.targets but do not understand msbuild adequately. Are the many var.Projectname.xxx and var.Solutionxxx variables passed in on the command line with -d or are they written to a .wxi file or does candle take special input for variable somehow besides the -d option? Seems un

[WiX-users] Types of variables question

2009-10-14 Thread Dave Kolb
I understand these variable types from the wix doc: $(env._NtPostBld) Gets the environment variable %_NtPostBld% $(sys.CURRENTDIR) Gets the system variable for the current directory $(var.A) Gets the variable A that was defined in this xml But what are these that I have seen i

Re: [WiX-users] Is there an easier way of adding nodes andattributes to an xml file?

2009-10-14 Thread Thomas Due
*Sigh* I was afraid you'd say something like that. Ok, I'll just have to figure it out then, and find a way to test for the existence of the node. My XPath level of expertise is a step shy of beginner ;) Thanks the input. /Thomas -Original Message- From: Blair [mailto:os...@live.com]

Re: [WiX-users] Installer screw up

2009-10-14 Thread John Lister
Blair wrote: > BTW, unless your condition is in the "MainExecutable" component you may want > to try not putting any children in your PatchFamily element. If PatchFamily > is empty it checks everything for inclusion. Otherwise it filters to only > include what is in that list. > Having originall

Re: [WiX-users] Installer screw up

2009-10-14 Thread John Lister
Blair wrote: > First, what was your commandline to pyro? You have to match the @Id of your > PatchBaseline element to the wixmst you supply from torch in your pyro > commandline (e.g. "-t Sample sample.wixmst"). Also your commandline to torch > should include "-p". > > Also, between your baseline a

[WiX-users] Fetching APPLICATIONFOLDER from CA fails with IndexOutOfRangeException

2009-10-14 Thread Dave Kolb
The following code get the following exception. Can I not fetch this property from my immediate custom action? Unfortunatley the session object has an indexer that cannot be enumerated so I'm at a loss as to what can be "indexed" from the sessin object! - Thanks, Dave public static Acti

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

2009-10-14 Thread Thorsten Schöning
Hello, I have an installer with typical, custom and complete installation. Some of my features are not installed at typical installation by setting a higher feature level, as recommended in the wix tutorial. I would now like to create a version of the installer with some of the custom features ena

Re: [WiX-users] help with error LGHT0204: ICE03:Invalid formatstring

2009-10-14 Thread Chris Jokinen
Ok, I got a successful compile using... ElementPath="/configuration/applicationSettings/RollCall.Properties.Settings /setting[...@key='project'[\]]/value/" I just figured it out when I got this last reply. ... default

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

2009-10-14 Thread Blair
ICE validations run the Windows Installer transaction engine (which is a singleton), but it doesn't seem to check for the public mutex first. The error messages returned as a result often don't make sense, however. The best fix is to add a validation extension that acquires the installation mutex

Re: [WiX-users] Criteria for Automatically Generated Component GUIDs

2009-10-14 Thread Blair
When CostFinalize makes the directory paths, it walks the directory hierarchy. For each directory identifier that does not already have a property with a value, it creates a property by appending the appropriate part of the DefaultDir column value to the path of the parent directory from the table

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

2009-10-14 Thread Kevin Gu
Hi, I've got this kind of error when building concurrently using 4 threads. Error executing ICE action 'ICE38'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wix.sourceforge.net/faq.html#Error217 for details and how to solve this

Re: [WiX-users] help with error LGHT0204: ICE03: Invalid formatstring

2009-10-14 Thread Blair
What do you want your XPath to look like when it reaches the XPath processor? This attribute goes into a "formatted" field (to allow for property references) so you have to work backwards from what XML/XPath wants to give it something that will make it "through the system". If you want "/configura

Re: [WiX-users] Installer screw up

2009-10-14 Thread Blair
First, what was your commandline to pyro? You have to match the @Id of your PatchBaseline element to the wixmst you supply from torch in your pyro commandline (e.g. "-t Sample sample.wixmst"). Also your commandline to torch should include "-p". Also, between your baseline and your upgraded you sho

Re: [WiX-users] Criteria for Automatically Generated Component GUIDs

2009-10-14 Thread Scott Palmer
Hmm.. interesting... I would have thought that was going to try to make a subdirectory in the CommonAppDataFolder, or just not be allowed because the implied tree structure of the XML elements conflicts. Thanks, Scott On Wed, Oct 14, 2009 at 11:48 AM, Blair wrote: > While it may "feel" backwar

Re: [WiX-users] Criteria for Automatically Generated Component GUIDs

2009-10-14 Thread Blair
While it may "feel" backwards in some way, you could try this: The rational is that TARGETDIR could end up anywhere (and may not be the same place on two different invocations of the installer) but CommonAppDataFolder and other "well known" locati

Re: [WiX-users] Reset Progress Bar

2009-10-14 Thread Blair
You must supply costing information for your CAs. -Original Message- From: Scharp, Craig [mailto:craig.sch...@zytax.com] Sent: Wednesday, October 14, 2009 7:48 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Reset Progress Bar Hi all, Wondering if an

Re: [WiX-users] two entries in ARP with major upgrade

2009-10-14 Thread Blair
Does version 2.0 also have features A & B (with the same names and in the same places in your feature tree)? If so, then in your UpgradeVersion element remove the RemoveFeatures attribute but keep the MigrateFeatures attribute. If version 2.0 does not have features A & B then you must accept that

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

2009-10-14 Thread Blair
It appears to be a failure in an action coming from your HealthCheckMergeModule.msm. You will need to check with the author of that MSM in order to diagnose that failure. -Original Message- From: Asterisk [mailto:ankit.9...@gmail.com] Sent: Wednesday, October 14, 2009 12:02 AM To: wix-u

Re: [WiX-users] Is there an easier way of adding nodes and attributes to an xml file?

2009-10-14 Thread Blair
The actions supplied with the toolset are of a necessity made as generic as possible to be applicable to as many users as possible. Each action needs to be testable to ensure that future code modifications won't break existing uses, and testing resources are not unlimited. Those things constrain th

Re: [WiX-users] Can we stop Major upgrade to uninstall some features?

2009-10-14 Thread Blair
To quote myself: "(which of course leaves the old product installed)". A & B are from the older installation. -Original Message- From: MYFLEX [mailto:shrinuen...@gmail.com] Sent: Tuesday, October 13, 2009 9:46 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Can we stop Ma

Re: [WiX-users] help with error LGHT0204: ICE03: Invalid formatstring

2009-10-14 Thread Chris Jokinen
No good, I tried "/configuration/applicationSettings/RollCall.Properties.Settings/setti...@ke y='project']/@value" ...and below, due to the visual studio stating that the square brace HAD to be escaped (it said this in the documentation as well)... "/configuration/applicationSettings/RollCall.Pr

Re: [WiX-users] Installer screw up

2009-10-14 Thread John Lister
Blair wrote > > If you have a lot of customers you will probably be better off > distributing > an MSP file which can be run right from your web site instead of requiring > a > special command-line like a minor upgrade MSI will. Cheers, this seems the best solution as it has been distributed a b

[WiX-users] Reset Progress Bar

2009-10-14 Thread Scharp, Craig
Hi all, Wondering if anyone knows how to reset, or change progressbar settings. As my install is running, the progress bar finishes before my CA's are done. So, it looks like the install is at 100% done, but several CA's have yet to run. Has anyone run into this, or know how to restart the pr

[WiX-users] Criteria for Automatically Generated Component GUIDs

2009-10-14 Thread Scott Palmer
What are the exact criteria for getting automatically generated GUIDs to work? I suspect this is related to my use of WIX_DIR_COMMON_DOCUMENTS (since there doesn't seem to be another way to get to that "standard" directory). I'm getting this error: error LGHT0231: The component 'indexComp' has a

Re: [WiX-users] Using wixlib to create standalone and merge module installations

2009-10-14 Thread Dave Mateer
Thank you so much for your help! Although I have not fully tested it, I think everything is working. I learned quite a lot in the process. In the hopes that this effort might be useful to others as they search the archives, I am posting my working wxs files below. (Working wixlib examples and do

Re: [WiX-users] Is there an easier way of adding nodes andattributes to an xml file?

2009-10-14 Thread Thomas Due
Thank you for the answer, but I was thinking of how to do it through WiX. There are quite a few variables I need to write to the xml file, so it would even more cumbersome to send them to a CA and writing the nodes and attributes through this. /Thomas -Original Message- From: Adnan Mian

[WiX-users] two entries in ARP with major upgrade

2009-10-14 Thread MYFLEX
In my product we have multiple features like A,B,C,D If in version 1.0 A, B are installed. in version 2.0 which is major upgrade, if I select C,D It is removing all the previous features and installing New features. But I want the old features to be as it is. for that in upgrade table I have give

[WiX-users] Clear button functionality to clear or reset input values from Edit box

2009-10-14 Thread danimian
Hi, user is giving input values and filling the form during installation. All values coming through Editbox, I want to make a clear button. If user push this button then all input values must be clear or reset. How to accomplish this functionality? This is my Control: The values i am getting in

Re: [WiX-users] error in german wxl file

2009-10-14 Thread Thorsten Schöning
Guten Tag Blair, am Dienstag, 13. Oktober 2009 um 15:51 schrieben Sie: > Please file a bug. Done: http://sourceforge.net/tracker/?func=detail&atid=642714&aid=2878666&group_id=105970 Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzi

[WiX-users] Let's talk about Burn- Curent state?

2009-10-14 Thread Tobi Ha
Hi WiX Developers, a recent entry on Robs Blog started exactly with the same Subject. (http://robmensching.com/blog/posts/2009/7/14/Lets-talk-about-Burn) So what is the state of this new WiX Tool? I closely follow development but it seems there was no progress during the last weeks. Is there an

Re: [WiX-users] Before= and After= vs. Execute=

2009-10-14 Thread Dave Kolb
Thanks Sebastian. This one is good too http://blogs.technet.com/alexshev/pages/from-msi-to-wix.aspx I have some reading to do! - Dave -Original Message- From: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] Sent: Wednesday, October 14, 2009 1:04 AM To: General discuss

Re: [WiX-users] Is there an easier way of adding nodes and attributes to an xml file?

2009-10-14 Thread Adnan Mian
Hi Thomas, for adding some nodes and attributes in already existing xml file you can write a custom action using XmlDoucument,XmlElement, XmlAttribute. If xml file not exist then it can be created using XmlWriter, for this purpose you can use FileStream. Best Regards Adnan 2009/10/14 Thomas Due

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

2009-10-14 Thread Asterisk
Blair-2 wrote: > > Not sure, but InstallUtil* is Self-Reg (aka evil). Visual Studio's setup > projects do several things that make deployment "easier" that invariably > cause headaches later on when you have to service/maintain those setups > (including broken upgrades, orphaned resources, fail