Re: [WiX-users] XmlFile Failed to find node
For the record and anyone curious, It seems to be XmlFile not liking something about the xmlns in the nlog tag, somehow that's preventing it from parsing the other elements. i.e. with a plain in the app.config, those Util:XmlFile's work great. But these in app.config, XmlFile errors: http://www.nlog-project.org/schemas/NLog.xsd"; xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance";> http://www.nlog-project.org/schemas/NLog.xsd";> Cheers, -Jeremy -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] MSU question
I was talking over how to do off-line updates to Windows for some of our systems which only work by "transmission style" file exchange (and are never on public internet), and MSUs came up. I know bootstrappers/burn EXEs support them; however, how does one obtain them in the first place beyond scraping web pages for them? People tell me that SCCM uses raw CABs. Can one just install a CAB somehow? Keith Douglas Statistics Canada | 170 Tunney's Pasture Driveway, Ottawa ON K1A 0T6 Statistique Canada | 170, promenade Tunney's Pasture, Ottawa ON K1A 0T6 keith.doug...@statcan.gc.ca Telephone | Téléphone 613-951-4405 Facsimile | Télécopieur 613-951-1966 Government of Canada | Gouvernement du Canada -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] XmlFile Failed to find node
On Fri, Jan 31, 2014 at 2:42 PM, John Cooper wrote: > Change your ElementPath to have the XPath without the /@value and add a > Name attribute to util:XmlFile with the value "value". It should work. > Thanks for the tip! I tried that change with just the APIURL Util:XmlFile (which was working before), it continued to work OK with that change. But when I add the other Util:XmlFile's back in for the nlog entries, it errors again. Action 15:33:02: ExecXmlFile. ExecXmlFile: Error 0x800710d8: failed to find node: /configuration/nlog/rules/logger in XML file: C:\MyApp\MainApp.exe.config Error 25532. Failed to find node: /configuration/nlog/rules/logger[@writeTo='file'] in XML file: C:\MyApp\MainApp.exe.config, system error: -2147020584 Action ended 15:33:03: InstallFinalize. Return value 3. Action 15:33:03: Rollback. Rolling back action: At the time of this error, before I hit "OK" and it gets rolled back, the .config is present with the contents below. The APIURL is still set to http://localhost instead of the replacement value too (which is weird since that XmlFile entry worked great on its own), I guess it's trying to make a temporary copy of the config somewhere and editing it elsewhere before moving it into place? ... snip ... http://www.nlog-project.org/schemas/NLog.xsd"; xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance";> http://localhost/api"; /> Here are the updated Util:XmlFile's I'm trying: Cheers (from KC too no less, small world)! Jeremy -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Using advertised shortcuts/progid in per user install
Is it possible to use advertised shortcuts/progid in a per user install. I'm installing to the LocalAppDataFolder. I had to add a registry as keypath because of ICE38. But now because the file is no longer the keypath I get ICE19 and ICE50. I don't know much about advertising. Is that a per machine thing? Details on stackoverflow: http://stackoverflow.com/questions/21490035/is-it-possible-to-have-advertised-shortcuts-and-progid-for-a-per-user-msi Wes -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: January-31-14 4:43 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] XmlFile Failed to find node Change your ElementPath to have the XPath without the /@value and add a Name attribute to util:XmlFile with the value "value". It should work. -- John Merryweather Cooper Build & Install Engineer - ESA Jack Henry & Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Jeremy [mailto:s6a9d6...@gmail.com] Sent: Friday, January 31, 2014 2:34 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] XmlFile Failed to find node Hello! I am trying to use a couple XmlFile definitions to edit an app.config file using the WiX 3.8 toolset. I got one XmlFile working perfectly, but am getting a "Failed to find node" node error (-2147020584) with the others, but am a bit stumped as to why. I am not an XPath pro but the failing XmlFile entries are pretty much exactly like the working entry, I'm at a loss as to why one works and the others don't. Here is a stripped down version of the app.config. I'm trying to change that appSettings/APIURL value element (working just fine), as well as the "minlevel" element in those nlog/rules/logger entries. http://www.nlog-project.org/schemas/NLog.xsd"; xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance";> http://localhost/API/"; /> My transforms are relying on these properties if it makes any difference: http://api.test.com/"; /> https://api.real.com/"; /> Here is my first XmlFile transform which is working perfectly: However when I try to target those NLog settings, these are causing the "Failed to find node" errors. These three XmlFile entries are all in the same component which contains my .exe.config file. I also even tried a simpler ElementPath="/configuration/nlog/rules/logger/@minlevel" but that also got "Failed to find node". The XPath query does seem to be correct, at least a couple random online XPath testing websites showed me I really was targeting what I'm trying to target. I also removed the name="*" from those logger lines in the xml config, thinking maybe that was throwing off the parsing somehow, but that didn't make any difference either. I also tried re-ordering the XmlFile entries thinking maybe the first one would work for some strange reason and all extra ones never will work, but that didn't help either. Thanks for any and all assistance! Best wishes Jeremy -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- WatchGuard Dimension instantly turns raw
Re: [WiX-users] XmlFile Failed to find node
Change your ElementPath to have the XPath without the /@value and add a Name attribute to util:XmlFile with the value "value". It should work. -- John Merryweather Cooper Build & Install Engineer - ESA Jack Henry & Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Jeremy [mailto:s6a9d6...@gmail.com] Sent: Friday, January 31, 2014 2:34 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] XmlFile Failed to find node Hello! I am trying to use a couple XmlFile definitions to edit an app.config file using the WiX 3.8 toolset. I got one XmlFile working perfectly, but am getting a "Failed to find node" node error (-2147020584) with the others, but am a bit stumped as to why. I am not an XPath pro but the failing XmlFile entries are pretty much exactly like the working entry, I'm at a loss as to why one works and the others don't. Here is a stripped down version of the app.config. I'm trying to change that appSettings/APIURL value element (working just fine), as well as the "minlevel" element in those nlog/rules/logger entries. http://www.nlog-project.org/schemas/NLog.xsd"; xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance";> http://localhost/API/"; /> My transforms are relying on these properties if it makes any difference: http://api.test.com/"; /> https://api.real.com/"; /> Here is my first XmlFile transform which is working perfectly: However when I try to target those NLog settings, these are causing the "Failed to find node" errors. These three XmlFile entries are all in the same component which contains my .exe.config file. I also even tried a simpler ElementPath="/configuration/nlog/rules/logger/@minlevel" but that also got "Failed to find node". The XPath query does seem to be correct, at least a couple random online XPath testing websites showed me I really was targeting what I'm trying to target. I also removed the name="*" from those logger lines in the xml config, thinking maybe that was throwing off the parsing somehow, but that didn't make any difference either. I also tried re-ordering the XmlFile entries thinking maybe the first one would work for some strange reason and all extra ones never will work, but that didn't help either. Thanks for any and all assistance! Best wishes Jeremy -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] XmlFile Failed to find node
Hello! I am trying to use a couple XmlFile definitions to edit an app.config file using the WiX 3.8 toolset. I got one XmlFile working perfectly, but am getting a "Failed to find node" node error (-2147020584) with the others, but am a bit stumped as to why. I am not an XPath pro but the failing XmlFile entries are pretty much exactly like the working entry, I'm at a loss as to why one works and the others don't. Here is a stripped down version of the app.config. I'm trying to change that appSettings/APIURL value element (working just fine), as well as the "minlevel" element in those nlog/rules/logger entries. http://www.nlog-project.org/schemas/NLog.xsd"; xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance";> http://localhost/API/"; /> My transforms are relying on these properties if it makes any difference: http://api.test.com/"; /> https://api.real.com/"; /> Here is my first XmlFile transform which is working perfectly: However when I try to target those NLog settings, these are causing the "Failed to find node" errors. These three XmlFile entries are all in the same component which contains my .exe.config file. I also even tried a simpler ElementPath="/configuration/nlog/rules/logger/@minlevel" but that also got "Failed to find node". The XPath query does seem to be correct, at least a couple random online XPath testing websites showed me I really was targeting what I'm trying to target. I also removed the name="*" from those logger lines in the xml config, thinking maybe that was throwing off the parsing somehow, but that didn't make any difference either. I also tried re-ordering the XmlFile entries thinking maybe the first one would work for some strange reason and all extra ones never will work, but that didn't help either. Thanks for any and all assistance! Best wishes Jeremy -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Imperfect install leading to repair.
Got it, there was an accidental downgrade of the file's version. I guess I understand why that removes without reinstalling. However, I think I'll have to put some sanity checking against this happening again. Meanwhile, the trick for those playing along at home (:)) is that the "won't downgrade" references the *component GUID*, not the file name. Thanks for clueing me into that possibility, Phil. I am now getting more familiar with logs; I see what one means about them being clear if one knows a few things. Thanks again, everyone. Keith Douglas Statistics Canada | 170 Tunney's Pasture Driveway, Ottawa ON K1A 0T6 Statistique Canada | 170, promenade Tunney's Pasture, Ottawa ON K1A 0T6 keith.doug...@statcan.gc.ca Telephone | Téléphone 613-951-4405 Facsimile | Télécopieur 613-951-1966 Government of Canada | Gouvernement du Canada -Original Message- From: Phil Wilson [mailto:phildgwil...@gmail.com] Sent: January-30-14 1:20 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Imperfect install leading to repair. "Pilot error" is just a euphemism for an error in the MSI. If the component is transitive, for example, it's presence depends on the value of a property that may change in different scenarios. There may be a custom action or other code that removes it. There's just a lot of scope for things to become unglued. What does "not changed between versions" mean? Is the incoming file version the same as the one already on the system? Is the file ever shared with any other products? Could there be anything in the ICE validations that indicates an issue? The missing files are the keypath files of their respective components? We don't know where your RemoveExistingProducts is sequenced, and that affects the behavior of upgrades because version rules get applied when REP is "at the end". Related to stopping services, MSI will wait for them to stop if your ServiceControl "wait" is set to "yes". The log may be horrendous, but it should be possible to look for the usual suspects, such as {guid} not being installed, what the log says about the component being installed, whether there is a file copy entry for it or not. It's hard to believe the entire upgrade log makes no reference to the component name or guid or file name. Also there may be something in the event log at repair time - it'll say the component and product guids, and it's worth a sanity check that they match what you expect. A repair fixes an entire feature, and maybe there's more going on than just that file/component. --- Phil Wilson On Thu, Jan 30, 2014 at 6:04 AM, wrote: > Hi Phil, thanks for answering. > > I don't think this is it; Windows installer 4.x is on Windows 7, correct? > That's the target here (though the symptoms appear on Vista as well). In any > case, this install does not use the GAC. (It does do the implicit "program > files" -> "program files (x86)" map, though). > > What do you mean, "pilot error"? > > > > Keith Douglas > Statistics Canada | 170 Tunney's Pasture Driveway, Ottawa ON K1A 0T6 > Statistique Canada | 170, promenade Tunney's Pasture, Ottawa ON K1A > 0T6 keith.doug...@statcan.gc.ca Telephone | Téléphone 613-951-4405 > Facsimile | Télécopieur 613-951-1966 Government of Canada | > Gouvernement du Canada > > > -Original Message- > From: Phil Wilson [mailto:phildgwil...@gmail.com] > Sent: January-29-14 7:52 PM > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] Imperfect install leading to repair. > > Apart from "pilot error" with components or whatever, it's worth noting that > there is a bug on older OS versions where upgrades lose SxS files, in the GAC > and in WinSxS, repair restores them. > > http://support.microsoft.com/kb/905238/en-us > --- > Phil Wilson > > > On Wed, Jan 29, 2014 at 3:39 PM, Scott Palmer wrote: >> if the install was a major upgrade and that file was in-use during >> the uninstall then it may get deleted on reboot. That happens a lot >> because MSI is too stupid to check if fire that it might install are >> already scheduled to be deleted on reboot. So the new file gets installed >> and then deleted. >> >> Scott >> On Jan 29, 2014 4:56 PM, wrote: >> >>> Hi everyone, >>> >>> I just released a new MSI for an upgraded version of one of our in >>> house applications. This is about the 16th iteration (we've been in >>> testing for most of this, so each new one is a full package with a >>> MajorUpgrade) and all the rest have been successful, until today. One file >>> did not install. >>> If the new MSI is pointed to with Repair, the missing file of our >>> application is installed as it should. Orca shows the file (I >>> checked to ensure I'm not relying on it being already in the file system or >>> the like). >>> This file has not changed between versions. Only the executable and >>> one library changed in this iteration (which is also typical; the >>> other li
Re: [WiX-users] Event Source Manifests and Wix .... is there a good example?
Both of those issues could be fixed. -Original Message- From: Thomas Tomiczek [mailto:t.tomic...@nettecture.com] Sent: Friday, January 31, 2014 9:24 AM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Event Source Manifests and Wix is there a good example? You know - the really crappy thing here? It looks like the provided action either is broken or the documentation really is crappy. Because after checking logs - the right command is called. After reading the syntax, it seems I can give all parameters. Just thigns do not seem to work. And there is NO example of that. Short of giving up. -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 31 January 2014 17:46 To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Event Source Manifests and Wix is there a good example? Welcome to my world. Back in 2001 I knew nothing about IIS or SQL or file shares or any of that stuff. Had to go learn all that to create the IIS, SQL, and FileShare (and other) custom actions. It is disappointing that the teams that create these new technologies don't also provide the necessary enhancements to the installation engine... but they never have. However, over on wix-devs mailing, we know tons (tons!) about creating custom actions and can help through any complications you might have there. Of course, back in 2001 I didn't really know anything about custom actions and didn't have all the WiX helper libraries (yet) so that made creating the custom actions for IIS, SQL, and FileShare (and others) even more challenging. At least you can get a head start on that process. -Original Message- From: Thomas Tomiczek [mailto:t.tomic...@nettecture.com] Sent: Friday, January 31, 2014 5:02 AM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Event Source Manifests and Wix is there a good example? You know, Rob, I may be inclinced to do that - if I would have at least the hint of a clue how that stuff works. The whole Manifest thing is something I totally fail to understand and find documentation. This - and the fact that I am not really into installers and the wix source - makes it kind of hard. I may be willing to spend a week maybe to provide some help here for a 3.9 release, but someone would have to get me into the whole "how is this supposed to actually work" side. Seriously, this post of mine is a good indication here - I have no idea what even is there at the moment. It may well be that things are just supposed to work when called correctly, but I fail to be able to even get a coherent example. For now, I am trying to work along the line of http://rrandomdiscovery.blogspot.com/2009/03/wix-eventmanifest.html - but my events do simply not show up ;( Regards Thomas -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 30 January 2014 20:03 To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Event Source Manifests and Wix is there a good example? If EventManifest can't do it, it'd be ideal to help improve it rather than one off your own custom action. -Original Message- From: Thomas Tomiczek [mailto:t.tomic...@nettecture.com] Sent: Thursday, January 30, 2014 10:44 AM To: General discussion for Windows Installer XML toolset. (wix-users@lists.sourceforge.net) Subject: [WiX-users] Event Source Manifests and Wix is there a good example? Now that the .NET team finally has released a usable version of the event source at https://www.nuget.org/packages/Microsoft.Diagnostics.Tracing.EventSource with v 1.0.16 - one that also supports the admin channel - the task is on me to get it into some of our programs. I am stuck in the installation of the manifests in a proper way (without going to a custom action, what I actually prefer to avoid). According to the sample that uses the event log, they call Wevtutil As: wevtutil im C:\ProgramData\EventSourceSamples\EventSourceTest.Samples-EventSou rceDemos-EventLog.etwManifest.man /rf:"C:\ProgramData\EventSourceSamples\EventSo urceTest.Samples-EventSourceDemos-EventLog.etwManifest.dll" /mf:"C:\ProgramData\ EventSourceSamples\EventSourceTest.Samples-EventSourceDemos-EventLog.etwManifest .dll" And I wonder how to replicate that in WIX. It is clear I need to install the 2 files (the .man and the .dll that are the event source). But how do I formulate that best with the registration? Can util:EventManifest be used here or do I Really need to do a custom action for that (and can someone help me make one)? Regards Thomas -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed i
Re: [WiX-users] Event Source Manifests and Wix .... is there a good example?
You know - the really crappy thing here? It looks like the provided action either is broken or the documentation really is crappy. Because after checking logs - the right command is called. After reading the syntax, it seems I can give all parameters. Just thigns do not seem to work. And there is NO example of that. Short of giving up. -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 31 January 2014 17:46 To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Event Source Manifests and Wix is there a good example? Welcome to my world. Back in 2001 I knew nothing about IIS or SQL or file shares or any of that stuff. Had to go learn all that to create the IIS, SQL, and FileShare (and other) custom actions. It is disappointing that the teams that create these new technologies don't also provide the necessary enhancements to the installation engine... but they never have. However, over on wix-devs mailing, we know tons (tons!) about creating custom actions and can help through any complications you might have there. Of course, back in 2001 I didn't really know anything about custom actions and didn't have all the WiX helper libraries (yet) so that made creating the custom actions for IIS, SQL, and FileShare (and others) even more challenging. At least you can get a head start on that process. -Original Message- From: Thomas Tomiczek [mailto:t.tomic...@nettecture.com] Sent: Friday, January 31, 2014 5:02 AM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Event Source Manifests and Wix is there a good example? You know, Rob, I may be inclinced to do that - if I would have at least the hint of a clue how that stuff works. The whole Manifest thing is something I totally fail to understand and find documentation. This - and the fact that I am not really into installers and the wix source - makes it kind of hard. I may be willing to spend a week maybe to provide some help here for a 3.9 release, but someone would have to get me into the whole "how is this supposed to actually work" side. Seriously, this post of mine is a good indication here - I have no idea what even is there at the moment. It may well be that things are just supposed to work when called correctly, but I fail to be able to even get a coherent example. For now, I am trying to work along the line of http://rrandomdiscovery.blogspot.com/2009/03/wix-eventmanifest.html - but my events do simply not show up ;( Regards Thomas -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 30 January 2014 20:03 To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Event Source Manifests and Wix is there a good example? If EventManifest can't do it, it'd be ideal to help improve it rather than one off your own custom action. -Original Message- From: Thomas Tomiczek [mailto:t.tomic...@nettecture.com] Sent: Thursday, January 30, 2014 10:44 AM To: General discussion for Windows Installer XML toolset. (wix-users@lists.sourceforge.net) Subject: [WiX-users] Event Source Manifests and Wix is there a good example? Now that the .NET team finally has released a usable version of the event source at https://www.nuget.org/packages/Microsoft.Diagnostics.Tracing.EventSource with v 1.0.16 - one that also supports the admin channel - the task is on me to get it into some of our programs. I am stuck in the installation of the manifests in a proper way (without going to a custom action, what I actually prefer to avoid). According to the sample that uses the event log, they call Wevtutil As: wevtutil im C:\ProgramData\EventSourceSamples\EventSourceTest.Samples-EventSou rceDemos-EventLog.etwManifest.man /rf:"C:\ProgramData\EventSourceSamples\EventSo urceTest.Samples-EventSourceDemos-EventLog.etwManifest.dll" /mf:"C:\ProgramData\ EventSourceSamples\EventSourceTest.Samples-EventSourceDemos-EventLog.etwManifest .dll" And I wonder how to replicate that in WIX. It is clear I need to install the 2 files (the .man and the .dll that are the event source). But how do I formulate that best with the registration? Can util:EventManifest be used here or do I Really need to do a custom action for that (and can someone help me make one)? Regards Thomas -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ---
Re: [WiX-users] Event Source Manifests and Wix .... is there a good example?
Welcome to my world. Back in 2001 I knew nothing about IIS or SQL or file shares or any of that stuff. Had to go learn all that to create the IIS, SQL, and FileShare (and other) custom actions. It is disappointing that the teams that create these new technologies don't also provide the necessary enhancements to the installation engine... but they never have. However, over on wix-devs mailing, we know tons (tons!) about creating custom actions and can help through any complications you might have there. Of course, back in 2001 I didn't really know anything about custom actions and didn't have all the WiX helper libraries (yet) so that made creating the custom actions for IIS, SQL, and FileShare (and others) even more challenging. At least you can get a head start on that process. -Original Message- From: Thomas Tomiczek [mailto:t.tomic...@nettecture.com] Sent: Friday, January 31, 2014 5:02 AM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Event Source Manifests and Wix is there a good example? You know, Rob, I may be inclinced to do that - if I would have at least the hint of a clue how that stuff works. The whole Manifest thing is something I totally fail to understand and find documentation. This - and the fact that I am not really into installers and the wix source - makes it kind of hard. I may be willing to spend a week maybe to provide some help here for a 3.9 release, but someone would have to get me into the whole "how is this supposed to actually work" side. Seriously, this post of mine is a good indication here - I have no idea what even is there at the moment. It may well be that things are just supposed to work when called correctly, but I fail to be able to even get a coherent example. For now, I am trying to work along the line of http://rrandomdiscovery.blogspot.com/2009/03/wix-eventmanifest.html - but my events do simply not show up ;( Regards Thomas -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 30 January 2014 20:03 To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Event Source Manifests and Wix is there a good example? If EventManifest can't do it, it'd be ideal to help improve it rather than one off your own custom action. -Original Message- From: Thomas Tomiczek [mailto:t.tomic...@nettecture.com] Sent: Thursday, January 30, 2014 10:44 AM To: General discussion for Windows Installer XML toolset. (wix-users@lists.sourceforge.net) Subject: [WiX-users] Event Source Manifests and Wix is there a good example? Now that the .NET team finally has released a usable version of the event source at https://www.nuget.org/packages/Microsoft.Diagnostics.Tracing.EventSource with v 1.0.16 - one that also supports the admin channel - the task is on me to get it into some of our programs. I am stuck in the installation of the manifests in a proper way (without going to a custom action, what I actually prefer to avoid). According to the sample that uses the event log, they call Wevtutil As: wevtutil im C:\ProgramData\EventSourceSamples\EventSourceTest.Samples-EventSou rceDemos-EventLog.etwManifest.man /rf:"C:\ProgramData\EventSourceSamples\EventSo urceTest.Samples-EventSourceDemos-EventLog.etwManifest.dll" /mf:"C:\ProgramData\ EventSourceSamples\EventSourceTest.Samples-EventSourceDemos-EventLog.etwManifest .dll" And I wonder how to replicate that in WIX. It is clear I need to install the 2 files (the .man and the .dll that are the event source). But how do I formulate that best with the registration? Can util:EventManifest be used here or do I Really need to do a custom action for that (and can someone help me make one)? Regards Thomas -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users --
[WiX-users] [SPAM] Component Attributes
I am probably over looking something simple, but in a Wix Custom Table Row element, how do I indicate that I want the data in that row (to be passed to a CA) to be a component's attributes? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Component-Attributes-tp7592263.html Sent from the wix-users mailing list archive at Nabble.com. -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Do Not Remove Pinned Taskbar Shortcuts on Install or Upgrade (Windows 7)
Guess I misunderstood the question. On Thu, Jan 23, 2014 at 6:40 PM, Nicolás Alvarez wrote: > "Permanent" would make it stay after an uninstall too, which is > probably not wanted. > > -- > Nicolás > > 2014/1/23 Jeremiahf : > > Permanent="yes"> > > > > > > > > On Thu, Jan 23, 2014 at 9:47 AM, C B wrote: > > > >> During an installation or major upgrade, if a user has pinned the > >> application to their task bar, then after the installation has > completed, > >> the taskbar shortcut is removed from > "\AppData\Roaming\Microsoft\Internet > >> Explorer\Quick Launch\User Pinned\TaskBar". The shortcut remains inside > the > >> taskbar, but a blank-file icon (see image link below) is left in its > place. > >> Clicking the shortcut will cause it to disappear immediately. > >> > >> http://i.stack.imgur.com/kz1zW.png > >> > >> I would like to make it such that the taskbar shortcut is not removed at > >> all when installing or running a major upgrade. It can be frustrating if > >> the taskbar shortcut breaks during every update (updates are weekly). > >> > >> Is this possible? I've read about modifying the value for > >> RemoveExistingProducts (i.e. changing from InstallValidate to > >> InstallFinalize), but I do not know if this will be viable alternative > at > >> this point due to the components used. > >> > >> Thanks. > > > -- > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- "They may forget what you said but they will never forget how you made them feel." -- Anonymous -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Create a new custom step for a WixUI_Advanced installer
We have no power to change the model of this community. However, many of us do actively participate over at StackOverflow.com also. That's a great Developer Q&A site. From: Gustavo Martins Sent: Friday, January 31, 2014 7:27 AM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Create a new custom step for a WixUI_Advanced installer Thanks a lot for the replies. I just noticed they had been flagged as spam :(As a side note, you guy should consider a friendlier way to communicate, like Discourse or Disqus, instead of a mailing list... Best regards,Gustavo > From: chr...@iswix.com > To: wix-users@lists.sourceforge.net > Date: Tue, 28 Jan 2014 11:35:04 + > Subject: Re: [WiX-users] Create a new custom step for a WixUI_Advanced > installer > > > ISWIX (CodePlex) has a project template that does exactly this. You say > File | New | IsWiX Solution and it'll create a Foo.sln, Foo.wixproj and > FooMM.wixproj. In the Foo.wixproj it'll add a reference to wixui and create > a fragment that includes it. It also creates another fragment that defines a > 'interior' custom dialog. You uncomment one line of code in the first > fragment and presto you have what you are looking for. > > Even if you don't want to use ISWIX you can still look at the generated > project to get a feel for how to do it in your own. > > > From: Blair Murri > Sent: Tuesday, January 28, 2014 3:40 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Create a new custom step for a WixUI_Advanced > installer > > http://wixtoolset.org/documentation/manual/v3/wixui/wixui_customizations.html > : Section “Inserting a custom dialog into a built-in dialog set” > > > > > > > Blair > > > > > > From: Gustavo Martins > Sent: Monday, January 27, 2014 6:38 AM > To: General discussion for Windows Installer XML toolset. > > > > > > Hi, > > > I’m evaluating Wix and I hope someone can give me some clarification on a > question I have. > > I have an installer configured using WixUI_Advanced but I want to extend it > by adding a new step to the middle of the setup process. > > > The idea is to have a new screen with two buttons, one of them invoking some > custom C# code and the other for moving to the next workflow process. > > > Is this possible to implement? I read about custom actions, I also saw we can > build our own setup screens, but I’m not sure if I can do this and hook it up > to the WixUI_Advanced setup template. > > > Any ideas? > > > Thank you in advance, > > Gustavo > > > > > > > Sent from Windows Mail > -- > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- > WatchGuard Dimension instantly turns raw network data into actionable > security intelligence. It gives you real-time visual feedback on key > security issues and trends. Skip the complicated setup - simply import > a virtual appliance and go from zero to informed in seconds. > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- > WatchGuard Dimension instantly turns raw network data into actionable > security intelligence. It gives you real-time visual feedback on key > security issues and trends. Skip the complicated setup - simply import > a virtual appliance and go from zero to informed in seconds. > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net
Re: [WiX-users] Create a new custom step for a WixUI_Advanced installer
Thanks a lot for the replies. I just noticed they had been flagged as spam :(As a side note, you guy should consider a friendlier way to communicate, like Discourse or Disqus, instead of a mailing list... Best regards,Gustavo > From: chr...@iswix.com > To: wix-users@lists.sourceforge.net > Date: Tue, 28 Jan 2014 11:35:04 + > Subject: Re: [WiX-users] Create a new custom step for a WixUI_Advanced > installer > > > ISWIX (CodePlex) has a project template that does exactly this. You say > File | New | IsWiX Solution and it'll create a Foo.sln, Foo.wixproj and > FooMM.wixproj. In the Foo.wixproj it'll add a reference to wixui and create > a fragment that includes it. It also creates another fragment that defines a > 'interior' custom dialog. You uncomment one line of code in the first > fragment and presto you have what you are looking for. > > Even if you don't want to use ISWIX you can still look at the generated > project to get a feel for how to do it in your own. > > > From: Blair Murri > Sent: Tuesday, January 28, 2014 3:40 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Create a new custom step for a WixUI_Advanced > installer > > http://wixtoolset.org/documentation/manual/v3/wixui/wixui_customizations.html > : Section “Inserting a custom dialog into a built-in dialog set” > > > > > > > Blair > > > > > > From: Gustavo Martins > Sent: Monday, January 27, 2014 6:38 AM > To: General discussion for Windows Installer XML toolset. > > > > > > Hi, > > > I’m evaluating Wix and I hope someone can give me some clarification on a > question I have. > > I have an installer configured using WixUI_Advanced but I want to extend it > by adding a new step to the middle of the setup process. > > > The idea is to have a new screen with two buttons, one of them invoking some > custom C# code and the other for moving to the next workflow process. > > > Is this possible to implement? I read about custom actions, I also saw we can > build our own setup screens, but I’m not sure if I can do this and hook it up > to the WixUI_Advanced setup template. > > > Any ideas? > > > Thank you in advance, > > Gustavo > > > > > > > Sent from Windows Mail > -- > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- > WatchGuard Dimension instantly turns raw network data into actionable > security intelligence. It gives you real-time visual feedback on key > security issues and trends. Skip the complicated setup - simply import > a virtual appliance and go from zero to informed in seconds. > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- > WatchGuard Dimension instantly turns raw network data into actionable > security intelligence. It gives you real-time visual feedback on key > security issues and trends. Skip the complicated setup - simply import > a virtual appliance and go from zero to informed in seconds. > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Event Source Manifests and Wix .... is there a good example?
You know, Rob, I may be inclinced to do that - if I would have at least the hint of a clue how that stuff works. The whole Manifest thing is something I totally fail to understand and find documentation. This - and the fact that I am not really into installers and the wix source - makes it kind of hard. I may be willing to spend a week maybe to provide some help here for a 3.9 release, but someone would have to get me into the whole "how is this supposed to actually work" side. Seriously, this post of mine is a good indication here - I have no idea what even is there at the moment. It may well be that things are just supposed to work when called correctly, but I fail to be able to even get a coherent example. For now, I am trying to work along the line of http://rrandomdiscovery.blogspot.com/2009/03/wix-eventmanifest.html - but my events do simply not show up ;( Regards Thomas -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 30 January 2014 20:03 To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Event Source Manifests and Wix is there a good example? If EventManifest can't do it, it'd be ideal to help improve it rather than one off your own custom action. -Original Message- From: Thomas Tomiczek [mailto:t.tomic...@nettecture.com] Sent: Thursday, January 30, 2014 10:44 AM To: General discussion for Windows Installer XML toolset. (wix-users@lists.sourceforge.net) Subject: [WiX-users] Event Source Manifests and Wix is there a good example? Now that the .NET team finally has released a usable version of the event source at https://www.nuget.org/packages/Microsoft.Diagnostics.Tracing.EventSource with v 1.0.16 - one that also supports the admin channel - the task is on me to get it into some of our programs. I am stuck in the installation of the manifests in a proper way (without going to a custom action, what I actually prefer to avoid). According to the sample that uses the event log, they call Wevtutil As: wevtutil im C:\ProgramData\EventSourceSamples\EventSourceTest.Samples-EventSou rceDemos-EventLog.etwManifest.man /rf:"C:\ProgramData\EventSourceSamples\EventSo urceTest.Samples-EventSourceDemos-EventLog.etwManifest.dll" /mf:"C:\ProgramData\ EventSourceSamples\EventSourceTest.Samples-EventSourceDemos-EventLog.etwManifest .dll" And I wonder how to replicate that in WIX. It is clear I need to install the 2 files (the .man and the .dll that are the event source). But how do I formulate that best with the registration? Can util:EventManifest be used here or do I Really need to do a custom action for that (and can someone help me make one)? Regards Thomas -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users