Re: [WiX-users] [Wix] How to pass an argument to MSI with in EXE file?
Thanks Phill, its working fine... On Thu, Sep 12, 2013 at 6:50 PM, Phill Hogland wrote: > The approach I take to do this is: > > 1) in the Bootstrapper, as a child of your Bundle element, declare a > variable that has bal:Overridable='yes'. > 2) then under the MsiPackage use the MsiProperty to set the Property to the > value of the variable. > 3) Launch the bundle with MyFile.exe MODEL=Xxxx (and don't use /v in this > situation). > >> bal:Overridable='yes' /> > > > > Launching the bundle as 'MyFile.exe MODEL=Nnnn' causes the MsiProperty to > get set to "Nnnn". > > ... > > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-How-to-pass-an-argument-to-MSI-with-in-EXE-file-tp7588907p7588914.html > Sent from the wix-users mailing list archive at Nabble.com. > > > -- > How ServiceNow helps IT people transform IT departments: > 1. Consolidate legacy IT systems to a single system of record for IT > 2. Standardize and globalize service processes across IT > 3. Implement zero-touch automation to replace manual, redundant tasks > http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom Action, feature condition and silent install
Okay lets get more info :) Are you running this in a merge module or within the product.wxs file? What does your code for the customaction look like please? So the custom action and the installexecutesequence as well Steve -Original Message- From: Ralph [mailto:ralph.gu...@racelogic.co.uk] Sent: September-12-13 11:44 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom Action, feature condition and silent install No custom action is executed and no property is set: Action start 16:32:54: CostFinalize. MSI (s) (A0:CC) [16:32:54:363]: Doing action: InstallValidate MSI (s) (A0:CC) [16:32:54:363]: Note: 1: 2205 2: 3: ActionText Action ended 16:32:54: CostFinalize. Return value 1. MSI (s) (A0:CC) [16:32:54:364]: PROPERTY CHANGE: Deleting MsiRestartManagerSessionKey property. Its current value is '03e76f63926bb84db170df7f84ed9635'. MSI (s) (A0:CC) [16:32:54:364]: Feature: ABC; Installed: Absent; Request: Null; Action: Null ... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-feature-condition-and-silent-install-tp7588916p7588924.html Sent from the wix-users mailing list archive at Nabble.com. -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Modifying MSU files with WiX
2013/9/12 Idan Freiberg : > Hello all! > Is it possible to modify .Msu file metadata or files using wix? > > Can i re-archive .msu with changed content ? .msu files are Windows Updates. Even if there was a technical way to modify them, it'd probably violate the update's license if you do. -- Nicolás -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Service Install Password not sent correctly toWindows Service
Thanks guys for all your help. I am now able to send password and start windows service using util:user as mentioned in the format below. My next problem, is how should I handle them for patch release? I am able to build Patch1.msp by following steps: 1.Create Patch1.msi 2.Compare RTM.msi and Patch1.msi using Torch and Pyro;and generate Patch1.msp When I try to install them, I get a fatal error. Below is the extract from verbose log. Action 12:28:41: CreateUser. MSI (s) (2C:90) [12:28:41:010]: Executing op: CustomActionSchedule(Action=CreateUser,ActionType=11265,Source=BinaryDat a,Target=**,CustomActionData=**) MSI (s) (2C:90) [12:28:41:026]: Creating MSIHANDLE (1064) of type 790536 for thread 400 MSI (s) (2C:2C) [12:28:41:026]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI23.tmp, Entrypoint: CreateUser MSI (s) (2C!5C) [12:28:41:479]: Creating MSIHANDLE (1065) of type 790531 for thread 2908 CreateUser: Error 0x80070103: failed to read attributes from custom action data MSI (s) (2C!5C) [12:28:41:479]: Closing MSIHANDLE (1065) of type 790531 for thread 2908 MSI (s) (2C:2C) [12:28:41:495]: Closing MSIHANDLE (1064) of type 790536 for thread 400 Action ended 12:28:41: InstallFinalize. Return value 3. Any help on this would be much appreciated. Thanks -Original Message- From: Dexter [mailto:d8x...@hotmail.com] Sent: 10 September 2013 21:48 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Service Install Password not sent correctly toWindows Service Use the User Element from the Util Extension to grant the user LogonAsService permission. If you only want to grant permission to an existing user the section would look something like this: -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Service-In stall-Password-not-sent-correctly-to-Windows-Service-tp754p7588892.h tml Sent from the wix-users mailing list archive at Nabble.com. -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clk trk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users __ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com __ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which it is addressed and may contain information which is privileged, confidential or prohibited from disclosure or unauthorised use. You are hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message or its attachments other than by it's intended recipient is strictly prohibited by the sender. If you have received this email in error, please notify the system manager by email at ad...@ifdspercana.com Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, this email has been scanned for the presence of viruses. The recipient should also check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email __ IFDS Percana Group Limited, no. 307152, is registered in Ireland at 16 Joyce Way, Park West Business Park, Dublin 12, Ireland. Directors: Eugene Larmon, Patrick Concannon, William Slattery, Paul O'Neil (UK), Simon Hudson-Lund (UK) and Stephen Parkinson (UK) IFDS Percana International Managed Services Limited, no. 368022, is regulated by the Central Bank of Ireland. Registered in Ireland at 16 Joyce Way, Park West Business Park, Dublin 12, Ireland. IFDS Percana International Managed Services Limited is a wholly owned subsidiary of IFDS Percana Group Limited and provides support services to the life and pensions industry. Directors: Eugene Larmon, Patrick Concannon, Stephen Parkinson (UK) and Paul O'Neil (UK). www.ifdspercana.com __ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com
Re: [WiX-users] Custom Action, feature condition and silent install
Turn logging on: Run your MSI and look for CostFinalize and then check to see if the custom action is being properly run and that your MSI property is being set... -Original Message- From: Ralph [mailto:ralph.gu...@racelogic.co.uk] Sent: September-12-13 10:38 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom Action, feature condition and silent install Steven Ogilvie wrote > Have you tried After CostFinalize Unfortunately it doesn't work either... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-feature-condition-and-silent-install-tp7588916p7588918.html Sent from the wix-users mailing list archive at Nabble.com. -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] [SPAM] Re: When will 3.8 RC be available?
I agree. On Wed, Sep 11, 2013 at 9:15 PM, Ivanoff, Alex wrote: > VS 2013 will RTM in October. It would be nice to have released version of > WiX that supports it. > > > -Original Message- > From: Rob Mensching [mailto:r...@robmensching.com] > Sent: Wednesday, September 11, 2013 23:05 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] When will 3.8 RC be available? > > WiX v3.8 schedule is not yet decided. These pieces of data may be useful: > > 1. http://www.youtube.com/watch?v=qS2S1uHcSFU > 2. http://www.joyofsetup.com/2013/09/05/wix-v3-x-the-new-stable-wix-plan/ > > > On Wed, Sep 11, 2013 at 1:18 PM, Jeremiahf wrote: > > > a stable RC that is. :) > > > > > > On Wed, Sep 11, 2013 at 3:10 PM, Jeremiahf wrote: > > > > > Just Curious. There are some fixes I have read about that I could > > > utilize.. E.g. "The CustomAction element needs a HideTarget as well. > > > That'd be a bug in the > > > WiX toolset." -RM > > > > > > There are some custom actions that I have that contain passwords in > > > plain text and I cannot get to not display in plain text. I have > > > included HideTarget="yes" and it has no affect. > > > Thoughts? > > > > > > Thank you, > > > > > > J > > > > > > > > > > > > > > > -- > > "They may forget what you said but they will never forget how you made > > them feel." -- Anonymous > > > > -- > > How ServiceNow helps IT people transform IT departments: > > 1. Consolidate legacy IT systems to a single system of record for IT > > 2. Standardize and globalize service processes across IT 3. Implement > > zero-touch automation to replace manual, redundant tasks > > http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.c > > lktrk ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > -- > How ServiceNow helps IT people transform IT departments: > 1. Consolidate legacy IT systems to a single system of record for IT 2. > Standardize and globalize service processes across IT 3. Implement > zero-touch automation to replace manual, redundant tasks > http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- > How ServiceNow helps IT people transform IT departments: > 1. Consolidate legacy IT systems to a single system of record for IT > 2. Standardize and globalize service processes across IT > 3. Implement zero-touch automation to replace manual, redundant tasks > http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Disable logging for msi package included in Burn setup
I have a Burn Setup with some msi package, the log for each package isnear 100MB so to speed up the installation I'd like to disable the log for the single msi package, but I'd like to preserve the logging for the Burn package. How to make this? I haven't found an option to enable the loggin in the MSIPackage element. -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom Action, feature condition and silent install
No custom action is executed and no property is set: Action start 16:32:54: CostFinalize. MSI (s) (A0:CC) [16:32:54:363]: Doing action: InstallValidate MSI (s) (A0:CC) [16:32:54:363]: Note: 1: 2205 2: 3: ActionText Action ended 16:32:54: CostFinalize. Return value 1. MSI (s) (A0:CC) [16:32:54:364]: PROPERTY CHANGE: Deleting MsiRestartManagerSessionKey property. Its current value is '03e76f63926bb84db170df7f84ed9635'. MSI (s) (A0:CC) [16:32:54:364]: Feature: ABC; Installed: Absent; Request: Null; Action: Null ... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-feature-condition-and-silent-install-tp7588916p7588924.html Sent from the wix-users mailing list archive at Nabble.com. -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Modifying MSU files with WiX
Hello all! Is it possible to modify .Msu file metadata or files using wix? Can i re-archive .msu with changed content ? Thx. -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] When will 3.8 RC be available?
Thanks for the info Rob. Cheers, J On Wed, Sep 11, 2013 at 11:05 PM, Rob Mensching wrote: > WiX v3.8 schedule is not yet decided. These pieces of data may be useful: > > 1. http://www.youtube.com/watch?v=qS2S1uHcSFU > 2. http://www.joyofsetup.com/2013/09/05/wix-v3-x-the-new-stable-wix-plan/ > > > On Wed, Sep 11, 2013 at 1:18 PM, Jeremiahf wrote: > > > a stable RC that is. :) > > > > > > On Wed, Sep 11, 2013 at 3:10 PM, Jeremiahf wrote: > > > > > Just Curious. There are some fixes I have read about that I could > > > utilize.. E.g. "The CustomAction element needs a HideTarget as well. > > > That'd be a bug in the > > > WiX toolset." -RM > > > > > > There are some custom actions that I have that contain passwords in > plain > > > text and I cannot get to not display in plain text. I have included > > > HideTarget="yes" and it has no affect. > > > Thoughts? > > > > > > Thank you, > > > > > > J > > > > > > > > > > > > > > > -- > > "They may forget what you said but they will never forget how you made > them > > feel." -- Anonymous > > > > > -- > > How ServiceNow helps IT people transform IT departments: > > 1. Consolidate legacy IT systems to a single system of record for IT > > 2. Standardize and globalize service processes across IT > > 3. Implement zero-touch automation to replace manual, redundant tasks > > > http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > -- > How ServiceNow helps IT people transform IT departments: > 1. Consolidate legacy IT systems to a single system of record for IT > 2. Standardize and globalize service processes across IT > 3. Implement zero-touch automation to replace manual, redundant tasks > http://pubads.g.doubleclick.net/gampad/clk?id=5127&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 -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Filter/Exclude subfolders when harvesting with heat & xslt
Hello all, I have been trying to find information or an example to filter/exclude a particular folder in a directory that is getting harvested by heat. I currently am using -t Filter.xslt within the heat command line to exclude certain binaries from being harvested successfully. However, instead of listing a ton of files in the filter list I would like to just exclude a particular subfolder in one line. :) Here is an example of the xslt file I am using. http://www.w3.org/1999/XSL/Transform"; xmlns:wix="http://schemas.microsoft.com/wix/2006/wi";> Is anyone familiar with the using .xslt and how to filter/exclude specified target folders from being harvested? Thank you, J -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Modifying MSU files with WiX
As far as I know, MSU format is not documented. Have you seen documentation for it somewhere? We have not attempted to reverse engineer the format. On Thu, Sep 12, 2013 at 7:46 AM, Idan Freiberg wrote: > Hello all! > Is it possible to modify .Msu file metadata or files using wix? > > Can i re-archive .msu with changed content ? > > Thx. > > -- > How ServiceNow helps IT people transform IT departments: > 1. Consolidate legacy IT systems to a single system of record for IT > 2. Standardize and globalize service processes across IT > 3. Implement zero-touch automation to replace manual, redundant tasks > http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Burn and uninstall condition for optional product
Hi all - I just changed one of our installers from the old VS2010 bootstrapper to the burn 3.7 and am generally liking it. I do have a question about the best way to approach one scenario though. The main product, let's call it "Q", can have another optional product installed, say "B". Ideally Q should not be uninstalled before B is uninstalled. The way this was done in the past is a launch condition in Q's MSI which looks for a registry entry set by B. If Q was uninstalled before B, then an error message box would pop up. The problem is that on uninstall with Burn the message box showing the error "Sorry you must uninstall B first" is suppressed. The uninstall fails, and the user is prompted to look at the Burn log, which doesn't say much. The MSI log does have the message, but the user would have to know to look there, and for end users we'd really prefer to have something more friendly. Right now we are using the standard BA. I know it's possible to have bundle conditions and MSI package conditions, but I'm not sure if we can detect the uninstall at that level. I was thinking of moving the uninstall launch condition from Q's MSI into the bootstrapper, but am not sure if this would be the right way to go. Thanks for any assistance/guidance ! -Rob -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] [SPAM] Re: Is the website wixtoolset.org down ?
Back with limited service... data recovery expected to go late into Friday night. Hopefully after that, *everything* will be back. On Wed, Sep 11, 2013 at 9:18 PM, Albert van Peppen wrote: > You can find an archive of WiX at: > http://madbutcher.dyndns.org/snippets/wix/ > Which has the all latest released available WiX files. > > Albert van Peppen > > BTW Just found that wixtoolset.org is back ;) > > -Oorspronkelijk bericht- > Van: Phill Hogland [mailto:phogl...@rimage.com] > Verzonden: 11 September 2013 17:58 > Aan: wix-users@lists.sourceforge.net > Onderwerp: Re: [WiX-users] Is the website wixtoolset.org down ? > > Yes the wixtoolset.org web site is still down which means that the > wix38.exe setup which I have does not run and install on my new build > server. However another approach is to go to wix.codeplex.com, select > the Source Code tab, select Wix38 in the browse changes, and then click on > Download. This delivers a zip of the source code. > > I extracted the zip to a folder and then I built it as a Debug build, in > my situation. (There are additional steps necessary to create a Release > build, but I will wait for the web site to be repaired and download a > release package for that purpose.) > > I had previously installed Wix 3.7 on my build system, so initially I had > difficulty getting the downloaded source code to build. IIRC, I had VS2010 > open without opening any wix project. I opened a VS command box with Admin > privileges (which reportedly is only needed for executing 'msbuild source>\tools\OneTimeWixBuildInitialization.proj'). > > I also did: > msbuild \wix.proj /t:Clean (after several unsuccessful > builds) > msbuild \wix.proj (which is the same as also using > /p:Configuration=Debug) > > I tried to use the process in 'Integrating WiX Projects Into Daily Builds' > in the chm but ran into various issues. The changes that worked for me > were: > > 1) Create a debug.targets (which I save in a higher level folder and > import into each of my wix projects). It has basically this structure, and > does not need to be specific to a Debug configuration but that was my > focus.) This code could also be added directly to each project file, but > when maintaining more than one project the .targets route is easier to > maintain. > > > >> > > On each of my build systems I define a System Envronment variable > 'SvnInstallsDirSl' which points at the root of my SVN checkout. > > For each Wix project (setup, bootstrapper, or lib) I do the following by > editing the project file directly (in V2010 right click the project to > 'Unload' it, then right-click to Edit it, the reload it). > 1) add the the code snippet (in the comments of the above file) to the end > of the existing 'Debug' PropertyGroup, adjusting the relative path as > needed. > 2) If there are any 'WixExtension elements in an ItemGroup, with a > HintPath, > replace the relative path with '$(WixToolPath)WixXxxxExtension.dll' NOTE > that the WixToolPath has a trailing backslash so there is none specified > in this path. This and the fact that I included the new target prior to > this point, fixes the x64 platform issue that others run into when doing > the chm process. > > Now when I open the project in VS2010 and set the configuration to Debug, > all> > > >C:\Development\Installs\ > >False >$(SvnInstallsDirSl)Tools\WiX_3.8_Debug\build\debug\x86\ >$(WixToolPath)\Wix.targets > $(WixToolPath)\wixtasks.dll > $(WixToolPath)\Lux.targets >$(WixToolPath)\LuxTasks.dll > >$(WixToolPath) > >Debug;TRACE >
Re: [WiX-users] Custom Action, feature condition and silent install
If that log extract is correct (and verbose), the custom action isn't actually in the MSI file. If it failed or wasn't called because of the condition there would be something in the log. I'd verify that it really is there, using Orca. Incidentally, after CostFinalize is too late because CostFinalize is what looks at the feature conditions. Phil Wilson On Thu, Sep 12, 2013 at 9:31 AM, John Cooper wrote: > You're going to have to run in both sequences for it to have an effect > during the UI sequence. Also, keep in mind that only properties that are > both public and marked with the Secure attribute will cross over to/from UI > and Exec. Probably, you want to mark the CustomAction with firstSequence > so it only runs in the first of UI or Exec that runs it. > > -- > John Merryweather Cooper > Build & Install Engineer -- ESA > Jack Henry & Associates, Inc.(r) > Shawnee Mission, KS 66227 > Office: 913-341-3434 x791011 > jocoo...@jackhenry.com > www.jackhenry.com > > > > -Original Message- > From: Ralph [mailto:ralph.gu...@racelogic.co.uk] > Sent: Thursday, September 12, 2013 11:21 AM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Custom Action, feature condition and silent > install > > It is product.wxs file. > > The feature should not be displayed in the UI if the version of the third > party application is equal or greater than 5. If the version is older than > 5 or the third party application is not installed, the feature should > appear in the UI (and be installed by default in silent mode). > > Everything works reliably when the UI is enabled and the custom action is > in InstallUISequence. Moving the custom action to InstallExecuteSequence > prevents it from being run at all. > > Product.wxs file contains: > > > The custom action: > > > > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-feature-condition-and-silent-install-tp7588916p7588929.html > Sent from the wix-users mailing list archive at Nabble.com. > > > -- > How ServiceNow helps IT people transform IT departments: > 1. Consolidate legacy IT systems to a single system of record for IT 2. > Standardize and globalize service processes across IT 3. Implement > zero-touch automation to replace manual, redundant tasks > http://pubads.g.doubleclick.net/gampad/clk?id=5127&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. > > > > -- > How ServiceNow helps IT people transform IT departments: > 1. Consolidate legacy IT systems to a single system of record for IT > 2. Standardize and globalize service processes across IT > 3. Implement zero-touch automation to replace manual, redundant tasks > http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom Action, feature condition and silent install
It is product.wxs file. The feature should not be displayed in the UI if the version of the third party application is equal or greater than 5. If the version is older than 5 or the third party application is not installed, the feature should appear in the UI (and be installed by default in silent mode). Everything works reliably when the UI is enabled and the custom action is in InstallUISequence. Moving the custom action to InstallExecuteSequence prevents it from being run at all. Product.wxs file contains: The custom action: -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-feature-condition-and-silent-install-tp7588916p7588929.html Sent from the wix-users mailing list archive at Nabble.com. -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom Action, feature condition and silent install
You're going to have to run in both sequences for it to have an effect during the UI sequence. Also, keep in mind that only properties that are both public and marked with the Secure attribute will cross over to/from UI and Exec. Probably, you want to mark the CustomAction with firstSequence so it only runs in the first of UI or Exec that runs it. -- John Merryweather Cooper Build & Install Engineer -- ESA Jack Henry & Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Ralph [mailto:ralph.gu...@racelogic.co.uk] Sent: Thursday, September 12, 2013 11:21 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom Action, feature condition and silent install It is product.wxs file. The feature should not be displayed in the UI if the version of the third party application is equal or greater than 5. If the version is older than 5 or the third party application is not installed, the feature should appear in the UI (and be installed by default in silent mode). Everything works reliably when the UI is enabled and the custom action is in InstallUISequence. Moving the custom action to InstallExecuteSequence prevents it from being run at all. Product.wxs file contains: The custom action: -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-feature-condition-and-silent-install-tp7588916p7588929.html Sent from the wix-users mailing list archive at Nabble.com. -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&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. -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom Action, feature condition and silent install
What does your log file say? -Original Message- From: Ralph [mailto:ralph.gu...@racelogic.co.uk] Sent: September-12-13 10:38 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom Action, feature condition and silent install Steven Ogilvie wrote > Have you tried After CostFinalize Unfortunately it doesn't work either... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-feature-condition-and-silent-install-tp7588916p7588918.html Sent from the wix-users mailing list archive at Nabble.com. -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Custom Action, feature condition and silent install
I have a custom action which detects the version of some installed third party library and assigns the version to some property. Then I have a condition reading that property to enable or disable a feature. If I put the custom action into InstallUISequence it works very well with the UI, but does not work in silent mode, because no InstallUISequence is executed. I found a few similar issues discussed on this forum and the advice was to move the custom action to InstallExecuteSequence. My question is: where exactly? If I write Before="LaunchConditions" the custom action has no influence on the feature. The code looks like this: -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-feature-condition-and-silent-install-tp7588916.html Sent from the wix-users mailing list archive at Nabble.com. -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom Action, feature condition and silent install
Steven Ogilvie wrote > Have you tried After CostFinalize Unfortunately it doesn't work either... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-feature-condition-and-silent-install-tp7588916p7588918.html Sent from the wix-users mailing list archive at Nabble.com. -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom Action, feature condition and silent install
Have you tried After CostFinalize -Original Message- From: Ralph [mailto:ralph.gu...@racelogic.co.uk] Sent: September-12-13 10:17 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom Action, feature condition and silent install I have a custom action which detects the version of some installed third party library and assigns the version to some property. Then I have a condition reading that property to enable or disable a feature. If I put the custom action into InstallUISequence it works very well with the UI, but does not work in silent mode, because no InstallUISequence is executed. I found a few similar issues discussed on this forum and the advice was to move the custom action to InstallExecuteSequence. My question is: where exactly? If I write Before="LaunchConditions" the custom action has no influence on the feature. The code looks like this: -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-feature-condition-and-silent-install-tp7588916.html Sent from the wix-users mailing list archive at Nabble.com. -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] torch transforms
Thanks a lot for your assistance. Best regards, Enrique Domínguez -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] [Wix] How to pass an argument to MSI with in EXE file?
The approach I take to do this is: 1) in the Bootstrapper, as a child of your Bundle element, declare a variable that has bal:Overridable='yes'. 2) then under the MsiPackage use the MsiProperty to set the Property to the value of the variable. 3) Launch the bundle with MyFile.exe MODEL=Xxxx (and don't use /v in this situation).Launching the bundle as 'MyFile.exe MODEL=Nnnn' causes the MsiProperty to get set to "Nnnn". ... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-How-to-pass-an-argument-to-MSI-with-in-EXE-file-tp7588907p7588914.html Sent from the wix-users mailing list archive at Nabble.com. -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Web.config file issues when using Heat with multiple Web Application Projects
Hi all, I'm currently trying to put together an installer which will deploy 4 Web Applications to a set of servers. This means there are 4 separate Web Application directories with 4 separate (and different) versions of the Web.config file. I'm using Heat to generate the .wxs files for the Web Applications, however it only appears to be giving each instance of the Web.config the Source="SourceDir\Web.config", which I believe is resulting in only the first Web.config being used for each of the Web Applications (which is causing the other three to not work). I'm also using Visual Studio 2012, and Votive (I believe..). So I've got the following at the end of my .wixproj file . $(DefineConstants);%(ProjectReference.Name).PackageDir=%(ProjectReference.Ro otDir)%(ProjectReference.Directory)obj\$(Configuration)\Package\PackageTmp\ The PreprocessorVariable stuff on the HeatDirectory action is my attempt at fixing the issue. However I don't seem to be able to get the DefineConstants working properly (it's only ever assigning one path, not the remaining three). The initial version (which I found via google searches), didn't have any PreprocessorVariable, and had the exact issue I mention above. This new version appears better (has unique Source paths), but doesn't compile because of the lacking Defines. I can attach the actual .wxs file outputs if desired, however I didn't think they would be so beneficial to send just yet. I would have expected others would have come upon this issue before.. Unless it's something that a recent version of WiX has brought up. I'm running v3.7. Any help would be greatly appreciated. Regards, Bevan Weiss -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] torch transforms
Yes, I keep forgetting that WixVariables and binder variables are both resolved in the binder and not the linker. I'm thinking of writing a binder for patching does everything the binder would do except actually assemble the MSI and associated cabs. Then you could melt your baseline MSI, pass wixpdbs to torch, and avoid much of the build slowdown and excess disk space consumption used in generating MSP files today. Then pipeline it into the current .target files and make that one less manual hassle to get to patching. Enrique Domínguez wrote: Hi Blair, 1) My team leader found source of trouble, error appear when you add a binary resource via wix variable like this, Currently we aren't using that directly, but it's default included with WixUI_Common reference (we built UIs over that) Wixout xml part got lines like: !(wix.WixUIUpIco=E:\delivery\Dev\wix36_public\src\ext\UIExtension\wixlib\Bitmaps\up.ico) Temporary solution was including WixUI_Common with hardcoded filepaths in wix project. 2) Another issue we found was building with Msi's and mst's worked fine, but wixouts don't. Torch told us, error TRCH0269: The value '*' is not valid for the ProductCode when used in a transform or in a patch. Copy the ProductCode from your target product MSI into the Product/@Id attribute value for your product authoring. -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to make PDB's follow update of companion dll when patching (WiX Toolset v.3.7.1224.0).
Hi, I am trying to install a dll and its companion pdb file. Below is a merge module which installs a dll and its companion xml and pdb file: http://schemas.microsoft.com/wix/2006/wi";> Creating an RTM this will work with or without the companionfile attribute. However making an update to the installer elsewhere will trigger a rebuilt of the dll (still having the same version number as nothing has changed) and a new pbd are created. Now creating a msp between the RTM and the new msi will trigger that the pdb file are updated even though the dll aren't updated (with or without the companionfile attribute and default REINSTALLMODE). The question is how to ensure that the pdb file only are updated when the dll are updated when installing a Patch when using default REINSTALLMODE . (REINSTALLMODE = emus would work as all dll would be updated as well but we do not like updating dll's that haven't changed). Regards Per -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] torch transforms
Hi, I come back my project, and trying to apply changes proposed and can't solve it because more exclamation variables, not resolved, being found; now error was, torch.exe(0,0): error TRCH0001: Could not find file '!(bindpath.x86)PrintEula.dll' wixout xml line: WixUIWixca !(bindpath.x86)PrintEula.dll I suspecting exclamation variables didn't resolved in wixout build and it's source of trouble, could somebody confirm if its possible? Thanks a lot. -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users