Re: [WiX-users] Conditions on a Fragment

2011-09-05 Thread Anil Patel
conditions ( Condition element nested under a > Component element ) and the VersionNT property. > > ---- > > From: "Anil Patel" > > Sent: Monday, September 05, 2011 9:29 AM > > To: "General discussion for Windows In

[WiX-users] Conditions on a Fragment

2011-09-05 Thread Anil Patel
Hello, I have a number of fragments say A, B & C. What I would like to do is to install fragment A if the the OS is Windows 7, install fragment B if the OS is Win XP and install fragent C if its Windows Vista. So its a selective install of fragments based on OS. I thought of using a condition el

Re: [WiX-users] Identifying Features that have been installed

2011-08-25 Thread Anil Patel
e date, > the > API functions could return an error code that is not within your enum's > legal > set of values. Stick with an int. > > -----Original Message- > From: Anil Patel [mailto:apatel...@googlemail.com] > Sent: 25 August 2011 16:43 > To: General discussion for

Re: [WiX-users] Identifying Features that have been installed

2011-08-25 Thread Anil Patel
The numeric codes for the symbolics can be looked up here but I'm sure there is a way to get the Enums for them. http://msdn.microsoft.com/en-us/library/18d8fbe8-a967-4f1c-ae50-99ca8e491d2d(PROT.10).aspx On Thu, Aug 25, 2011 at 4:26 PM, Anil Patel wrote: > Hi Peter & James,

Re: [WiX-users] Identifying Features that have been installed

2011-08-25 Thread Anil Patel
6(v=VS.85).aspx On Thu, Aug 25, 2011 at 3:33 PM, James Johnston wrote: > You could always use the COM library if you're not comfortable with the C > API calls. Add a COM reference to "Microsoft Windows Installer Object > Library" to your project... > > Installe

Re: [WiX-users] Identifying Features that have been installed

2011-08-25 Thread Anil Patel
ere might be an Enum for them but I can't locate them. Again any help would be appreciated. Regards, Anil. On Thu, Aug 25, 2011 at 11:13 AM, Peter Shirtcliffe wrote: > MsiEnumFeatures() > http://msdn.microsoft.com/en-us/library/aa370098%28v=vs.85%29.aspx > > > -Origina

[WiX-users] Identifying Features that have been installed

2011-08-25 Thread Anil Patel
Hello, I have a configuration program that is run manually by a user (following a new install or a change to an existing installation) which allows the user to configure the installed features. There is a requirement to disable the configuration of features not installed by the user. The questio

Re: [WiX-users] SFC: The following key was not removed, because it is protected by Windows

2011-08-15 Thread Anil Patel
g them and having them registered via the Class table, or have > those entries in the Registry table. Maybe they're coming in from merge > modules. I'd look in the MSI file (with Orca) and do a search. > > > Phil Wilson > > -Original Message- > From: Anil Pa

[WiX-users] Shortcut Entries

2011-08-15 Thread Anil Patel
Hello, I have a situation where on one machine the installer creates the shortcut entry for my application on the Start Menu but it doesn't on another. In both cases, the application installed ok - no errors in the verbose MSI log. Can anyone shed any light on this? Are shortcut entries held in

Re: [WiX-users] SFC: The following key was not removed, because it is protected by Windows

2011-08-12 Thread Anil Patel
1 at 8:32 AM, Anil Patel >wrote: > > > Hello, > > > > I have just started receiving a whole bunch of these errors whilst > > uninstalling the S/W on my machine. The uninstall then goes on to fail. > > > > They relate to registry that I wouldn't dream

[WiX-users] SFC: The following key was not removed, because it is protected by Windows

2011-08-12 Thread Anil Patel
Hello, I have just started receiving a whole bunch of these errors whilst uninstalling the S/W on my machine. The uninstall then goes on to fail. They relate to registry that I wouldn't dream of removing. Eg MSI (s) (08:94) [16:06:34:086]: SFC: The following key was not removed, because it is

Re: [WiX-users] Multiple RadioButtonGroup controls in the same dialog

2011-08-03 Thread Anil Patel
I was using groupbox's to embed each radiobuttongroup and the there was an overlap of these which led to the problem. Thanks for your offer of help anyway. On Tue, Aug 2, 2011 at 8:11 PM, Nick Ramirez wrote: > Could you show the markup you're using for the controls? > > -- > View this message

[WiX-users] Multiple RadioButtonGroup controls in the same dialog

2011-08-02 Thread Anil Patel
Hello, I have placed 2 radiobuttongroup controls in the same dialog but the radio buttons in the second group appear to be disabled and so the selection can't be changed. The radio buttons in the first group work fine. Can anyone please explain what I am doing wrong? Thank you, Anil. --

Re: [WiX-users] Primary Project Output

2011-07-27 Thread Anil Patel
Hi Joseph, Have a look at this link about adding the WiX project to your VS 2010 solution. http://www.havecomputerwillcode.com/blog/?p=421 Cheers, Anil. On Tue, Jul 26, 2011 at 4:24 PM, Joe Tilley wrote: > Hello, > > This is my first time using the mailing list, so please forgive any > etiq

Re: [WiX-users] WiX in Visual Studio: Preprocessor variables

2011-07-27 Thread Anil Patel
Forgot to add that the element conatins the assignments of properties to preprocessor variables. Anil. On Wed, Jul 27, 2011 at 2:54 PM, Andreas Vestlund < andreas.vestl...@sekonden.se> wrote: > Hi, > > I have a large WiX project in visual studio 2010 and I am having trouble > finding where valu

Re: [WiX-users] WiX in Visual Studio: Preprocessor variables

2011-07-27 Thread Anil Patel
Hi Andreas, Unload your WiX project in VS 2010 (right click project) and then unload it. Then select project again & right click select Edit You should see a element and each sub-element within it, is a property which can be referenced by eg $(Product) You should find some values for Product & V

Re: [WiX-users] com registration

2011-07-27 Thread Anil Patel
Hi Daniel, 1) For a COM dll, heat should generate the appropriate registry data. 2) For a COM EXE server, heat will not generate the the registry data but you can do the following.: a) Use RegSpy2 to extract the registry data into a reg file. So if my COM exe is called TestCOM.exe, you would i

Re: [WiX-users] Using WIX in TFS 2010

2011-07-21 Thread Anil Patel
Thanks for this Rob, I'll give it a go. Regards, Anil. On Thu, Jul 21, 2011 at 5:08 PM, Rob Mensching wrote: > In your .wixproj: > > > > > > > On Thu, Jul 21, 2011 at 8:30 AM, Anil Patel >wrote: > > > Hi Rob, > > > > Apprecia

Re: [WiX-users] Using WIX in TFS 2010

2011-07-21 Thread Anil Patel
Hi Rob, Appreciate your reply on this but can you please elaborate on this by way of an example.. Thanks, Anil. On Thu, Jul 21, 2011 at 4:17 PM, Rob Mensching wrote: > I would use BindPath. > > On Thu, Jul 21, 2011 at 6:42 AM, Anil Patel >wrote: > > > Hello, > >

[WiX-users] Using WIX in TFS 2010

2011-07-21 Thread Anil Patel
Hello, I'm using Visual Studio 2010 solution which has a single WiX project within it. I have another VS 2010 Solution (call it Solution BinaryProvider) which provides the binaries that get built into a MSi by the WiX solution. I'm using a TFS 2010 Build system in which the build order is 1) Bi

Re: [WiX-users] Registration of COM Executable Server

2011-07-07 Thread Anil Patel
py2" > > -Original Message- > From: Anil Patel [mailto:apatel...@googlemail.com] > Sent: 07 July 2011 10:57 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Registration of COM Executable Server > > Hello, > > > > I have used to HEAT to generate

[WiX-users] Registration of COM Executable Server

2011-07-07 Thread Anil Patel
Hello, I have used to HEAT to generate the registry entries required for a COM dll but I don’t think that it does this for COM EXEs. Is there anyway other way of doing this without having to call the EXE with /RegServer switches? Thanks, Anil. --

Re: [WiX-users] Using the same component in different features

2011-07-05 Thread Anil Patel
ior in a lot of detail... > but is pretty dense material. > > On Fri, Jul 1, 2011 at 8:32 AM, Anil Patel > wrote: > > > Hello, > > > > As this is my first time in authoring WiX source files, I have a need to > > use > > the same component group (hence

[WiX-users] Using the same component in different features

2011-07-01 Thread Anil Patel
Hello, As this is my first time in authoring WiX source files, I have a need to use the same component group (hence components) in different features. The 'shared' components will only ever be installed in one location. What I would like to understand is if there are any dangers in this doing thi