Re: [WiX-users] Error 1723 when calling CAQuietExec to xcopy configfiles
Well spotted Nicolás. That was indeed the root of the problem. That and a syntax problem with the command line params and where in the install execute sequence it was scheduled to run. I ended up with... ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; xmlns:util=http://schemas.microsoft.com/wix/UtilExtension; Fragment !--Add a PropertyRef to XCopyCustomAction within the Product section of the main wxs file to use this xcopy CA -- Property Id=XCopyCustomAction Value=1 / !--echo n|xcopy src\* dst\* \e-- CustomAction Id=SetCmdLineParams Property=QtExecCA Value='quot;[System64Folder]cmd.exequot; /c echo n | xcopy quot;[INSTALLFOLDER]Backups\*quot; quot;[INSTALLFOLDER]quot; /E' Execute=immediate / CustomAction Id=QtExecCA BinaryKey=WixCA DllEntry=CAQuietExec Execute=deferred Return=ignore Impersonate=yes/ InstallExecuteSequence Custom Action=SetCmdLineParams After=CostFinalize/ Custom Action=QtExecCA Before=InstallFinalize / /InstallExecuteSequence /Fragment /Wix ...which does the job nicely (for anyone who's interested). Many thanks for all the support. David -Original Message- From: Nicolás Alvarez [mailto:nicolas.alva...@gmail.com] Sent: 08 July 2014 14:38 To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Error 1723 when calling CAQuiteExec to xcopy configfiles 2014-07-07 7:25 GMT-03:00 David Welton david.wel...@uk.thalesgroup.com: Dear WiX users, I am getting an Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor when I try and run a custom action to xcopy some config files during my installation. Here is my fragment... CustomAction Id=QuietExecXCopy BinaryKey=WixCA DllEntry=CAQuiteExec Maybe this is supposed to be CAQuietExec? -- Nicolás -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] can WiX be used to create windows service for any console application?
I am new to WiX and I've been trying to use it to create a installer for a basic console application which just prints hello world in console and hangs there. My question is, can WiX be used to create windows service for any console application? I know that it can be used to create service installer for windows service application. i did create installer for windows service for the console application, and while installing i get stuck in the middle and after a while it shows following error: Service failed to start. Verify that you have sufficient privileges to start system services -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] can WiX be used to create windows service for any console application?
You probably don't have sufficient permission. Try running your MSI as Administrator. On Jul 9, 2014, at 7:19 AM, Pritesh Acharya priteshacha...@gmail.com wrote: I am new to WiX and I've been trying to use it to create a installer for a basic console application which just prints hello world in console and hangs there. My question is, can WiX be used to create windows service for any console application? I know that it can be used to create service installer for windows service application. i did create installer for windows service for the console application, and while installing i get stuck in the middle and after a while it shows following error: Service failed to start. Verify that you have sufficient privileges to start system services -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] PIDTemplate w/ MaskedEdit
Thanks John, but yes I have seen that article and it still does not explain how you can enter 1 to 5 numbers in the field. If I change enter 1, 11, 111, the next but will fail to do anything, but if I enter 1 then the install will proceed as expected. So it seems that if the text field has 5 - # then you have to enter 5 numbers. So is there a way to format it so that you can enter any amount of numbers only and that it would only fail if it is empty? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/PIDTemplate-w-MaskedEdit-tp4815087p7595733.html Sent from the wix-users mailing list archive at Nabble.com. -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] PIDTemplate w/ MaskedEdit
As the last comment in the article suggests, you'll probably need a custom action to pre-process the data and decide if it's any good. It would be nice if MaskEdit took a full on regex, but it doesn't in WinForms either. Bummer. -- 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: TimM [mailto:timmay...@smarttech.com] Sent: Wednesday, July 9, 2014 8:01 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] PIDTemplate w/ MaskedEdit Thanks John, but yes I have seen that article and it still does not explain how you can enter 1 to 5 numbers in the field. If I change enter 1, 11, 111, the next but will fail to do anything, but if I enter 1 then the install will proceed as expected. So it seems that if the text field has 5 - # then you have to enter 5 numbers. So is there a way to format it so that you can enter any amount of numbers only and that it would only fail if it is empty? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/PIDTemplate-w-MaskedEdit-tp4815087p7595733.html Sent from the wix-users mailing list archive at Nabble.com. -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ 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. -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] can WiX be used to create windows service for any console application?
A console application is not a windows service, unless it implements code to support the windows services API. The error indicates that the SCM sent an event to the service and it did not respond (which makes sense if it was just a console app and did not have any code to support the windows services api). Wix does not change a typical console application into a windows service. Wix is a set of tools to create MSI based installers. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/can-WiX-be-used-to-create-windows-service-for-any-console-application-tp7595731p7595735.html Sent from the wix-users mailing list archive at Nabble.com. -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WIX custom action
http://buildmaestro.wordpress.com/2011/08/30/c-dtf-using-locale-net-culture-folder-and-resources-files-for-translations-with-makesfxca-exe/ -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to mix hand-generated and auto-generated .wxs content
I have a project that has a large number of files. Between versions of our software, new files get added and some get removed. Therefore, in automating our build process, I would like to have heat auto-generate a .wxs file (let's call it files.wxs). But then there are certain hand-generated items, like the product element with its associated version and environment tags for environment variables that we need to set. These never change (except for the version number which increments). Right now, I have put all of that in a file named product.wxs. How can I best combine them into one .msi? Do I need to create a component element inside the product element for each of the fragments that were auto-generated in the files.wxs file? If so, that kind of defeats the purpose of auto-generating that file. I'm hoping there is another way. Help!Thanks, in advance. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-mix-hand-generated-and-auto-generated-wxs-content-tp7595738.html Sent from the wix-users mailing list archive at Nabble.com. -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to mix hand-generated and auto-generated .wxs content
Sounds like you need to give a component group name in your heat call -cg MyComponentGroup Add the wxs file generated from heat to your project. Add the a ComponentGroupRef to your feature or another componentgroup depending on your preferences to the hand rolled wxs file. Done -Original Message- From: eric [mailto:eric.bu...@lmco.com] Sent: July-09-14 12:48 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to mix hand-generated and auto-generated .wxs content I have a project that has a large number of files. Between versions of our software, new files get added and some get removed. Therefore, in automating our build process, I would like to have heat auto-generate a .wxs file (let's call it files.wxs). But then there are certain hand-generated items, like the product element with its associated version and environment tags for environment variables that we need to set. These never change (except for the version number which increments). Right now, I have put all of that in a file named product.wxs. How can I best combine them into one .msi? Do I need to create a component element inside the product element for each of the fragments that were auto-generated in the files.wxs file? If so, that kind of defeats the purpose of auto-generating that file. I'm hoping there is another way. Help!Thanks, in advance. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-mix-hand-generated-and-auto-generated-wxs-content-tp7595738.html Sent from the wix-users mailing list archive at Nabble.com. -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Wix burn bootstrapper ARP values missing.
Hi, I am currently validating the app using the Windows App kit certify. It looks like I have to get rid of a warning which says: Program fails due to missing install location. Native apps e.g. 32 and 64 bit must be installed to the %ProgramFiles% folder by default, note that 32 bit apps installing on x64 versions of Windows must be stored under %ProgramFiles(x86)%. Storing program files in another folder can cause access and security problems for the user. I have 2 separated wix files for 32 and 64 bts, where I specify Directory Id=ProgramFilesFolder and Directory Id=ProgramFiles64Folder respectively. I have been investigating the root of the problem; and in the WoW6432node register on a x64 machine the registry values are missing. I am wondering if there is anybody facing/has faced the same problem before? or if there is a way to know how Wix Burn is adding an ARP entry in the WoW6432node registry value? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-burn-bootstrapper-ARP-values-missing-tp7595741.html Sent from the wix-users mailing list archive at Nabble.com. -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Wix burn bootstrapper ARP values missing.
That sounds like the install location is missing in the ARP entries, and you can set that in each MSI by setting the ARPINSTALLLOCATION property to the value of INSTALLFOLDER (if that's what you're using) after the location has been chosen. http://robmensching.com/blog/posts/2011/1/14/arpinstalllocation-and-how-to-set-it-with-the-wix-toolset/ --- Phil Wilson On Wed, Jul 9, 2014 at 12:20 PM, wanderb wander.br...@gmail.com wrote: Hi, I am currently validating the app using the Windows App kit certify. It looks like I have to get rid of a warning which says: Program fails due to missing install location. Native apps e.g. 32 and 64 bit must be installed to the %ProgramFiles% folder by default, note that 32 bit apps installing on x64 versions of Windows must be stored under %ProgramFiles(x86)%. Storing program files in another folder can cause access and security problems for the user. I have 2 separated wix files for 32 and 64 bts, where I specify Directory Id=ProgramFilesFolder and Directory Id=ProgramFiles64Folder respectively. I have been investigating the root of the problem; and in the WoW6432node register on a x64 machine the registry values are missing. I am wondering if there is anybody facing/has faced the same problem before? or if there is a way to know how Wix Burn is adding an ARP entry in the WoW6432node registry value? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-burn-bootstrapper-ARP-values-missing-tp7595741.html Sent from the wix-users mailing list archive at Nabble.com. -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Wix burn bootstrapper ARP values missing.
Burn should simply be installing packages, commonly MSI packages. For a single MSI, it has to have its bitness set as either 32 / 64. Windows Installer will do the proper folder redirection for you. In your case, I would think you would have a single bundle, with two (or more) MSI packages. The packages should be conditionally installed based on OS bitness, and for the case of an x64 machine, you may not want to install the same 32 bit package, and instead install the core application as a 64 bit application (IE, if it's a .Net app compiled as AnyCPU, or if you have a specific 64 bit compile of your application). Some x64 installs will install limited shims to communicate between the x86 and x64 locations. -Original Message- From: wanderb [mailto:wander.br...@gmail.com] Sent: Wednesday, July 09, 2014 2:21 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Wix burn bootstrapper ARP values missing. Hi, I am currently validating the app using the Windows App kit certify. It looks like I have to get rid of a warning which says: Program fails due to missing install location. Native apps e.g. 32 and 64 bit must be installed to the %ProgramFiles% folder by default, note that 32 bit apps installing on x64 versions of Windows must be stored under %ProgramFiles(x86)%. Storing program files in another folder can cause access and security problems for the user. I have 2 separated wix files for 32 and 64 bts, where I specify Directory Id=ProgramFilesFolder and Directory Id=ProgramFiles64Folder respectively. I have been investigating the root of the problem; and in the WoW6432node register on a x64 machine the registry values are missing. I am wondering if there is anybody facing/has faced the same problem before? or if there is a way to know how Wix Burn is adding an ARP entry in the WoW6432node registry value? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-burn-bootstrapper-ARP-values-missing-tp7595741.html Sent from the wix-users mailing list archive at Nabble.com. -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Burn - WACK, unresolvable warnings?
I am in the same situation. The last warning that you are mentioning, InstalLocation is missing, if you compare both entrance in the registry values HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{GUID} and the one in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{GUID}, both are different, and the one in the Wow6432 directory has a parameter InstallLocation which I guess is empty. I am currently trying to work something out, trying to pass the InstallLocation from the bootrstrapper to avoid the warning. Let me know if you did remove the warning. Cheers. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-WACK-unresolvable-warnings-tp7590378p7595745.html Sent from the wix-users mailing list archive at Nabble.com. -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to mix hand-generated and auto-generated .wxs content
Thanks, scubasteve2! That got me through my current error and led me on to my next. I'll go ahead and post that as a separate question, though. Thank you so much! scubasteve2 wrote Sounds like you need to give a component group name in your heat call -cg MyComponentGroup Add the wxs file generated from heat to your project. Add the a ComponentGroupRef to your feature or another componentgroup depending on your preferences to the hand rolled wxs file. Done -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-mix-hand-generated-and-auto-generated-wxs-content-tp7595738p7595746.html Sent from the wix-users mailing list archive at Nabble.com. -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] FileSharePermission - only GenericAll works
The util:FileSharePermission element has many attributes for setting ACLs on a file share, but none of them seem to work except for GenericAll. For example, the following code will not give the user the specified permissions: Component Id=cmpFileShare Guid={6974184A-1F4F-4FBB-ADA6-826E9C947A7C} KeyPath=yes util:User Id=everyoneUser Name=Everyone CreateUser=no / util:FileShare Id=myFileShare Description=Shares some stuff Name=MyShare util:FileSharePermission User=everyoneUser ChangePermission=yes GenericRead=yes / /util:FileShare /Component I am installing to Windows 7 as a local administrator user. The user is added to the list of users on the file share, but no permissions checkboxes are checked. I've tried all of the other attributes and have gotten the same result. The only one that works is GenericAll. Have others seen this problem? I didn't see any messages related to the file share in the install log. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/FileSharePermission-only-GenericAll-works-tp7595747.html Sent from the wix-users mailing list archive at Nabble.com. -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] FileSharePermission - only GenericAll works
Okay, I was wrong! I guess by setting only Read permission on the folder (using Read, GenericRead, and ReadPermission -- not sure yet which one is the magic one), the user is able to read the files in that folder and cannot change/modify them. I guess it works even though the checkboxes for Read and Change on the Share tab of the folder aren't checked. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/FileSharePermission-only-GenericAll-works-tp7595747p7595748.html Sent from the wix-users mailing list archive at Nabble.com. -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users