Re: [WiX-users] When is Wix 3.10 publicly available ?

2015-06-23 Thread John Ludlow
See these blog posts. Both of these have a note about progress on 3.10 https://www.firegiant.com/blog/2015/6/2/wix-online-meeting-68-highlights/ https://www.firegiant.com/blog/2015/6/16/wix-online-meeting-70-highlights/ On 22 June 2015 at 17:55, Rob Mensching wrote: > PS: WiX v3.10 is availabl

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-28 Thread John Ludlow
And a slightly more recent one: http://www.wrightfully.com/part-1-of-writing-your-own-net-based-installer-with-wix-overview/ On 28 February 2015 at 12:09, John Ludlow wrote: > Here's some links to articles about managed BAs: > > > http://blogs.msdn.com/b/heaths/archive/2011/

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-28 Thread John Ludlow
velopment Jack Henry & Associates, Inc.® | Lenexa, KS 66214 | Ext: > > 431050 |jocoo...@jackhenry.com > > > > -Original Message- > > From: Davis, Jeff [mailto:jda...@nanometrics.com] > > Sent: Thursday, February 26, 2015 4:54 PM > > To: General discu

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-26 Thread John Ludlow
ult value of 0. > > But I am really just coding in the dark on this. I'm not sure what I am > doing and not even sure I have everything correct. I just don't get the > whole custom action concept and how properties get read and set? > > This was just a stab at what I

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-26 Thread John Ludlow
When you say "not working", what do you mean exactly? Is it just not calling your CA, not finding the file, not getting any results, or is it throwing an exception? Here are some things you can try: Check whether there any evidence in the log that the custom action has been called, and what the C

Re: [WiX-users] WiX 3.9 R2 - Debugging WPF Burn Application

2015-01-31 Thread John Ludlow
We have the following code in our Run method: #ifdef DEBUG Debugger.Launch(); #endif When we compile as debug and then run the bundle, we get a prompt to attach a debugger from this Debugger.Launch() call. On the dev box (with Visual Studio installed) this would normally be a list of ope

Re: [WiX-users] Bundle within a bundle

2014-10-07 Thread John Ludlow
I saw some install failures when I tried this but this may have been down to some incorrect handling in my custom BA. I haven't tried this with a package based on the WixStdBA You will also get the child package listed as an entry in the ARP because there's no way for the parent bundle to tell the

Re: [WiX-users] Removing bundle from ARP

2014-10-03 Thread John Ludlow
Do you mean that if you install the bundle, then uninstall the packages individually (not using the bundle) then the bundle is still registered? If so, that's expected, and no there's no action in the bundle that gets invoked if you uninstall each package outside the bundle. On 3 October 2014 14:

Re: [WiX-users] What does '&' and '!' inside CDATA[] do?

2014-05-13 Thread John Ludlow
Pay attention to when these actions are sequenced. In particular, as the linked article mentions, any action that relies on these conditions should be sequenced after CostFinalize. On 13 May 2014 23:03, wrote: > Dit mailadres is niet meer in gebruik. Mail kan je voortaan sturen naar > basti...@

[WiX-users] Relative path sometimes used for WiX extension references.

2014-04-11 Thread John Ludlow
Hi, When I add a reference to WixUtilExtension in my WiX project, this is what gets added to the .wixproj: $(WixExtDir)\WixUtilExtension.dll WixUtilExtension When my colleague does this, he sometimes gets the above, but usually gets this: ..\..\..\..\..\..\..\..\.

Re: [WiX-users] uI on silent uninstall

2014-03-19 Thread John Ludlow
That's probably because the MSI is running in the just-a-progress-bar mode during uninstall. MSI message boxes are being suppressed. On 19 March 2014 22:56, Pavan Konduru wrote: > Did you declare the custom action in the .wxs file? > > -Original Message- > From: Harold Wood (H10 Capital

Re: [WiX-users] C# Custom Actions - Renaming Functions

2014-03-19 Thread John Ludlow
This may be a silly question, but have you also cleared out your temp directories? Also, did you I think it should be possible to export the DLL using Orca to a file on disk, and then examine it to see what exported functions it has (say, with Dependency Walker). This should settle the question of

Re: [WiX-users] WiX Queries

2014-03-18 Thread John Ludlow
With regard to creating bootstrapper applications, the official documentation is a little lacking but here are some resources which may help: http://bryanpjohnston.com/2012/09/28/custom-wix-managed-bootstrapper-application/ http://blogs.msdn.com/b/heaths/archive/2011/10/28/introducing-managed-boo

Re: [WiX-users] ICE03 or "Unresolved reference"

2014-03-10 Thread John Ludlow
You would need to define the table schema using the CustomTable element. Try using dark.exe on an msi which has thay merge modules and seeing what CustomTable elements you get in the output. Hope that helps On 11 Mar 2014 02:15, "Dmitry Nechaev" < dmitry.nech...@objectconsulting.com.au> wrote: >

Re: [WiX-users] if(language==en-US) logic?

2014-03-02 Thread John Ludlow
http://stackoverflow.com/questions/1805405/find-vista-language-using-wix This SO question might be helpful On 1 Mar 2014 10:15, "Bin Yin" wrote: > is there any logic in WiX as: > > if (OSLanguage==en-US) > { > copy file1 to dir1 > } > else if(OSLanguage==zh-CN) > { > copy file2 to dir2 >

Re: [WiX-users] Custom action to write into a file while installing and uninstalling MSI file

2014-02-26 Thread John Ludlow
Is this just for logging purposes? Is the normal MSI log not sufficient? If it's not, then depending on your situation, there's a number of options: * The XmlFile element in the Util extension can be tied to a component and update a target file when that component is installed or uninstalled. *

Re: [WiX-users] How to not copy a file in subsequent installations?

2014-02-26 Thread John Ludlow
Um, yes. Have you considered using *afterInstallExecute *or *afterInstallExecuteAgain *instead? On 26 February 2014 15:49, faujong wrote: > Hi John, > "No existing file" is because prior to it the installation removed the file > MSI (s) (00:9C) [09:59:20:624]: Executing op: > > FileRemove(,Fil

Re: [WiX-users] How to not copy a file in subsequent installations?

2014-02-26 Thread John Ludlow
Aha! MSI (s) (00:64) [09:59:21:043]: File: C:\Program Files\WixWindowsService2012\WixWindowsService2012.exe.config; To be installed; Won't patch;No existing file MSI (s) (00:64) [09:59:21:043]: Source for file 'WixWindowsService2012.exe.config' is compressed So why is there "No existin

Re: [WiX-users] How to not copy a file in subsequent installations?

2014-02-26 Thread John Ludlow
BTW, you did mention the scheduling in your original mail - I missed it. My bad. On 26 February 2014 15:39, John Ludlow wrote: > Aha! > > MSI (s) (00:64) [09:59:21:043]: File: C:\Program > Files\WixWindowsService2012\WixWindowsService2012.exe.config; To be > installed;

Re: [WiX-users] SQL Server 64 Bit

2014-02-26 Thread John Ludlow
No problemo :) On 26 February 2014 13:17, Steven Ogilvie wrote: > Ravi, > > Please provide verbose logging of where it is failing... > > http://support.microsoft.com/kb/223300 > > The simplest way for logging a single session is to start the installer > with the /l switch > > msiexec /i c:\pa

Re: [WiX-users] How to not copy a file in subsequent installations?

2014-02-25 Thread John Ludlow
Follow the instructions here: http://support.microsoft.com/kb/223300 The simplest way for logging a single session is to start the installer with the /l switch msiexec /i c:\path\to\myinstall.msi /l*v c:\path\to\myinstall.log On 25 February 2014 23:56, fiefie.niles wrote: > Where can I g

Re: [WiX-users] How to not copy a file in subsequent installations?

2014-02-25 Thread John Ludlow
Have a read of this: http://msdn.microsoft.com/en-us/library/aa370531(v=vs.85).aspx Now, before you do your upgrade, have a look at the file's modified and creation dates. If they match, then MSI takes that as a signal that they can be overwritten (because it sets those dates to the same value du

Re: [WiX-users] Burn custom UI, second browse button

2014-02-13 Thread John Ludlow
I think you may need to use something like this: http://wixextba.codeplex.com/ On 13 February 2014 11:21, Hans De Groot wrote: > Hello, > > I'm trying to a second location + browse button the standard bootstrapper > application. I currently have this: > > FontId="2">#(loc.OptionsH

Re: [WiX-users] Digitally Sign BootStrapper project

2013-12-09 Thread John Ludlow
JCHoover responded to that SO question. You should also check out these discussion threads on this forum: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Signing-bundles-changes-needed-to-each-bundle-wixproj-td7591050.html http://windows-installer-xml-wix-toolset.687559.n2.nabble.c

[WiX-users] Hex codes in bundle errors

2013-12-04 Thread John Ludlow
Hi, I'm writing a bundles to chain some installs together. Currently this is WiX 3.6, though I'll be considering an upgrade to 3.8 at some point. The bundle uses the RtfTheme theme, customized with the bal:WixStandardBootstrapperApplication/@ThemeFile attribute. My question is this: Is there a wa

Re: [WiX-users] wixtoolset.org popups

2013-12-03 Thread John Ludlow
I'm not seeing any adverts. On Chrome I do have AdBlockerPlus, but it didn't report a blocked popup, and when I disabled it and refreshed I didn't see anything. Of course, it might be that you're hitting a different server than I am. On 3 December 2013 13:44, Christopher Painter wrote: > > Is

Re: [WiX-users] Signing bundles - changes needed to each bundle wixproj

2013-12-03 Thread John Ludlow
t; > On 2 Dec 2013 18:24, "Rob Mensching" wrote: > > > > > My experience is that you really want your private key under lock and > key. > > > I heard the room with the private key at MSFT had a hand print reader. > Even > > > the WiX toolset submits

Re: [WiX-users] Signing bundles - changes needed to each bundle wixproj

2013-12-02 Thread John Ludlow
he room with the private key at MSFT had a hand print reader. Even > the WiX toolset submits our binaries off to a signing service to get > signed. Never saw two organizations implement signing the same way. > > -Original Message- > From: John Ludlow [mailto:john.ludl

Re: [WiX-users] Signing bundles - changes needed to each bundle wixproj

2013-12-02 Thread John Ludlow
there’s a preference to one over the other. Each has its > own costs and risks. Whichever works better in your environment. MSBuild is > flexible in that regard. (What I do with my clients tends to vary based on > the client’s needs and customs). > > > > > > > -Blair >

Re: [WiX-users] Signing bundles - changes needed to each bundle wixproj

2013-12-02 Thread John Ludlow
nt’s needs and customs). > > > > > > > -Blair > > > > > > From: John Ludlow > Sent: Monday, December 02, 2013 9:49 AM > To: General discussion for Windows Installer XML toolset. > > > > > > I see - that was the impression I got from the

Re: [WiX-users] Signing bundles - changes needed to each bundle wixproj

2013-12-02 Thread John Ludlow
ld do that. I tend to add an explicit .props/.targets file to the > .wixprojs myself but you have options with MSBuild. > > Documentation improvements are always appreciated. > > -Original Message- > From: John Ludlow [mailto:john.ludlow...@gmail.com] > Sent: Monday, Dec

Re: [WiX-users] Signing bundles - changes needed to each bundle wixproj

2013-12-02 Thread John Ludlow
lating all the custom logic for their build. > > -Original Message- > From: John Ludlow [mailto:john.ludlow...@gmail.com] > Sent: Monday, December 2, 2013 4:23 AM > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] Signing bundles - changes needed

[WiX-users] Signing bundles - changes needed to each bundle wixproj

2013-12-02 Thread John Ludlow
Hi, We're writing an installer using a bundle to chain two MSIs together. The bundle should be signed (we generally sign installers and EXEs and DLLs). Currently, we're using WiX 3.6 (we currently use Visual Studio 2008, and 3.7 didn't support that version of Visual Studio). We've discovered the

Re: [WiX-users] Microsoft Reciprocal License explaination

2013-11-20 Thread John Ludlow
If you modify WiX itself, then I'd argue that it's actually in your best interest to contribute the changes back anyway, regardless of whether you distribute those binaries. That way, they can be included in future versions of WiX and you don't have to re-apply the changes every time you upgrade th

Re: [WiX-users] Fwd: Re: Referring to fragments

2013-11-19 Thread John Ludlow
; EnergySolutionsInternational directory also gets removed. Do you think that > should be the behaviour.? > > > On 19-11-2013 15:44, John Ludlow wrote: > > In theory, just removing this line should do it: > > > I haven't tried that though, so I'm not

Re: [WiX-users] Fwd: Re: Referring to fragments

2013-11-19 Thread John Ludlow
icrosoft.com/en-us/library/aa368961.aspx> and > ICE48<http://msdn2.microsoft.com/en-us/library/aa368977.aspx>happy. So can i > ignore those errors and move ahead? > > How can i get my directory created to c:\[FolderName]\ ? > > Regards, > SuvraJyoti > > > On 19-11-2013

Re: [WiX-users] Fwd: Re: Referring to fragments

2013-11-19 Thread John Ludlow
That should have read: If you make this change, you can also remove the following line: On 19 November 2013 08:34, John Ludlow wrote: > That's because of this: > > > > This will put files on the users desktop - are you sure that's what you > want? (Hin

Re: [WiX-users] Fwd: Re: Referring to fragments

2013-11-19 Thread John Ludlow
i need to change this file to registry key when generating this file > from heat? Please suggest as to what the error could be for? > > Regards, > Suvra Jyoti > > > On 18-11-2013 21:31, John Ludlow wrote: > > Yeah I didn't explain that path thing very well. I was re

Re: [WiX-users] Fwd: Re: Referring to fragments

2013-11-18 Thread John Ludlow
matches correctly) or write some build code to tweak the contents of > this file." if this helps. > > Moreover it is not that the error is being shown foll all the files in the > db directory . It is showing for about 150 files in the db directory. There > are a total of 379 fil

Re: [WiX-users] Fwd: Re: Referring to fragments

2013-11-18 Thread John Ludlow
Any updates on the below issue. I am still stuck there. > > Regards, > Suvra Jyoti > Original Message > Subject: Fwd: Re: [WiX-users] Referring to fragments Date: Mon, 18 Nov > 2013 15:06:38 +0530 From: Suvrajyoti Panda > To: > John Ludlow

Re: [WiX-users] Referring to fragments

2013-11-18 Thread John Ludlow
6)\WiX Toolset v3.7\bin\trunkdb.wxs(1119) : error LGHT0267 : > Found orphaned Component 'cmp5FAA008684E68756F59591139AA72C60'. If this > is a P > roduct, every Component must have at least one parent Feature. To include > a Com > ponent in a Module, you must include it dire

Re: [WiX-users] Referring to fragments

2013-11-15 Thread John Ludlow
I think you're getting confused between two separate issues. If you're getting the ICE error, then that would stop the build from successfully completing. You may be using an out of date version of your installer. Because of that, I would suggest that you do the following 1. Resolve the ICE issue

Re: [WiX-users] Wix Newbie

2013-11-07 Thread John Ludlow
I'd recommend this book: http://www.amazon.co.uk/WiX-3-6-Developers-Windows-Installer-ebook/dp/B009YW82A0/ref=sr_1_1?ie=UTF8&qid=1383827565&sr=8-1&keywords=wix It covers both Windows Installer using WiX, and bundles using burn and custom bootstrapper applications. On 6 November 2013 21:42, Nick

Re: [WiX-users] Conditionally disabling the Install Location control in a bundle

2013-10-29 Thread John Ludlow
son wrote: > On 26-Oct-13 05:15, John Ludlow wrote: > > I don't think the standard bootstapper application's theming is capable > of > > that kind of customisation. > That's correct. It would have to be a feature of WixStd

Re: [WiX-users] Conditionally disabling the Install Location control in a bundle

2013-10-26 Thread John Ludlow
hether we found that registry entry or not. Thanks anyway On 26 Oct 2013 03:35, "santhosh yalamuri" wrote: > When the user selects another folder the variable is updated. > On 25 Oct 2013 00:47, "John Ludlow" wrote: > > > Thanks for that > > > > Does

Re: [WiX-users] Conditionally disabling the Install Location control in a bundle

2013-10-24 Thread John Ludlow
ot;"/> > > > On Thu, Oct 24, 2013 at 3:31 PM, John Ludlow >wrote: > > > Hi all, > > > > We have an MSI for a client application which, if you have the server > > installed on the same system, must be installed in the same directory as > > the

[WiX-users] Conditionally disabling the Install Location control in a bundle

2013-10-24 Thread John Ludlow
Hi all, We have an MSI for a client application which, if you have the server installed on the same system, must be installed in the same directory as the server. During the MSI install wizard for the client application, we use AppSearch to detect whether the server component is installed. If it

Re: [WiX-users] Set WixToolPath from another .Proj file

2013-10-22 Thread John Ludlow
Through a mixture of trial and error we identified 6 properties that we needed to provide. We actually do this on the msbuild command line which calls our solution build rather than a .proj file but the concept is the same. WixToolPath=g:\BuildSoftware\Wixv3.6.3303.0\ WixTasksPath=g:\BuildSoft

Re: [WiX-users] WiX Installer using WPF

2013-09-19 Thread John Ludlow
Here's the the link to the publisher's page for that book http://www.packtpub.com/windows-installer-xml-3-6-developers-guide/book On 19 September 2013 11:09, Ravishankar < ravishankar.krishnasw...@idsnext.com> wrote: > Hi Kobus, > Please send me the Link. > > Thanks and Regards > Ravi > On 9/19

Re: [WiX-users] WiX Installer using WPF

2013-09-19 Thread John Ludlow
Wix's own bootstrapper is done this way, so you can use that as a sample. There's also a tutorial with code samples here: http://bryanpjohnston.com/2012/09/28/custom-wix-managed-bootstrapper-application/ (uses the MVVM-light framework). On 19 September 2013 10:23, Ravishankar < ravishankar.krish

Re: [WiX-users] Execution order issue

2013-09-18 Thread John Ludlow
Be aware that if your custom action gets any properties, then you'll need to push those through by using CustomActionData. On 18 September 2013 19:07, Phil Wilson wrote: > Your copy custom action is immediate - that means it will always happen > before any files are actually copied. If you need

Re: [WiX-users] Component Rules

2013-08-29 Thread John Ludlow
toolset. > Subject: Re: [WiX-users] Component Rules > > If they're not being replaced because of the file modification rules, then > you could write a custom action to make the creationdate and modifydate > identical, and run it early before InstallValidate. > > Phil Wil

Re: [WiX-users] Component Rules

2013-08-29 Thread John Ludlow
Execute action after RemoveFiles may also get around that issue. On 29 August 2013 15:28, wrote: > @John Ludlow: Ok I was following what I found in a wix email chain by Chad > Peterson from 2011. The post is below as well as the url to the entire > email chain. > Another option is to u

Re: [WiX-users] Component Rules

2013-08-29 Thread John Ludlow
S 66227 > Office: 913-341-3434 x791011 > jocoo...@jackhenry.com > www.jackhenry.com > > > > > -Original Message- > From: John Ludlow [mailto:john.ludlow...@gmail.com] > Sent: Thursday, August 29, 2013 8:35 AM > To: General discussion for Windows Installer XML to

Re: [WiX-users] stop a service before uninstall

2013-08-29 Thread John Ludlow
Check the logs. That should tell you what REMOVE and REINSTALL are being set to, and when they are being set. Look for lines like this: MSI (s) (04:4C) [05:39:56:736]: Command Line: REMOVE=ALL CURRENTDIRECTORY=C:\Windows\system32 CLIENTUILEVEL=2 CLIENTPROCESSID=1768 or this: MSI (s) (64:48) [06:

Re: [WiX-users] Component Rules

2013-08-29 Thread John Ludlow
As long as there is an appropriate file to use, I agree, although really it has the same result. It wouldn't be appropriate to make them a companion of a file they're unrelated to as that would introduce a bogus dependency and if that other file ever disappeared, then you could introduce some nasty

Re: [WiX-users] stop a service before uninstall

2013-08-29 Thread John Ludlow
Well, it wouldn't because the REINSTALL property is set during repair and you're conditioning on NOT REINSTALL. On 29 August 2013 14:19, nkshirsagar wrote: > Hi John, > > I'm doing it this way as of now .. > > > NOT > Installed > > > Installed > AND (NOT REINSTALL) >

Re: [WiX-users] Component Rules

2013-08-29 Thread John Ludlow
Well, it probably won't do what you're expecting. By the time RemoveFiles runs, the install has already decided it won't install those files, so what will most likely happen is it will remove the file but not install the new version. A trick (well, a horrible hack, really) I've used is called vers

Re: [WiX-users] stop a service before uninstall

2013-08-29 Thread John Ludlow
Is the issue that the FilesInUse dialog is popping up before your service is stopped and declaring files in use when those files will be unlocked when the service stops? It's unfortunate but all the information related to whether you are doing a removal or not is discovered at that point. In theor

Re: [WiX-users] [Wix]: Copy the INI file to local temp folder before Install Files action (MSI action)

2013-08-29 Thread John Ludlow
If the file is packaged inside the MSI, how would anything copy it before the InstallFiles action? The only scenario that makes sense here (as far as I can see) is that you're in an upgrade situation, and you want to copy the version of the file you're upgrading from to the temp folder and read so

Re: [WiX-users] How to remove custom application with malformed uninstall package

2013-08-29 Thread John Ludlow
Actually there's not much difference as you get to the same place anyway. A version of the MSI in your cache that doesn't have the error and can be upgraded. The issue you might run into with modifying your package and doing a minor upgrade is that if you sign your MSIs you won't just be able to e

Re: [WiX-users] How to remove custom application with malformed uninstall package

2013-08-28 Thread John Ludlow
Glad I could help On 28 August 2013 14:13, Simon Gerhold wrote: > Thanks John & David, I used John's third option with orca.exe (I just > deleted the problematic custom action and all is good). > > Thanks :) > > -Original Message- > From: John Ludlow [m

Re: [WiX-users] How to remove custom application with malformed uninstall package

2013-08-28 Thread John Ludlow
your users (or write a > stub that) runs it from the command line with the repair and recache msi > options. > > msiexec /fv your.msi /l*v log.txt > > > > -Original Message- > From: John Ludlow [mailto:john.ludlow...@gmail.com] > Sent: 28 August 2013 10:34 >

Re: [WiX-users] How to remove custom application with malformed uninstall package

2013-08-28 Thread John Ludlow
You have a couple of options: Firstly, there's the MSI Cleanup Utility http://gallery.technet.microsoft.com/MSI-cleanup-utility-3889c8db This is an old tool which I thought had been retired, but it's come in very handy. Note that this will not perform any uninstall operations or any MSI logic at

Re: [WiX-users] Reading xml file

2013-08-27 Thread John Ludlow
You would need an immediate custom action to read the .config file, find the appropriate connection string, and set its value to a property. If you're using WiX from Visual Studio, you can go to File > New Project, and choose Windows Installer XML > C# Custom Action Project. (Or C++ if you prefe

Re: [WiX-users] LGHT0103 error where path is shorter than 255 characters and file is present.

2013-08-23 Thread John Ludlow
Does this ever work or is it failing consistently? If it's intermittent then unreliable access to that location could still be the cause. One other question is what does D: map to? You mention network, which makes me wonder if this is a mapped drive. Does this work if you use an entirely local pat

Re: [WiX-users] Wix: Create OS specific installer using Wix?

2013-08-23 Thread John Ludlow
Also, http://msdn.microsoft.com/en-us/library/aa370905(v=vs.85).aspx#operating_system_properties For example, to tell the difference between server and workstation editions of Windows, you can use MsiNTProductType. On 23 August 2013 13:58, Pally Sandher wrote: > http://msdn.microsoft.com/en-u

Re: [WiX-users] Starting a complex project

2013-07-22 Thread John Ludlow
Agreed, that's really the only complete reference source for WiX 3.6, and there's quite a lot that you can only really learn via the book. Be careful though as I saw a bogus addition flying around on Amazon UK (it's gone now so maybe it was just a mistake). In the book, your requirements above mea

Re: [WiX-users] Duplicate symbol when using CompilerCore.CreateWixSimpleReferenceRow

2013-07-22 Thread John Ludlow
have been safely ignored, and b) the error message didn't really point to the reference on the component library project. It was only when I was ready to give up and abandon the 'wixlib-in-the-dll' idea as a bad job that I spotted this extra reference. Thanks for the help On 11 J

Re: [WiX-users] Duplicate symbol when using CompilerCore.CreateWixSimpleReferenceRow

2013-07-11 Thread John Ludlow
@Nick: Yes, I'm trying to use the extension in a library which is then used in a setup project. The resulting project relationships would be something like this: https://docs.google.com/file/d/0BzqWyEdx-NBBeDM5ZlJGejRoNE0/edit?usp=sharing The reason for this is that the setup project is just meta

Re: [WiX-users] Duplicate symbol when using CompilerCore.CreateWixSimpleReferenceRow

2013-07-10 Thread John Ludlow
Yup, did that - that's how I know there's no test installer for it. When I removed that line, the install compiled but without the action. I'll add a test install to the sample, and see what I get. I just haven't had time to do that today, unfortunately. On 10 July 2013 17:47, Nick Ramirez wro

Re: [WiX-users] Duplicate symbol when using CompilerCore.CreateWixSimpleReferenceRow

2013-07-10 Thread John Ludlow
Blair, Yes I have the tables.xml correctly referenced as described above. The error has disappeared. If this pattern is idiomatic for this type of extension, I'm happy. My points above were * The only widely available documentation for this appears to have an error * It would have been b

Re: [WiX-users] Duplicate symbol when using CompilerCore.CreateWixSimpleReferenceRow

2013-07-10 Thread John Ludlow
Hi Blair, Ok, does that mean I've encountered an error in the book, then? The book suggests adding the wixlib to the extension, and I've done that (means I should only have to reference the extension, not the wixlib, right?). However, the sample code in the book does not come with a test install

[WiX-users] Duplicate symbol when using CompilerCore.CreateWixSimpleReferenceRow

2013-07-10 Thread John Ludlow
Hi, My installer has two projects - a Setup Project which emits an .MSI and contains install metadata, and a Setup Library Project which emits a .wixlib which contains install components. The latter makes use of a compiler extension which generates an MSI table based on some child elements of the

Re: [WiX-users] Give NetFx40Redist a local download path?

2013-06-21 Thread John Ludlow
Unsubscribe, then: https://lists.sourceforge.net/lists/listinfo/wix-users On 21 June 2013 15:38, Wesley Wells wrote: > Stop sending me this useless stuff!!! > > -Original Message- > From: Rob Mensching [mailto:r...@robmensching.com] > Sent: Friday, June 21, 2013 9:30 AM > To: General

Re: [WiX-users] Wix CompilerExtension documentation and tutorial?

2013-06-21 Thread John Ludlow
@Blair: I did download WixContrib and the WiX code (which is why I know about the existence of tables.xml). To be honest, I feel like trying to reverse engineer the WixContrib code is a bit futile. In order to understand it, you need to understand certain things about WiX extensions so you know why

[WiX-users] Wix CompilerExtension documentation and tutorial?

2013-06-19 Thread John Ludlow
Hi all, We have a custom action which processes rows in a custom table (the details of this don't matter, but suffice to say some code is run for each record). Currently we are using a CustomTable element in our wxs to implement this, and I think we could do better with a WiX extension. I want to

Re: [WiX-users] Error 1308 (Source File not found) emitted as Info on upgrade

2013-06-03 Thread John Ludlow
ally a big deal. Thanks for your help On 30 May 2013 20:43, John Ludlow wrote: > Thanks Phil, I'll take a look when I get a chance. I have a feeling it's > still in the hash table. > > Thanks again. > > > On 30 May 2013 19:28, Phil Wilson wrote: > >> Have a

Re: [WiX-users] Including UtilExtension & a Fragment

2013-05-30 Thread John Ludlow
I think probably using burn to chain both the JRE installer and the MSI is the best idea. I'm pretty sure the JRE installer is just a bootstrapped MSI, so including it in your MSI won't work (the nested MSI transaction issue). On 30 May 2013 21:06, Alain Forget wrote: > Now I'm really confused

Re: [WiX-users] Error 1308 (Source File not found) emitted as Info on upgrade

2013-05-30 Thread John Ludlow
hash in the MSI > file to not match the actual file, so turn it off for that file unless you > are fixing the MsiFileHash table when you replace the file. > > Phil > > -Original Message- > From: John Ludlow [mailto:john.ludlow...@gmail.com] > Sent: Thursday, May 30, 2

[WiX-users] Recommended way of defining custom actions across multiple wxs files?

2013-05-30 Thread John Ludlow
Hi, While I was looking at refactoring our wxs code, I noticed something odd. I have a structure like this File\File.wixproj File.wxs Install\Install.wixproj Product.wxs CustomAction1.wxs CustomAction2.wxs InstallExecuteSequence.wxs (Note th

Re: [WiX-users] Wix dev and regular dev best practices

2013-05-30 Thread John Ludlow
have Visual Studio installed, or whatever puts them in the default > Microsoft SDK package. > > ApplicationName="My App " BootstrapperItems="@(BootstrapperFile)" > ComponentsLocation="Relative" CopyComponents="True" > OutputPath="$(Outpu

[WiX-users] Error 1308 (Source File not found) emitted as Info on upgrade

2013-05-30 Thread John Ludlow
Hi, I have one MSI, with a bunch of compressed files in an embedded cab, and one readme next to the install as an uncompressed file. This file is still in the installer, it's just got the nonCompressed bit set. This is so we can update the readme right up until release with late-breaking informati

Re: [WiX-users] Wix dev and regular dev best practices

2013-05-30 Thread John Ludlow
We're looking at simply making WiX part of the toolkit you need to build our solutions. We've tried this with some smaller projects and it's worked really well. Developers can follow up on their own impacts, and they can tell when they've broken the install. This increases build quality and frees

Re: [WiX-users] newbie: how to reference variables ? (the doc is confusing)

2013-05-29 Thread John Ludlow
lement? On 29 May 2013 11:36, Benjamin Mayrargue wrote: > 100% understood ! > > This means a 'bundle' creates a msi bootstrapped in an exe. > > B. > > > > 2013/5/29 John Ludlow > > > I think where you're getting confused is that there are

Re: [WiX-users] newbie: how to reference variables ? (the doc is confusing)

2013-05-29 Thread John Ludlow
I think where you're getting confused is that there are more than one type of "variable" in WiX. Firstly, there are preprocessor variables and condition, which are referenced like this: $(var.VariableName) !(var.LateBoundVariableName) $(env.EnvironmentVariableName) !(loc.StringID) These a

Re: [WiX-users] Major upgrade using bootstrapper issue -HELP!!

2013-05-23 Thread John Ludlow
Do you have any duplicate GUIDs in your installer? Also, is the installation path changing when you do the upgrade? (by which I mean, do those files end up in a different folder on the target machine?) On 23 May 2013 15:37, Dave Moss wrote: > Just for a bit of extra information if I run the boo

Re: [WiX-users] (no subject)

2013-05-23 Thread John Ludlow
The simplest method is to use a text edit control: You can also use the MaskedEdit control, with PIDTemplate set to the format for an IP address. This will allow you to have a formatted control that will only accept IP addresses. See the doc for that type of control: http://msdn.microsoft.com/en

Re: [WiX-users] (no subject)

2013-05-23 Thread John Ludlow
Your question isn't entirely clear - do you want to have a text box for an IP address in your install UI (which would depend on whether it's Wix/MSI-based or Burn-based), or do you just want to include a configuration file in your install to be installed along with your app? Or something else...?

Re: [WiX-users] Getting install path from Wix Custom Action

2013-05-20 Thread John Ludlow
You should be able to do something along these lines: foreach (var k in session.CustomActionData.Keys) { session.Log(k + " = " + session.CustomActionData[k]); } But you would have to have set the CA data property for that custom action, I think. On 20 May 2013 18:26, Freedman, Mark

Re: [WiX-users] Getting install path from Wix Custom Action

2013-05-20 Thread John Ludlow
This is probably because your CA is scheduled as immediate, rather than deferred. You need to set Execute=deferred, and Impersonate=no on your CustomAction element. However, this presents a problem - deferred CAs do not get access to properties. Instead, you need to use the CustomActionData specia

Re: [WiX-users] Writing a WiX tutorial

2013-05-20 Thread John Ludlow
Hi Natalie, Have you seen the tutorial at http://wix.tramontana.co.hu/? You may want to emulate this, since it's a good tutorial for general use, but you may want one tailored to your team and your product. You should include topics on things that you use (for example, Burn, patching and early REP

Re: [WiX-users] Uninstall Order [P]

2013-05-02 Thread John Ludlow
It would be interesting, but I'm struggling to imagine out how the syntax would work in your .wxs code if you were able to override this behaviour. You could have two integer attributes on each package (one for install order and one for uninstall order) but I bet that would be hard to maintain if y

Re: [WiX-users] Creating patches

2013-05-02 Thread John Ludlow
I don't think the version number of a binary is taken into account when analysing differences for byte-level patches. Try setting WholeFilesOnly=yes ( http://wix.sourceforge.net/manual-wix3/wix_xsd_patchcreation.htm). On 2 May 2013 10:31, Thomas Due wrote: > Hello, > > I am trying to grasp the

Re: [WiX-users] Set Directory @ Runtime

2013-04-23 Thread John Ludlow
You probably have the action sequenced incorrectly. Make sure it comes after CostFinalize, because it's only at this point that the install understands the parent-child relationship between the directories. Also, read this to see whether the issues described apply to you: http://blogs.msdn.com/b/h

Re: [WiX-users] Why in Preprocessor the "Not Equal To" is "!=" while in conditional string is "<>".

2013-04-18 Thread John Ludlow
<> is also the syntax in Visual Basic, and VB / VBA has always had strong ties to Office, which is where MSI originated from IIRC. On 18 April 2013 13:35, Hans ter Horst wrote: > Thanks, I think I have it working! > > > > On Thu, Apr 18, 2013 at 2:13 PM, Alain Forget wrote: > > > <> is the MyS

Re: [WiX-users] Custom Managed Bootstrapper Application Host behaviour

2013-04-02 Thread John Ludlow
Nice, I'll play with that tomorrow. Thanks On 2 April 2013 19:02, tom wrote: > > Also search in this forum for /AutoDebugAttacher/ class > This is a utility class created by one of the forum members which > automatically attach the active debugger > To the bootstarpper > > > > > -- > View this

Re: [WiX-users] Custom Managed Bootstrapper Application Host behaviour

2013-04-02 Thread John Ludlow
gt; "close when complete"). That means all the customizations you can do to > wixstdba, you can do to the mbapreq. > > > On Tue, Apr 2, 2013 at 4:08 AM, John Ludlow >wrote: > > > Forgot to mention - I'm using WiX 3.6 > > > > > > On 2 April 2013 11:5

Re: [WiX-users] Custom Managed Bootstrapper Application Host behaviour

2013-04-02 Thread John Ludlow
Forgot to mention - I'm using WiX 3.6 On 2 April 2013 11:59, John Ludlow wrote: > Hi, > > I've been looking at developing a custom managed bootstrapper application, > based on the examples in the following articles: > > > http://wrightthisblog.blogspot.co.uk/201

[WiX-users] Custom Managed Bootstrapper Application Host behaviour

2013-04-02 Thread John Ludlow
Hi, I've been looking at developing a custom managed bootstrapper application, based on the examples in the following articles: http://wrightthisblog.blogspot.co.uk/2013/01/part-1-of-writing-your-own-net-based.html http://bryanpjohnston.com/2012/09/28/custom-wix-managed-bootstrapper-application/

  1   2   >