Re: [WiX-users] Creating patches using wixout (-bf flag deprecated)

2015-01-08 Thread Nick Ramirez
Sounds like undocumented functionality of Melt. I don't see anything about using it that way in the WiX.chm. Also, binder variable don't solve the problem of binding the source files into the XML file. They only give you a way to list a bunch of paths to probe. So they don't replace the

[WiX-users] Creating patches using wixout (-bf flag deprecated)

2015-01-08 Thread Nick Ball
Hi All, I am using light.exe to create .wixout files with the -bf flag, I now get a warning saying that this flag is deprecated. I can't find information on why. I'm using .wixout files with bundle binary data to create patches (as described in the Wix 3.6 book) and am now wondering if this is

Re: [WiX-users] CustomAction built for AnyCPU does not read 64-bit registry hive

2015-01-08 Thread wixtester
I may have not been clear in my earlier emails, sorry about that. I have a C# custom action that uses Microsoft.Win32.RegistryKey. I am building this custom action with AnyCPU. The custom action searches for JRE on the system and set a value to Session variable. I have 64-bit JRE installed on

Re: [WiX-users] CustomAction built for AnyCPU does not read 64-bit registry hive

2015-01-08 Thread Daniel Norman
Hi, I had to create two separate binaries for this, in a similar case. One built for x64, the other x86 - then I trigger the appropriate one depending on the OS architecture. The issue is that C# Registry.LocalMachine will run against the Wow6432Node in the registry, if the binary is 32-bit.

Re: [WiX-users] How to create a sql server login without creating a database?

2015-01-08 Thread Patrick Pirzer
Thank You Jeremiah! That's exactly what i was looking for since the last two weeks. And the Stackoverflow-article contains a good explanation, what's the difference between a SQL server login and a SQL server user. Thank You and have a nice day! -Ursprüngliche Nachricht- Von: Jeremiahf

Re: [WiX-users] CustomAction built for AnyCPU does not read 64-bit registry hive

2015-01-08 Thread John Cooper
This is also necessary when accessing x64 areas of the file system. I have 64-bit versions of some of my custom actions when this is necessary. -- John Merryweather Cooper Senior Software Engineer | Enterprise Service Applications | Continuing Development Jack Henry Associates, Inc.® |

Re: [WiX-users] CustomAction built for AnyCPU does not read 64-bit registry hive

2015-01-08 Thread Phill Hogland
Regarding the comments about using AnyCPU this blog explains one reason why on a x64 system AnyCPU runs a 32 bit instance of .Net http://blogs.microsoft.co.il/sasha/2012/04/04/what-anycpu-really-means-as-of-net-45-and-visual-studio-11/ -- View this message in context:

[WiX-users] Bundle temporary files

2015-01-08 Thread Keith.Douglas
We bundle MSUs up with the default bootstrapper for ease of installation of our remote users. A colleague of mine noticed that in c:\users\[logged in user]\appdata\local\temp\ there are a bunch of randomly named folders with a attached.cab and an ux.cab seemingly for each bundle ever run. I

Re: [WiX-users] Bundle temporary files

2015-01-08 Thread Rob Mensching
They should be removed when the bundle finishes executing. If not, they may have been held in use and require a restart. Has colleague restarted? _ Short replies here. Complete answers over there: http://www.firegiant.com/

Re: [WiX-users] Creating patches using wixout (-bf flag deprecated)

2015-01-08 Thread Tunney, Stephen
You need to start using the bindpath variables in your wxs sources. Melt will take care of pointing the wixpdb to the new location. -Original Message- From: Nick Ramirez [mailto:nickra...@hotmail.com] Sent: January-08-15 2:39 PM To: wix-users@lists.sourceforge.net Subject: Re:

Re: [WiX-users] Creating patches using wixout (-bf flag deprecated)

2015-01-08 Thread Rob Mensching
+1 (but the first . below should be an or smile/) _ Short replies here. Complete answers over there: http://www.firegiant.com/ -Original Message- From: Tunney, Stephen [mailto:stephen.tun...@nuance.com] Sent: Thursday,

Re: [WiX-users] Creating patches using wixout (-bf flag deprecated)

2015-01-08 Thread Nick Ramirez
Bind paths vs. Visual Studio project references (e.g. $(var.MyProject.TargetDir))...the latter doesn't require passing custom parameters to light. Why make the specifying of a source file more arcane with a bind paths binder variable? Especially when the use case is a patch file in the unseen

Re: [WiX-users] Creating patches using wixout (-bf flag deprecated)

2015-01-08 Thread Tunney, Stephen
Melt kind of does an administrative install of the database (msi or msm). It updates the wixpdb Data entries to point to the new location for the files. -Original Message- From: Nick Ramirez [mailto:nickra...@hotmail.com] Sent: January-08-15 3:04 PM To: wix-users@lists.sourceforge.net

Re: [WiX-users] CustomAction built for AnyCPU does not read 64-bit registry hive

2015-01-08 Thread Phil Wilson
You should be building separate MSIs for both arcitectures: http://blogs.msdn.com/b/heaths/archive/2008/01/15/different-packages-are-required-for-different-processor-architectures.aspx so build an x86 Dll for 32-bit systems and an x64 Dll for 64-bit. In any case, AnyCpu for a Dll actually means

Re: [WiX-users] Creating patches using wixout (-bf flag deprecated)

2015-01-08 Thread Rob Mensching
Yes. _ Short replies here. Complete answers over there: http://www.firegiant.com/ -Original Message- From: Nick Ball [mailto:nick.b...@grantadesign.com] Sent: Thursday, January 8, 2015 3:17 AM To:

Re: [WiX-users] CustomAction built for AnyCPU does not read 64-bit registry hive

2015-01-08 Thread Rob Mensching
My bad, I always forget that. For binaries, the Windows Installer peeks at the executable binary and figures out how to host it. Any CPU managed code assemblies a 'architecture preference' (default is x86, IIRC). You can change that preference at build time, IIRC.

Re: [WiX-users] Creating patches using wixout (-bf flag deprecated)

2015-01-08 Thread Nick Ramirez
Ouch. So now you have to keep your old and new source files on hand. Would be nice to keep the bind-files option or work it into the wixpdb. Also, not being able to bind the files into the wixout or wixpdb means that if you move the wixout/wixpdb and then try to run Pyro against it, all the paths

Re: [WiX-users] Creating patches using wixout (-bf flag deprecated)

2015-01-08 Thread Rob Mensching
Bind paths or Melt.exe. _ Short replies here. Complete answers over there: http://www.firegiant.com/ -Original Message- From: Nick Ramirez [mailto:nickra...@hotmail.com] Sent: Thursday, January 8, 2015 11:39 AM To:

Re: [WiX-users] Bundle temporary files

2015-01-08 Thread Keith.Douglas
Update: We figured out that this occurs when our check if installed application calls Microsoft.Tools.WindowsInstallerXml.Unbinder.Unbind (from DTF), as we use that to determine the UpgradeCode, as per another post from this list. I save to a temporarily location and overwrite any existing

Re: [WiX-users] Bundle temporary files

2015-01-08 Thread Keith.Douglas
Oh, and to answer Rob: yes, since they go way back (see below on the update as to how often they get created). WiX (and hence DTF) 3.7, for what that's worth. Keith Douglas Statistics Canada | 170 Tunney's Pasture Driveway, Ottawa ON K1A 0T6 Statistique Canada | 170, promenade Tunney's