[WiX-users] issue with a condition

2010-11-15 Thread Sean Farrow
Hi: In an install I am writing I have the following property: On my machine this parent key exists but the default key of type res_sz is not set to anything. I then have the following in my On my machine the product is installed, but I k

Re: [WiX-users] avoiding GUID decoration in merge module property name

2010-11-15 Thread Rob Mensching
Property/@SuppressModularization documentation says: SuppressModularization YesNoType Use to suppress modularization of this property identifier in merge modules. Using this functionality is strongly discouraged; it should only be necessary as a workaround of last resort in rare scenarios. On M

[WiX-users] avoiding GUID decoration in merge module property name

2010-11-15 Thread Alan Sinclair
I need to set a property "MYSPECIALDATA" in a merge module, but the property name cannot have a guid appended because MYSPECIALDATA is read later by the consuming MSI (which doesn't know guids). Is there any way this can be done in WiX 3? I'd like to use a type 51 custom action to set the prop

Re: [WiX-users] $(env.ProgramFiles) is set incorrectly on non-US WinXP?

2010-11-15 Thread Andrei Korostelev
Thanks, it explains everything. Andrei > $(env.ProgramFiles) is a pre-processor variable. Candle expands the value at > compile time replacing it with the value of the environment variable of the > compilation system rather than the target system. > > [ProgramFilesFolder] is a Windows Installer

Re: [WiX-users] $(env.ProgramFiles) is set incorrectly on non-US WinXP?

2010-11-15 Thread Andrei Korostelev
Thanks, Blair, Very clear explanation. Build machine is US with regular "C:\Program Files" of course The question closed Adrei > Generally speaking, $(env.ProgramFiles) captures the value of the > environment variable %ProgramFiles% on the BUILD machine, and > [ProgramFilesFolder] provides the 32

Re: [WiX-users] Creating virtual directories to UNC shares

2010-11-15 Thread Johanna Hawkins (ORTIZ)
How do I set a pre-defined directory to be configured to use a UNC share? Note that I want my web site to be installed to a local path, but I want the virtual directories under my web site to point to a network path. I tried also using a mapped network drive, but I get a validation error. This i

Re: [WiX-users] XmlConfig's dependency on MSXML

2010-11-15 Thread Christopher Painter
 I've gotten spoiled in using .NET / Linq-to-XML. In an unmanaged world, what else would you suggest WiX use? (Seriously, I don't know the alternatives anymore.)  I think I recall InstallShield has the same dependency.   If there is no other choice, perhaps you could author an AppSearch and La

Re: [WiX-users] Creating virtual directories to UNC shares

2010-11-15 Thread Blair
The FileSource attribute to the Directory element provides a hint to the toolset where to find the files that you place in components that are installed to that directory. Its value is not preserved in the MSI anywhere and thus is only available at build time, not at runtime. The directory tree do

Re: [WiX-users] $(env.ProgramFiles) is set incorrectly on non-US WinXP?

2010-11-15 Thread Blair
Generally speaking, $(env.ProgramFiles) captures the value of the environment variable %ProgramFiles% on the BUILD machine, and [ProgramFilesFolder] provides the 32-bit Program Files folder on the INSTALLING machine (runtime, so to speak). The two variables really have nothing to do with each other

Re: [WiX-users] $(env.ProgramFiles) is set incorrectly on non-US WinXP?

2010-11-15 Thread Castro, Edwin G. (Hillsboro)
$(env.ProgramFiles) is a pre-processor variable. Candle expands the value at compile time replacing it with the value of the environment variable of the compilation system rather than the target system. [ProgramFilesFolder] is a Windows Installer property that is expanded at install time on the

[WiX-users] XmlConfig's dependency on MSXML

2010-11-15 Thread Jeff Buda
Is there any chance that the XmlConfig Wix-provided custom action will be reimplemented without the use of MSXML? We started using XmlConfig in my product's most recent release, and based on customer feedback, XmlConfig's use of / dependency on MSXML has turned our product's installer into an "inva

[WiX-users] $(env.ProgramFiles) is set incorrectly on non-US WinXP?

2010-11-15 Thread Andrei Korostelev
I bumped into the following problem on WinXP German. The Windows environment variable %ProgramFiles% correctly points to "C:\Programme" (checked using "set" command). However wix expands $(env.ProgramFiles) as "C:\Program Files" i.o. "C:\Programme" Replacing $(env.ProgramFiles) with [ProgramFil

[WiX-users] Creating virtual directories to UNC shares

2010-11-15 Thread Johanna Hawkins (ORTIZ)
I need to create a virtual directory within my application that points to a UNC share in another machine. Is this supported or should I use a custom action for this? I tried this but it didn't work, the virtual directory got created to the local path, not the UNC share:

Re: [WiX-users] CloseApplication issue

2010-11-15 Thread vunder
Message was shown when I used WiX 3.5. I try to compile msi with WiX 3.6 and there was no message! Hurray!!! So on WiX 3.6 there is no problem! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/CloseApplication-issue-tp5731506p5739838.html Sent from t

Re: [WiX-users] WIXUI_INSTALLDIR and remembered properties

2010-11-15 Thread Pally Sandher
It doesn't as far as I know unless you store the it in ARPINSTALLLOCATION. You can't use that method for any other properties. If you're not explicitly putting it in there then you're likely seeing the same default path being generated whenever you run your MSI. If you want to store & retrieve you