[WiX-users] atomic (un)install when using custom actions;

2010-11-19 Thread Bisht, Pradeep
I'm installing multiple drivers using custom actions inside a single setup.msi. Is there a way to make sure that (un)install is atomic. I need to support both client as well as window's server versions. Thanks.  ---

[WiX-users] Visual Studio environment variable testing

2010-11-19 Thread gapearce
Is there a way to query the _MSC_VER visual studio preprocessor variable while building a WiX project using Votive? We changed the locations of some files when we went to VS2010, but we still have to build under vs2008, and I'd like to do some conditional fragment includes based on what version o

[WiX-users] RegistrySearch for REG_DWORD handling using WiX Installer

2010-11-19 Thread Brian Pang
Hi, RegistrySearch for REG_DWORD handling using WiX Installer. After the RegistrySearch it returns REG_SZ with "#1". How do you resolve this issue so it will set the return type to an REG_DWORD and value of 1? Thanks in advance!

Re: [WiX-users] Is it possible to show features in the FeatureDlgconditionally?

2010-11-19 Thread Deepika Gakhar
Thanks a lot Mike, I understand that I need to run CostFinalize again, but wanted to know if there is a way to schedule it between 2 UI dialogs. As I explained earlier, one of the dialogs takes user input, based on the which I set the property according to which the feature conditions are evalua

Re: [WiX-users] Next button referencing WixUI_InstallerDir

2010-11-19 Thread Alex McCool
I had the "next" button incorrect in my dialog. Here's the new definition. LicenseAccepted = "1" -Original Message- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: Friday, November 19, 2010 2:32 AM To: General discussion for Windows Installer XML

Re: [WiX-users] Is there a way to restore original xml after uninstalling a component that sets value using XmlFile?

2010-11-19 Thread Deepika Gakhar
Thank you very much for your response. I always want to restore the inner text of element to "false". XmlConfig element doesn't seem to support "setvalue" Action as does the XmlFile element. So I tried to do this in 2 steps: 1. Delete the node during uninstall using XmlConfig and set the sequ

Re: [WiX-users] Heat harvesting

2010-11-19 Thread Neil Sleightholm
When I looked at the code I found it was not easy to do. There is an open bug for it: http://sourceforge.net/tracker/index.php?func=detail&aid=2998492&group_i d=105970&atid=642714. Neil -Original Message- From: Stelios Kyprou [mailto:stelios.kyp...@formicary.net] Sent: 19 November 2010 1

[WiX-users] Heat harvesting

2010-11-19 Thread Stelios Kyprou
Hello all, This must have been asked S many times, but anyway here I go... WHY doesn't Heat harvest assemblies used by referenced projects within Visual Studio? Are there valid reasons? I tried finding some on the web with no success. I am using 3.5.2312.0 Thanks in advance, Shtel ---

[WiX-users] First WiX 3.6 installation experience

2010-11-19 Thread Yan Sklyarenko
Hello people, I've just installed the most recent build of WiX v3.6 (3.6.1112.0), and here's what I noticed: - the installation went longer than it was for 3.0/3.5 builds, as for me - the bootstrapper UI is quite ugly, but that's acceptable for an early build :-) - after installation

Re: [WiX-users] Is it possible to show features in the FeatureDlgconditionally?

2010-11-19 Thread MikeR
A couple of additional notes as I've attempted to do this in the past. 1. Setting a feature's level to 0 will disable it so it will not displaly on the feature selection control. This disables the feature permanently - you will never be able to install that feature without uninstalling/reinstall

[WiX-users] Wix 3.5 RC Votive

2010-11-19 Thread Stelios Kyprou
Hello there! Does Votive in wix 3.5 rc support auto harvesting binaries now from referenced projects? If yes, do I have to define it somewhere apart from setting "Harvest" to true and Project Output Groups to e.g. All? T

Re: [WiX-users] Is it possible to show features in the FeatureDlgconditionally?

2010-11-19 Thread Pally Sandher
According to MSDN a Feature with Level="0" isn't displayed (http://msdn.microsoft.com/en-us/library/aa368585(v=VS.85).aspx) Hence you could try using the Property your RadioButtonGroup sets as Feature Conditions for your 2 main Features & set the Level to 0 using mutually exclusive Conditions. e.g.

Re: [WiX-users] Is there a way to restore original xml after uninstalling a component that sets value using XmlFile?

2010-11-19 Thread Pally Sandher
If you always want to restore it to "false", XMLConfig can be used to set a value on uninstall. See http://wix.sourceforge.net/manual-wix3/util_xsd_xmlconfig.htm If you want to store what it is before installation & then restore that value, you'll need to use a Custom Action to read it then use a

Re: [WiX-users] Next button referencing WixUI_InstallerDir

2010-11-19 Thread Pally Sandher
Because you're using LicenseAgreementDlg already has Publish events for the Next button set up. To make it work like you would like see http://wix.sourceforge.net/manual-wix3/WixUI_customizations.htm section headed "Inserting a custom dialog into a built-in dialog set" and/or http://neilsleighthol

Re: [WiX-users] Deploying sql server express

2010-11-19 Thread Tobias S
For the unattended deploying of SQL 2005 Express or also SQL 2008 R2 Express I highly recommend to not do that if you do not want to run into a support nightmare! For us we have implemented such a solution in an MSI Installer (UI sequence to chain it) and it works in our testing environment well.