Re: [WiX-users] Heat.exe

2010-09-23 Thread David Amey
Thankyou Bob, This now works fine! Is it possible to set the variable within the main.wxs file so that candle picks up the value though? Sorry if this is a stupid question! -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: 23 September 2010 01:32 To: wix-users@lis

Re: [WiX-users] How does patching decide which files to includein msp?

2010-09-23 Thread Pally Sandher
In my defence Bob I wrote my patching code when I was using WiX 2.0 thus the only method available to me was the PatchWiz method. When I moved over to using WiX 3.0 I looked at the Pyro method as the idea of using purely WiX appealed but as time isn't infinite when software releases are concerned I

Re: [WiX-users] Sub-feature in separate wxs file

2010-09-23 Thread Pally Sandher
You have to reference the "F.Plugin.Users.Sync" Feature in the "F.Plugin.Users" Feature (as this is referenced in the "F.Plugins" feature) for that tree to work. As Bob A says, the problem here is your trying to refer to a parent feature in a child fragment & WiX doesn't work like that (references

Re: [WiX-users] Question with performance on installer using cab files

2010-09-23 Thread Pally Sandher
Windows Installer makes calls to the Cabinet API to decompress your cab files. Other than using multiple cabs in your package I don't think there's much you can do to change Windows Installer behaviour using WiX. As the first read to the start of the cab file isn't always at the same place & is alw

Re: [WiX-users] XmlConfig not referencing other XmlConfig elements

2010-09-23 Thread Pally Sandher
It may be caused by the use of "." in your ElementPath's. XPath syntax uses "." to select the current node. See -> http://www.w3schools.com/XPath/xpath_syntax.asp Also if you're editing/modifying/creating attributes of your XMLConfig elements, use ElementId to refer to them. See -> http://wix.sour

[WiX-users] Component installation status not affected by condition?

2010-09-23 Thread Mark Simonetti
Hi, I have a custom dialog box that contains checkboxes to allow the user to select what shortcuts they want installing. I then have a component for each shortcut with a condition inside it. INSTALLDESKTOPSHORTCUT The problem is if I run the setup again and change these conditions (via

Re: [WiX-users] Component installation status not affected by condition?

2010-09-23 Thread Pally Sandher
Set Transitive="yes" on those Components -> http://wix.sourceforge.net/manual-wix3/wix_xsd_component.htm Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environm

[WiX-users] GUI: language selector

2010-09-23 Thread David Amey
Does anyone know how I could create a drop down selection for languages, used to localise an install? Thanks! David Amey The Creative Engine Ltd Almac House, Church Lane, Bisley, Surrey, GU24 9DR T: +44 (0)1483 799200 F: +44 (0)1483 799111 -

Re: [WiX-users] Command LineParameterstoDeferred CustomAction on Vista

2010-09-23 Thread Matt Walker
OK, let me know if I got the concept now. Here's what I did... Made sure OURVERSION property was added to SecureCustomProperties. Created Two Deferred Custom Actions... One passes [OURVERSION] as a command line parameter for an .exe. The other uses VBScript to display Session.Prop

[WiX-users] Any ideas on this one?

2010-09-23 Thread Nicky Fox
Hi there, Anyone have any ideas on this one: I run appcmd from a custom Action in wix as follows: Called As Follows: NOT Installed IIS7 / Server 2008 setup. Everything was working fine but now any action which calls appcmd just falls over with: A program required for this install to com

Re: [WiX-users] Component installation status not affected by condition?

2010-09-23 Thread Mark Simonetti
Thanks Pally. It doesn't seem to be working for some reason, whether the initial install has them turned off or on, I never seem to be able to change it. Everything I've read seems to indicate that it should work so I'll look over it all again - but in the meantime, here is what I have: IN

[WiX-users] gui

2010-09-23 Thread David Amey
Does anyone know how I could create a drop down selection for languages, used to localise an install? Thanks! David Amey The Creative Engine Ltd Almac House, Church Lane, Bisley, Surrey, GU24 9DR T: +44 (0)1483 799200 F: +44 (0)1483 799111 -

Re: [WiX-users] gui

2010-09-23 Thread Bruce Cran
On Thu, 23 Sep 2010 15:35:21 +0100 "David Amey" wrote: > Does anyone know how I could create a drop down selection for > languages, used to localise an install? I think you'd need to use a bootstrapper. I know dotnetinstaller from http://dotnetinstaller.codeplex.com can do it. -- Bruce Cran -

Re: [WiX-users] XmlConfig not referencing other XmlConfig elements

2010-09-23 Thread pcristini
I've updated my code to take out the "." from anything that is a path. Here's what I'm using now... This is what the log file is dumping as the command: MSI (s) (94!E8) [09:02:00:710]: PROPERTY CHANGE: Adding ExecXmlConfig property. Its value is '1€C:\Program Files (x86)\Pareto Systems\

Re: [WiX-users] gui

2010-09-23 Thread Dave Brotherstone
> > "David Amey" wrote: > > > Does anyone know how I could create a drop down selection for > > languages, used to localise an install? > > Depending on your requirements, MSI can do this for you, selecting the language from the OS language settings - it involves embedding a transform named .mst i

Re: [WiX-users] How does patching decide which files to includeinmsp?

2010-09-23 Thread Travis Gaff
Oleksandr Y. Nechyporenko: >What is the way to extract msp without apply patch? Install 7-zip and right-click the .msi/.msp file to extract it. Inside you'll find the cab. > Travis have you tried using the PatchWiz method? I'm trying to work out a patchwiz patch right now. Not sure if there's

Re: [WiX-users] XmlConfig not referencing other XmlConfig elements

2010-09-23 Thread pcristini
I just tried doing the same thing with xmlfile (what is the difference between the two?) as below: with a config file that started out like this: and resulted in this (notice the extra empty elements):

Re: [WiX-users] XmlConfig not referencing other XmlConfig elements

2010-09-23 Thread pcristini
sorry, resending without html encoding I just tried doing the same thing with xmlfile (what is the difference between the two?) as below: with a config file that started out like this: and resulted in this (notice the extra empty elements):

Re: [WiX-users] XmlConfig not referencing other XmlConfig elements

2010-09-23 Thread pcristini
I just tried doing the same thing with xmlfile (what is the difference between the two?) as below: with a config file that started out like this: and resulted in this (notice the extra empty elements):

[WiX-users] How to author a type 50 custom action that targets a binary stream

2010-09-23 Thread Jacques Eloff
Hi I'm trying to author a custom action that executes a command and uses a file that's carried as a binary stream as input to the command. Basically, I want my MSI to just execute a custom action on this file. It won't install anything physically to disk. I keep running into ICE03 - "Not a valid

Re: [WiX-users] How does patching decide which files to includein msp?

2010-09-23 Thread Tony Juricic
Yeah, I feel bad too. I mailed some initial trials errors to Peter Marcu and never found the time to investigate in more details and file an official bug report. -Original Message- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: Thursday, September 23, 2010 5:31 AM To: Genera

[WiX-users] BadImageFormatException, Microsoft.Deployment.WindowsInstaller

2010-09-23 Thread Gary Gocek
I'm building a project on Win 2008 Server 64-bit, using TFS 2010 build services and Visual Studio 2010. All projects in the solution are for VS 2010 and .NET Framework 4 (recently converted from VS 2008 and .NET 3.5). The projects are set for "Any CPU" (so the Platform property in the .csproj files