[WiX-users] Languages attribute of Packages element

2010-06-04 Thread WenWu Lu
The WiX documentation for the Languages attribute of the Packages element says that it contains the list of language IDs (LCIDs) supported in the package. If this attribute is not set, what is the default value? If it is set, how is it related to the Language attribute of the Product eleme

Re: [WiX-users] createAndRemoveOnUninstall for registry VALUE?

2010-06-04 Thread Rob Mensching
99.9% of the time, you should never specify an Action on a RegistryKey element. On Fri, Jun 4, 2010 at 4:59 PM, Bruce Cran wrote: > On Wed, 12 May 2010 00:20:05 +0200 > Kristoffer Danielsson wrote: > > > It seems "createAndRemoveOnUninstall" works on the key. How would you > > use that logic on

Re: [WiX-users] createAndRemoveOnUninstall for registry VALUE?

2010-06-04 Thread Bruce Cran
On Wed, 12 May 2010 00:20:05 +0200 Kristoffer Danielsson wrote: > It seems "createAndRemoveOnUninstall" works on the key. How would you > use that logic only on the value under the specified key? That is, > the key should not be removed - only the its sub value > "InstalledComponent1". The regis

[WiX-users] WiX 3.0 merge module(s) for Win32 Shared SxS Assembly and Policy

2010-06-04 Thread Stephen Paterson
Hello all, I am trying to author a WiX 3.0 merge module (or two if necessary) that will allow multiple app MSIs to install a Win32 shared SxS assembly and associated policy (i.e the same deployment strategy that VC++ uses.) After many attempts I continue to hit two roadblocks: 1) The first app M

Re: [WiX-users] WiX 3.0 error with .net 4

2010-06-04 Thread John Ketchpaw
Are there plans for DTF support of .net 4? I hacked up the source and was able to build a .net 4 version of makesfxca, but I wasn't able to get the custom action to actually fire. -john On Thu, Jun 3, 2010 at 5:31 AM, Thomas Svare wrote: > Rob, > > Thanks for the quick response, it is much app

Re: [WiX-users] Reset Progress Bar

2010-06-04 Thread Blair
Whatever your CAs are written in should suffice (DTF, script, DLL). The main point is that the number of ticks reported by the deferred action must be the same as the number reserved by the immediate action, so you have to have two actions (one immediate, one deferred). -Original Message-

Re: [WiX-users] Creating an automated setup of a development environment

2010-06-04 Thread Manuel Aude
Thanks =) So, for the creation of the bootstrapper, right now I'm using custom actions calling the .exe's and .msi's. And if I understand right, for the uninstalling I just have to add more custom actions that are called, for example, after the RemoveFiles standard action, which should just call t

Re: [WiX-users] Reset Progress Bar

2010-06-04 Thread Scharp, Craig
Thanks Bair. To add costing information to CA's, do you have to use C++ like this? http://msdn.microsoft.com/en-us/library/aa367525(VS.85).aspx Or is there a way to do it in the wix file somehow. I haven't found anything, but hoping there's something other than the c++ option. Thx, Craig --

Re: [WiX-users] Creating an automated setup of a development environment

2010-06-04 Thread Manuel Aude
Thanks =) So, for the creation of the bootstrapper, right now I'm using custom actions calling the .exe's and .msi's. And if I understand right, for the uninstalling I just have to add more custom actions that are called, for example, after the RemoveFiles standard action, which should just call t

Re: [WiX-users] End dialog UI

2010-06-04 Thread Blair
To use your new error 25001 you need to call (something in your custom action that will eventually call) MsiProcessMessage passing it the INSTALLMESSAGE_ERROR value and a record that includes your error number as described in the page http://msdn.microsoft.com/library/aa371614.aspx. The custom act

Re: [WiX-users] Creating an automated setup of a development environment

2010-06-04 Thread Blair
Generally MSIs are authored to remove previous installations that they replace. However, any MSI can be authored to remove pretty much any arbitrary set of MSIs upon installation. Also, to help you in your knowledge search, the process that installs (and possibly uninstalls) several different MSIs

Re: [WiX-users] End dialog UI

2010-06-04 Thread Pratapa Reddy Sanaga
Thanks Nick! I want to end the installation(in case of failure) with a custom message like "Installation failed with 0x80240437. Please check that your system clock is showing the correct time and retry installation again." I created a localizable error table with error code 25001 for the above m

[WiX-users] Creating an automated setup of a development environment

2010-06-04 Thread Manuel Aude
Hi, I just started to read on WiX this week and it has been because I was assigned a task in which I'm supposed to create the installation of a dev-env in which several tools (including, but not limited to, .NET 3.5SP1 Fw, VS2010 ultimate, etc.) are installed, as well as some registry changes. I d

Re: [WiX-users] Unable to add files in C:\Program Files (x86)\MyApp

2010-06-04 Thread Wilson, Phil
This type of thing is common when moving to a UAC system. I suspect your OS version uses UAC, so: 1. I would recommend you look at user profile data folders for this kind of data storage. 2. Maybe your app has always required admin privileges but now you're on a UAC system, so maybe you need

Re: [WiX-users] Alternative to dotNetInstaller for chaining MSI's?

2010-06-04 Thread Nathan Zaugg
There is the clickonce boot chainer, but it really isn't an upgrade (in my opinion). I have actually have really good experiences with dotNetInstaller in basic mode. There is also Burn in WIX 3.5: http://robmensching.com/blog/posts/2009/7/14/Lets-talk-about-Burn but I don't know what the status o

Re: [WiX-users] Unable to add files in C:\Program Files (x86)\MyApp

2010-06-04 Thread Rob Hamflett
It's because the folder is read-only unless you have full admin rights. You can have the installer make it writable like this: Rob On 04/06/2010 15:33, Kshama Bafna (Persistent Systems Private Ltd) wrote: > Hi, > > I have created an MSI using WIX and the installa

Re: [WiX-users] Starting a service conditionally after InstallInitialize

2010-06-04 Thread gapearce
Thanks! That worked! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Starting-a-service-conditionally-after-InstallInitialize-tp5135712p5139702.html Sent from the wix-users mailing list archive at Nabble.com. --

[WiX-users] Unable to add files in C:\Program Files (x86)\MyApp

2010-06-04 Thread Kshama Bafna (Persistent Systems Private Ltd)
Hi, I have created an MSI using WIX and the installation is done correctly by the MSI. When I install my application to D:\MyApp, the application works fine and as expected it writes a few files in the same location. However, when I install the application at C:\Program Files (x86)\MyApp locat

[WiX-users] Alternative to dotNetInstaller for chaining MSI's?

2010-06-04 Thread Sajo Jacob
Is there a better alternative to dotNetInstaller for chaining MSI's, MSU's and EXE files? dotNetInstaller is terrible in quiet mode with no options/documentation on what parameters to pass when a component install fails etc (e.g Continue Yes/No) Thanks, Jacob -

Re: [WiX-users] Skip Custom actions of a product while applying patch

2010-06-04 Thread Peter Shirtcliffe
Could you modify your custom actions in the patch to add the condition 'and not PATCH' so that they wont run during patch installation ? -Original Message- From: Sandeep Kumar Bushnam (Wipro Ltd.) [mailto:v-san...@microsoft.com] Sent: 04 June 2010 11:16 To: wix-users@lists.sourceforge.n

[WiX-users] Skip Custom actions of a product while applying patch

2010-06-04 Thread Sandeep Kumar Bushnam (Wipro Ltd.)
Hi WiX Community, I have created a patch using Torch and Pyro. The product to which patch has to be applied have few custom actions which are executing while applying the patch and due to which the configuration made on the machine is disturbed when the custom action is executed. Is there any

Re: [WiX-users] Through WIX how to know whether installation is going via GUI or Command Line?

2010-06-04 Thread vijay chander
Thanks for the help Blair, It had helped me a lot. Regards Vijay Chander -- Message: 4 Date: Thu, 3 Jun 2010 22:45:41 -0700 From: "Blair" Subject: Re: [WiX-users] Through WIX how to know whether installation is going via GUI or Command Line? To: "'Gener