[WiX-users] How to refer WIX properties within .wxs files

2010-09-15 Thread Vishwajit Walke
Hi, There is a specific requirement of copying a xml file "ClientAccessPolicy.xml" to the path "C:\Inetpub\wwwroot\wss\VirtualDirectories\InstallationPortNumber". The only thing I'm stuck at is how to refer the WIX Property "INSTALL_SHAREPOINT_PORT" in the highlighted region below :

Re: [WiX-users] Can msi external ui write to the MSI properties?

2010-09-15 Thread Pratapa Reddy Sanaga
I'm just making sure I verify all possibilities to show a UI and capture my design decision in the doc... 1. UI in the bootstrapper exe itself - I'm currently thinking this is the most feasible solution. 2. UI as msi external UI - As we discussed, problems with writing back properties to the MSI.

Re: [WiX-users] Can msi external ui write to the MSI properties?

2010-09-15 Thread Wilson, Phil
That's correct, it will have started, but if you're following a model where you collect data in your own UI and start the install you have an opportunity to set the properties on the install command line. I don't see why you would try to set properties from your callback - it seems non-determini

Re: [WiX-users] Can msi external ui write to the MSI properties?

2010-09-15 Thread Pratapa Reddy Sanaga
By calling MsiOpenPackage or MsiOpenDatabase, I'm getting error 1618 when I call MsiInstallProduct. The example in MSDN gets around this issue by calling MsiDoAction(hProduct, "") which will execute the default "Install" action. I will not be able to take that route because I need to pass command l

Re: [WiX-users] FeatureSelection Dialog

2010-09-15 Thread Umeshj
There is a typo in the post which is not present in the actual code. This was a result of copy and paste. Markup should read as: " TabSkip="no" Default="yes" > NOT((&FeatureA=3) OR (&FeatureB=3)) (&FeatureA=3) OR (&FeatureB=3) 1 1 My apologies for the typo. Umesh Umeshj wrote:

[WiX-users] FeatureSelection Dialog

2010-09-15 Thread Umeshj
Hi, In our feature selection dialog we are using SelectionTree control. The selection tree shows only two features: featureA and featureB. When no feature is selected the 'Next' button should not allow the user to continue further. It should be disabled. Here is the relevant markup for 'Next' b

[WiX-users] ICE Validation and MSI failure 2738

2010-09-15 Thread Anthony Wieser
I've been through aaron and heath's fixes, for the vbscript problem, that occurs with ICE 08, etc, but unfortunately, my Vista machine is no longer running the VB Script validations. I tried reregistering vbscript and jscript, but to no avail. I'm running on 32 bit vista business, and am in a l

Re: [WiX-users] Can msi external ui write to the MSI properties?

2010-09-15 Thread Pratapa Reddy Sanaga
The install would have already started if my external UI is being executed right? i.e. the callback would occur only after I call the InstallProduct API from my bootstrapper exe, so I don't have any more chance of passing in a command line argument I guess. I'll try using the context to set the pr

Re: [WiX-users] Can msi external ui write to the MSI properties?

2010-09-15 Thread Wilson, Phil
If you haven't started the install yet, you could pass those properties on the command line. Alternatively, the first parameter in the UIHandler callback ("context") is (can be cast to) the MSIHANDLE for the install. The example callback in MSDN casts it to an MSIHANDLE when it calls MsiFormat

[WiX-users] Can msi external ui write to the MSI properties?

2010-09-15 Thread Pratapa Reddy Sanaga
Hi, I'm trying to see if I can use msi external ui for my project. Will I be able to get an input from the user using msi external ui and then store that, lets say string, input from the user into one of the msi properties? I feel it can't be done because the external ui would probably be running

Re: [WiX-users] not able to access unc locations in deffered custom actions

2010-09-15 Thread Christopher Painter
Your CA is running as System which will use different authentication credentials to try to access the network then those that you are logged in with.   Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E

Re: [WiX-users] Set Value of Edit Control on ComboList Change

2010-09-15 Thread Kevin Garman
Hmm, that's sad...I was afraid of that. Thanks much, Kevin On Wed, 2010-09-15 at 11:26 -0700, Christopher Painter wrote: > Windows Installer UI capabilities is very limited here. Short of putting the > Combo on one dialog and your Edit on the next or throwing it all out the > window > and

Re: [WiX-users] not able to access unc locations in deffered custom actions

2010-09-15 Thread Wilson, Phil
What is the "other part of the installer"? If it's in the UI or other code running as the installing user I can guess it might be fine, but with impersonation turned off you're running with the system account, and that rarely has any network privileges. Phil Wilson -Original Message-

[WiX-users] not able to access unc locations in deffered custom actions

2010-09-15 Thread Sanjay Rao
Hi, I have a deffered custom action( with Impersonate=no) in my installer which copies a file from local location to unc location(network path). I am not able to access this unc location in this custom action while I am able to access same unc location in other part of the installer. Regards,

Re: [WiX-users] how to parse OriginalDatabase

2010-09-15 Thread Fabio Di Lorenzo
You'll need a custom action. a vbscript during the immediate sequence should do the job. regards, fabio Session.Property("PATHTOMSI") = Session.Property("OriginalDatabase") On Wed, Sep 15, 2010 at 10:21 PM, Major shao wrote: > Can someone kindly share the wix code about how to parse the MSI >

[WiX-users] how to parse OriginalDatabase

2010-09-15 Thread Major shao
Can someone kindly share the wix code about how to parse the MSI property OriginalDatabase so that i can get the parent dir of the msi? Thanks Shao -- Start uncovering the many advantages of virtual appliances and start

Re: [WiX-users] General discussion for Windows Installer XML toolset.

2010-09-15 Thread Yan Sklyarenko
If you plan to patch these files separately, I would suggest having 1 file per component. This will automatically make each file a KeyPath of its component and you'll be able to patch naturally. OffTopic: BTW, it would be great for the subject not to be generic, but reflect the basic idea of the p

Re: [WiX-users] WiX 3.6

2010-09-15 Thread Yan Sklyarenko
This should answer your question: http://robmensching.com/blog/posts/2010/9/6/Burn-baby.-Burn I suggest you'd better subscribe to Rob's blog - it is the source of the most recent news in WiX area. -- Yan -Original Message- From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com] Sent: Wednes

Re: [WiX-users] light.exe -ai switch questions

2010-09-15 Thread jhennessey
I think I figured out why I get the duplicate symbols when building now. It seems that lit.exe includes all project references in the resulting library(?) I don't think it should be this way though. I think that a library's project references should just be passed to light.exe when building your

[WiX-users] util:XmlFile "LGHT0204: ICE03: Invalid format string; "

2010-09-15 Thread Michael_A
Hi, I'm getting the following error "LGHT0204: ICE03: Invalid format string;" in my Element path http://schemas.microsoft.com/practices/2010/unity'[\]][\[]1[\]]/*[\[]local-name()='container' and namespace-uri()='http://schemas.microsoft.com/practices/2010/unity'[\]][\[]1[\]][\[]/*[local-na

Re: [WiX-users] Set Value of Edit Control on ComboList Change

2010-09-15 Thread Christopher Painter
Windows Installer UI capabilities is very limited here.  Short of putting the Combo on one dialog and your Edit on the next or throwing it all out the window and using an external UI handler your going to find it impossible to do what you want.   Christopher Painter, Author of Deployment Engine

[WiX-users] Set Value of Edit Control on ComboList Change

2010-09-15 Thread Kevin Garman
Hi All, I have a Combobox on my UI. I want to be able to select something from the combobox and populate an Edit field with a default value that is based on the new value selected in the ComboBox. It seems like publish/subscribe would be what I want, but I can't find any events to publish from a

[WiX-users] General discussion for Windows Installer XML toolset.

2010-09-15 Thread Oleksandr Y. Nechyporenko
Hi All, I have a following question. I have component: Now when I try to create patch in next version, I've changed the InnerPageHeader.html file. During patch creation I've received the warning that InnerPageHeader

Re: [WiX-users] ComboBox question

2010-09-15 Thread Christopher Painter
I had a very similar question asked on Stack Overflow the other day: http://stackoverflow.com/questions/3712185/how-do-i-set-the-selected-item-in-an-msi-combo-box-that-has-been-filled-from-a-cu This is the same problem but approached from the other directory.  When you select a combobox item th

[WiX-users] ComboBox question

2010-09-15 Thread Michael_A
Sorry for the repeat question as I have seen this question before just never a complete answer. I have a CA that executes in the InstallUiSequence that gets a list of SQL Servers and populates a ComboBox but when the ComboBox is displayed it’s empty, If I click the dropdown all the SQL Instances

[WiX-users] WiX 3.6

2010-09-15 Thread Alex Ivanoff
What is WiX 3.6? If we are currently on 3.5 should we switch to 3.6? -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud c

Re: [WiX-users] Compile error using ManagedPipelineMode attribute

2010-09-15 Thread John L Krupka
Thanks. Bug 3066897 has been entered. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Compile-error-using-ManagedPipelineMode-attribute-tp5527954p5534623.html Sent from the wix-users mailing list archive at Nabble.com.

[WiX-users] Error importing table '_SummaryInformation'

2010-09-15 Thread pcristini
Receiving this error when running light: There was an error importing table '_SummaryInformation' from file 'C:\Users\pcristini\AppData\Local\Temp\rczjb4xq\_SummaryInformation.idt'. C:\Users\pcristini\AppData\Local\Temp\rczjb4xq\_SummaryInformation.idt Here's the command line being run through V

Re: [WiX-users] Undefined Preprocessor Variable

2010-09-15 Thread pcristini
This was the key. Thanks Dave -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Undefined-Preprocessor-Variable-tp5531578p5534440.html Sent from the wix-users mailing list archive at Nabble.com. --

Re: [WiX-users] Registering performance counters on 64-bit system

2010-09-15 Thread Bob Arnson
On 14-Sep-10 18:46, Wix User wrote: > The DLL and the manifest files are located under system32\. I > notice that 32-bit MsiExec.exe and Lodctr.exe are invoked to register the > performance counters. These processes are not able to see the files under > the system32 folder. So the installat

Re: [WiX-users] Compile error using ManagedPipelineMode attribute

2010-09-15 Thread Bob Arnson
On 13-Sep-10 16:49, John L Krupka wrote: > error CNDL0038: The iis:WebAppPool/@User attribute's value, 'AdminUserReg', > cannot be specified without attribute Identity present with value 'other'. Please file a bug. Looks like a simple bit check error. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] properties in merge modules

2010-09-15 Thread Christopher Painter
BTW-  If you ever want a sympathetic ear for merge module support, just hit me up.  I have probably literally taken merge modules farther then anyone else in the world.   There isn't much I haven't seen and done with them. http://blog.deploymentengineering.com/2010/09/in-defense-of-merge-modul

Re: [WiX-users] properties in merge modules

2010-09-15 Thread Christopher Painter
You can suppress modularization by using soemthing like: Now the compiler will know that [QtExecCmdLine] refers to QtExecCmdLinenot QtExecCmdLine.GUID. But there's a bigger problem.  This will define it in the property table and if other merge modules want to make use of this property you are

Re: [WiX-users] Undefined Preprocessor Variable

2010-09-15 Thread Bob Arnson
On 14-Sep-10 14:51, pcristini wrote: > I'm trying to use the variable in the main Product.wxs file and a couple > other referencing wxs files like this: > > > Any ideas why this value would not be working? Your code didn't come through. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Missing Files

2010-09-15 Thread Bob Arnson
On 13-Sep-10 09:35, Ken Powers wrote: > C:\delivery\Dev\wix36_public\src\ext\UIExtension\wixlib\ResumeDlg.wxs(18,0): > error LGHT0197: The Windows Installer XML variable > !(wix.WixUICostingPopupOptOut) is unknown. Please ensure the variable > is declared on the command line for light.exe, via a

Re: [WiX-users] Light error for COM dll with multiple prog id's for thesame class

2010-09-15 Thread Bob Arnson
On 14-Sep-10 09:21, Renegade Angel wrote: > -> If key exists in hashtable generate a new key (actually I just append _1, > _2, ... if necessary) and change it in setup.wixobj You've almost guaranteed you can't patch and will run into upgrade problems. Can you open a bug on the underlying probl

[WiX-users] properties in merge modules

2010-09-15 Thread Hinrich Aue
Hello group, I have a problem with QtExec. I am setting the "QtExecCmdLine" property and all that - like described in http://wix.sourceforge.net/manual-wix3/qtexec.htm but the property gets renamed too: "QtExecCmdLine.moduleguid" this is because it is in a merge module. I know that fragments ar

Re: [WiX-users] Undefined Preprocessor Variable

2010-09-15 Thread David Watson
You need to ?include the wxi in every wix file that uses things defined in it. Dave -Original Message- From: pcristini [mailto:pcrist...@paretoplatform.com] Sent: 14 September 2010 19:51 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Undefined Preprocessor Variable I'm gettin

Re: [WiX-users] Optional Install or Upgrade

2010-09-15 Thread Peter Shirtcliffe
I've seen this behaviour in Java runtime installers. It caused me some headaches when deploying it as a prerequisite for our products because the product code for the same MSI differs depending on whether you install in parallel or as an upgrade. This leads me to suspect that a transform is applied

Re: [WiX-users] Optional Install or Upgrade

2010-09-15 Thread Pally Sandher
That seems like a rather nebulous requirement. In my experience packages either live side-by-side with older versions or they upgrade older packages, not both. I don't think it's going to be easy conditionally doing either using default Windows Installer behaviour. The Upgrade Table allows you to

Re: [WiX-users] wix install on C:\Program Files and C:\Windows\System32 directory.

2010-09-15 Thread Castro, Edwin G. (Hillsboro)
How about this? ... And -Original Message- > From: Renegade Angel [mailto:renegade.an...@gmail.com] > Sent: Tuesday, September 14, 2010 11:45 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] wix install on C:\Program Files and > C:\

Re: [WiX-users] wix install on C:\Program Files and C:\Windows\System32 directory.

2010-09-15 Thread Beekeeper
Thank you! that work well! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/wix-install-on-C-Program-Files-and-C-Windows-System32-directory-tp5530934p5533304.html Sent from the wix-users mailing list archive at Nabble.com. -

Re: [WiX-users] Registering performance counters on 64-bit system

2010-09-15 Thread Fabio Di Lorenzo
Did you adjust the Platform Value to x64? Regards, Fabio On Wed, Sep 15, 2010 at 12:46 AM, Wix User wrote: > > Hello, > > I am trying to register a performance counter manifest using > PerfCounterManifest element from the utility extension. My wix file looks > like this: > > Guid="54567214-A19