Re: [WiX-users] Unable to install Services due to lack of privileges

2009-03-23 Thread James Geall
Does the user you are installing the service to run under have the LogOnAsService right? That would prevent your service from starting. you can see the set of users with this right granted under Administrative Tools > Local Security Policy.msc and then Local Policies > User Rights Assignment > L

Re: [WiX-users] Change /Remove functionality not working from non-elevated prompt

2009-03-23 Thread Vidya Kukke
I seem to have got the solution. Basically all the properties(PUBLIC) that is required to install the feature such as need to have the Secure Attribute set to 'Yes'. -Original Message- From: Vidya Kukke [mailto:vku...@windows.microsoft.com] Sent: Monday, March 23, 2009 3:37 PM To: Gener

[WiX-users] How to install a shortcut conditionally?

2009-03-23 Thread Alan Sinclair
I've got a package (written in WiX 2) that installs three shortcuts. New request is for one shortcut to be conditional on a property. How do I make it work? I thought I'd make a new component (with condition on the component) and move the shortcut into that, but that was too simplistic and I do

[WiX-users] Samples errors follow up

2009-03-23 Thread Louis elston
It appears that when I executed Light, I was using the .wsx file instead of the .wixobj file. In running Light again with the .wixobj file, I came across more errors. -- Microsoft (R) Windows Installer Xml Linker version 3.0.4805.0 Copyright (C) Microsoft Corporation. All ri

[WiX-users] WIX samples problems

2009-03-23 Thread Louis elston
I have downloaded the WIX 3.0 SDK, I have started the tutorial. The examples are 2.0. I modified the first one (samplefirst) so that Candle would work correctly. When using Light, I get error LGTH0048, "the document element 'Wix' is invalid, a WiX output file must use 'wixOutput' as the document el

[WiX-users] Change /Remove functionality not working from non-elevated prompt

2009-03-23 Thread Vidya Kukke
Hi, I am unable to use the change/remove option from a non-elevated command prompt to control the installation and uninstallation of features. This is on Win2k8 and a non-elevated command prompt. The change/remove option works when fine when done via the elevated command prompt in Win2k8. Just

Re: [WiX-users] passing parameters to c# custom action

2009-03-23 Thread Pankaj Agrawal (Infosys Technologies Ltd)
Not yet. If someone can provide that code it would be great. Thanks, Pankaj -Original Message- From: datapa...@gmail.com [mailto:datapa...@gmail.com] Sent: Monday, March 23, 2009 12:52 PM To: Pankaj Agrawal (Infosys Technologies Ltd) Subject: passing parameters to c# custom action Hi Pa

Re: [WiX-users] Data exchange between MSM and main MSI

2009-03-23 Thread John Nannenga
Take a look at configurable merge modules in the SDK... http://msdn.microsoft.com/en-us/library/aa368027(VS.85).aspx From: Reuss, Matthias [matthias.mr.re...@siemens.com] Sent: Monday, March 23, 2009 10:25 AM To: General discussion for Windows Installer XML

Re: [WiX-users] Reading any file from wix

2009-03-23 Thread Brian Rogers
Hey Hukum, It is still recommended that custom actions be done using C++ (native code) but there is DTF (a managed framework) that is released with WIX 3.0 if you can verify you client base will meet the requirement that .NET is installed. Thanks, Brian Rogers "Intelligence removes complexity."

Re: [WiX-users] How to check file exists or not in wix?

2009-03-23 Thread Brian Rogers
Hey Hukum, If the file is a requirement for your installation to continue, the custom action should fail if it is unable to create the file. If you require the location of the file, the location should be set initially by an immediate custom action and then passed to the deferred custom action. Th

[WiX-users] Data exchange between MSM and main MSI

2009-03-23 Thread Reuss, Matthias
Hello, When creating a merge module, WiX appends the Module Idto identifiers wherever it seems appropriate. However, there are cases where I would like the merge module to use e.g. property values that have been defined in the main MSI. Is there any way to do this? Thanks, Matthias Reuss --

Re: [WiX-users] How to use Windows-Authentication for SQL-Server with WiX?

2009-03-23 Thread Natalia
I can't see the point of adding 2 hidden features. I would make it like this: There's no need of re

[WiX-users] Character encoding issue

2009-03-23 Thread Reuss, Matthias
Hello, I am working at a Merge Module project with WiX 2.0.5805.0. One of its components contains the condition In the .wixobj file, which is encoded as UTF-8 (at least the header says this), this condition is still well readable. The "Ö" of "Österreich" is encoded as 0xC396. When I open th

Re: [WiX-users] heat and UNC paths

2009-03-23 Thread Nick Ball
Turn your slashes round the other way: heat.exe dir \\mycomputer\shared_folder\thedir -ag -sfrag -out thewxsfile.wxs -Nick -Original Message- From: Frédéric Viollet [mailto:frederic.viol...@evidian.com] Sent: 23 March 2009 08:31 To: General discussion for Windows Installer XML toolset.

Re: [WiX-users] Unable to install Services due to lack of privileges

2009-03-23 Thread Holmgren Mathias
Have you checked the event log for any error messages about why your server fails to start? > -Original Message- > From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] > Sent: den 20 mars 2009 18:10 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-user

[WiX-users] Reading any file from wix

2009-03-23 Thread Hukumchand Shah
Hi All, I want to read a file and want to set properties of wix. But i don't want to use vbscript. Is there any other way? Thanks & Regards, Hukum -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are

[WiX-users] How to check file exists or not in wix?

2009-03-23 Thread Hukumchand Shah
Hi All, I want to check for a file which exists or not. The problem is, this file is generated by custom action. So i want to check after execution of this custom action. Please help, I am new to wix. Thank you Regards, Hukum --

[WiX-users] heat and UNC paths

2009-03-23 Thread Frédéric Viollet
Hi, I'm trying to use heat to generate a wxs fragment file out of a directory. But it seems the heat does not support UNC paths neither for the "dir" parameter nor for the "out" parameter... Is this a "normal" behaviour? Here are the two tested command lines: heat.exe dir thedir -ag -sfrag -out