Re: [WiX-users] How do I create an MSMQ Private Queue
A quick search would have led to the Msmq extension. Use it like this http://schemas.microsoft.com/wix/MsmqExtension"; xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";> /SNIP/ -Original Message- From: Gregg Swanson [mailto:gregg.swan...@microsoft.com] Sent: 05 May 2011 17:30 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How do I create an MSMQ Private Queue Hello, I have a requirement to create an MSMQ private queue; do we have support for this? Thanks, Gregg -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users The information in this email (and any attachments) is confidential and is intended solely for the use of the individual or entity to whom it is addressed. If you received this email in error please tell us by reply email (or telephone the sender) and delete all electronic copies on your system or other copies known to you. Trainline Investments Holdings Limited (Registered No.5776685), Trainline.com Limited (Registered No. 3846791) and Trainline Scotland Limited (Registered No. 6881309) are all registered in England and Wales with registered office at The Matrix, 9 Aldgate High Street, London, EC3N 1AH. -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] custom actions after reboot
Thanks, I'll take a look at bootstrapping. http://msdn.microsoft.com/en-us/library/aa367553.aspx gave me the impression that after the forecereboot, the installer would be relaunched and I could then perform the queue set up, hence trying to perform the MSMQ stuff before installing any files. -Original Message- From: David Watson [mailto:dwat...@sdl.com] Sent: 09 March 2011 17:20 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] custom actions after reboot Put a launch condition in that cancels your installation if msmq is not installed. If you really need to install msmq for your user use a bootstrapper that installs it before your msi is called. -Original Message- From: Matthew Slane [mailto:matthew.sl...@thetrainline.com] Sent: 09 March 2011 16:58 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] custom actions after reboot Hi, I'm getting a bit frustrated with constantly rebooting to try and get this working. If MSMQ is installed the queue gets created. If MSMQ isn't installed, it gets installed and throws the following message before forcing the reboot: "The installer has encountered an unexpected error installing this package. This may indicate a problem with the package. The Error code is 28101." I'm using an wsx file based on the tutorial at www.tramontana.co.hu/wix/lesson1.php I need to force the reboot and then install the msmqueues component if MSMQ gets installed. http://schemas.microsoft.com/wix/MsmqExtension"; xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";> NOT MSMQAVAILABLE NOT MSMQAVAILABLE NOT MSMQAVAILABLE NOT MSMQAVAILABLE NOT MSMQAVAILABLE -Original Message- From: Matthew Slane [mailto:matthew.sl...@thetrainline.com] Sent: 04 March 2011 10:22 To: wix-users@lists.sourceforge.net Subject: [WiX-users] custom actions after reboot Hi, I've got a property that checks whether MSMQ is available and custom actions to install it if it isn't. I've also got MsmqExtension working to create queues. I haven't got them working together. The installer works nicely if MSMQ is already installed, otherwise it installs the program but throws 28101 error messages and the queues arent' created. Looking at the logs this appears to be caused by failing to load mqrt.dll. I suspect this is because the machine needs rebooting after installing MSMQ. How would I go about creating the queues post-reboot if MSMQ is installed when running the msi? I could do it on start up in the programs that are installed, but I'm meant to be in feature freeze until after first release, plus I'm curious. Thanks Matt. The information in this email (and any attachments) is confidential and is intended solely for the use of the individual or entity to whom it is addressed. If you received this email in error please tell us by reply email (or telephone the sender) and delete all electronic copies on your system or other copies known to you. Trainline Investments Holdings Limited (Registered No.5776685), Trainline.com Limited (Registered No. 3846791) and Trainline Scotland Limited (Registered No. 6881309) are all registered in England and Wales with registered office at The Matrix, 9 Aldgate High Street, London, EC3N 1AH. -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users The information in this email (and any attachments) is confidential and is intended solely for the use of the individual or entity to whom it is addressed. If you received this email in error please tell us by reply email (or telephone the sender) and delete all electronic copies on your system or other copies known to you. Trainline Investments Holdings Limited (Registered No.5776685), Trainline.com Limited (Registered No. 3846791) and Trainline Scotland Limited (Registered No. 6881309) are all registered in England and Wales with registered office at The Matrix, 9 Aldgate High Street, London, EC3N 1AH. - - Colocation vs. Managed Hosting A question and answer guide to determining the best
Re: [WiX-users] custom actions after reboot
Hi, I'm getting a bit frustrated with constantly rebooting to try and get this working. If MSMQ is installed the queue gets created. If MSMQ isn't installed, it gets installed and throws the following message before forcing the reboot: "The installer has encountered an unexpected error installing this package. This may indicate a problem with the package. The Error code is 28101." I'm using an wsx file based on the tutorial at www.tramontana.co.hu/wix/lesson1.php I need to force the reboot and then install the msmqueues component if MSMQ gets installed. http://schemas.microsoft.com/wix/MsmqExtension"; xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";> NOT MSMQAVAILABLE NOT MSMQAVAILABLE NOT MSMQAVAILABLE NOT MSMQAVAILABLE NOT MSMQAVAILABLE -----Original Message- From: Matthew Slane [mailto:matthew.sl...@thetrainline.com] Sent: 04 March 2011 10:22 To: wix-users@lists.sourceforge.net Subject: [WiX-users] custom actions after reboot Hi, I've got a property that checks whether MSMQ is available and custom actions to install it if it isn't. I've also got MsmqExtension working to create queues. I haven't got them working together. The installer works nicely if MSMQ is already installed, otherwise it installs the program but throws 28101 error messages and the queues arent' created. Looking at the logs this appears to be caused by failing to load mqrt.dll. I suspect this is because the machine needs rebooting after installing MSMQ. How would I go about creating the queues post-reboot if MSMQ is installed when running the msi? I could do it on start up in the programs that are installed, but I'm meant to be in feature freeze until after first release, plus I'm curious. Thanks Matt. The information in this email (and any attachments) is confidential and is intended solely for the use of the individual or entity to whom it is addressed. If you received this email in error please tell us by reply email (or telephone the sender) and delete all electronic copies on your system or other copies known to you. Trainline Investments Holdings Limited (Registered No.5776685), Trainline.com Limited (Registered No. 3846791) and Trainline Scotland Limited (Registered No. 6881309) are all registered in England and Wales with registered office at The Matrix, 9 Aldgate High Street, London, EC3N 1AH. -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users The information in this email (and any attachments) is confidential and is intended solely for the use of the individual or entity to whom it is addressed. If you received this email in error please tell us by reply email (or telephone the sender) and delete all electronic copies on your system or other copies known to you. Trainline Investments Holdings Limited (Registered No.5776685), Trainline.com Limited (Registered No. 3846791) and Trainline Scotland Limited (Registered No. 6881309) are all registered in England and Wales with registered office at The Matrix, 9 Aldgate High Street, London, EC3N 1AH. -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Wix and MSMQ: MSMQ Detection
Hi, I've recently done something similar. I look at the registry to see if MSMQ is installed and store the result in a property: Note, this is for windows7, other version may be different. Then if it isn't available I use custom actions to install it using DISM, this is only available on newer versions of windows. NOT MSMQAVAILABLE Unfortunately, MSMQ requires a reboot after installation before you can create the queues. I then have a separate feature for the queues dependent on MSMQAVAILABLE. NOT MSMQAVAILABLE If MSMQ was installed as part of the process I then ask for a reboot. I'd like to then install the queues on the next reboot, but haven't figured that part out yet. My software will set the queues up if they're missing, but I can end up in a chicken and egg situation so I'd prefer to do it with the installer. Matt -Original Message- From: mann1402 [mailto:manoj.ban...@live.in] Sent: 08 March 2011 16:55 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Wix and MSMQ: MSMQ Detection Hi, I have to create a message queue if MSMQ is installed. If MSMQ is not installed then move forward without doing anything. Is there a way, we can found that whether MSMQ is installed in MSMQExtension dll. I know, We can use Registry for the same but installer will fail if MSMQ is not installed. Please help. Thanks, Mark -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-and-MS MQ-MSMQ-Detection-tp6130317p6130317.html Sent from the wix-users mailing list archive at Nabble.com. -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users The information in this email (and any attachments) is confidential and is intended solely for the use of the individual or entity to whom it is addressed. If you received this email in error please tell us by reply email (or telephone the sender) and delete all electronic copies on your system or other copies known to you. Trainline Investments Holdings Limited (Registered No.5776685), Trainline.com Limited (Registered No. 3846791) and Trainline Scotland Limited (Registered No. 6881309) are all registered in England and Wales with registered office at The Matrix, 9 Aldgate High Street, London, EC3N 1AH. -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] custom actions after reboot
Hi, I've got a property that checks whether MSMQ is available and custom actions to install it if it isn't. I've also got MsmqExtension working to create queues. I haven't got them working together. The installer works nicely if MSMQ is already installed, otherwise it installs the program but throws 28101 error messages and the queues arent' created. Looking at the logs this appears to be caused by failing to load mqrt.dll. I suspect this is because the machine needs rebooting after installing MSMQ. How would I go about creating the queues post-reboot if MSMQ is installed when running the msi? I could do it on start up in the programs that are installed, but I'm meant to be in feature freeze until after first release, plus I'm curious. Thanks Matt. The information in this email (and any attachments) is confidential and is intended solely for the use of the individual or entity to whom it is addressed. If you received this email in error please tell us by reply email (or telephone the sender) and delete all electronic copies on your system or other copies known to you. Trainline Investments Holdings Limited (Registered No.5776685), Trainline.com Limited (Registered No. 3846791) and Trainline Scotland Limited (Registered No. 6881309) are all registered in England and Wales with registered office at The Matrix, 9 Aldgate High Street, London, EC3N 1AH. -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Creating MSMQ
Hi, As I usually do, I solved this for myself after getting up and making a coffee. I was using the wrong schema in the wxs file. http://schemas.microsoft.com/wix/MsmqExtension is what I needed. Matt -Original Message- From: Matthew Slane [mailto:matthew.sl...@thetrainline.com] Sent: 03 March 2011 15:33 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Creating MSMQ Hi, I need to create a few msmq private queues as part of the installation procedure. However I'm getting the following error running candle on my wxs file: error CNDL0200: The Component element contains an unhandled extension element 'pca:MessageQueue'. Please ensure that the extension for elements in the 'http://schemas.microsoft.com/wix/2005/02/pubca' namespace has been provided. I've added -ext WixMsmqExtension to the candle command line and the error message isn't going away. Everything I've seen about this is for v2, and doesn't seem to work with 3. How should I go about setting up wix 3.0 to work with WixMsmqExtension? Thanks, Matt The information in this email (and any attachments) is confidential and is intended solely for the use of the individual or entity to whom it is addressed. If you received this email in error please tell us by reply email (or telephone the sender) and delete all electronic copies on your system or other copies known to you. Trainline Investments Holdings Limited (Registered No.5776685), Trainline.com Limited (Registered No. 3846791) and Trainline Scotland Limited (Registered No. 6881309) are all registered in England and Wales with registered office at The Matrix, 9 Aldgate High Street, London, EC3N 1AH. -- Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users The information in this email (and any attachments) is confidential and is intended solely for the use of the individual or entity to whom it is addressed. If you received this email in error please tell us by reply email (or telephone the sender) and delete all electronic copies on your system or other copies known to you. Trainline Investments Holdings Limited (Registered No.5776685), Trainline.com Limited (Registered No. 3846791) and Trainline Scotland Limited (Registered No. 6881309) are all registered in England and Wales with registered office at The Matrix, 9 Aldgate High Street, London, EC3N 1AH. -- Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Creating MSMQ
Hi, I need to create a few msmq private queues as part of the installation procedure. However I'm getting the following error running candle on my wxs file: error CNDL0200: The Component element contains an unhandled extension element 'pca:MessageQueue'. Please ensure that the extension for elements in the 'http://schemas.microsoft.com/wix/2005/02/pubca' namespace has been provided. I've added -ext WixMsmqExtension to the candle command line and the error message isn't going away. Everything I've seen about this is for v2, and doesn't seem to work with 3. How should I go about setting up wix 3.0 to work with WixMsmqExtension? Thanks, Matt The information in this email (and any attachments) is confidential and is intended solely for the use of the individual or entity to whom it is addressed. If you received this email in error please tell us by reply email (or telephone the sender) and delete all electronic copies on your system or other copies known to you. Trainline Investments Holdings Limited (Registered No.5776685), Trainline.com Limited (Registered No. 3846791) and Trainline Scotland Limited (Registered No. 6881309) are all registered in England and Wales with registered office at The Matrix, 9 Aldgate High Street, London, EC3N 1AH. -- Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Heat generated fragment and source file location
I figured it out, heat.exe -var env.appdir and candle.exe -dappdir=..\_Release\Application candle are what I needed, unless there's a better way? -Original Message- From: Matthew Slane [mailto:matthew.sl...@thetrainline.com] Sent: 02 March 2011 10:13 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Heat generated fragment and source file location Hi, I'm using Wix for the first time to build an installation tool for a project . There are several output folders that have the release builds built in a directory parallel to the wix source directory. I'm using Heat to generate a fragment as there's too much to do by hand. When I try to build the msi using Light, it complains about not being able to find the source files. I'm generating my fragment with: heat.exe dir ..\_Release\Application -srd -sfrag -gg -dr AppFolder -template:fragment -cg Application -sreg -pog:Binaries -pog:Symbols -pog:Satellites -out application.wxs and my main wxs file contains: If I add files manually to the AppFolder Directory light can find them and include them in the project. The files referenced in the fragment cannot be found (they're in ..\_Release\Application). How do I tell the fragment where the files should be found? Thanks, Matt The information in this email (and any attachments) is confidential and is intended solely for the use of the individual or entity to whom it is addressed. If you received this email in error please tell us by reply email (or telephone the sender) and delete all electronic copies on your system or other copies known to you. Trainline Investments Holdings Limited (Registered No.5776685), Trainline.com Limited (Registered No. 3846791) and Trainline Scotland Limited (Registered No. 6881309) are all registered in England and Wales with registered office at The Matrix, 9 Aldgate High Street, London, EC3N 1AH. -- Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users The information in this email (and any attachments) is confidential and is intended solely for the use of the individual or entity to whom it is addressed. If you received this email in error please tell us by reply email (or telephone the sender) and delete all electronic copies on your system or other copies known to you. Trainline Investments Holdings Limited (Registered No.5776685), Trainline.com Limited (Registered No. 3846791) and Trainline Scotland Limited (Registered No. 6881309) are all registered in England and Wales with registered office at The Matrix, 9 Aldgate High Street, London, EC3N 1AH. -- Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Heat generated fragment and source file location
Hi, I'm using Wix for the first time to build an installation tool for a project . There are several output folders that have the release builds built in a directory parallel to the wix source directory. I'm using Heat to generate a fragment as there's too much to do by hand. When I try to build the msi using Light, it complains about not being able to find the source files. I'm generating my fragment with: heat.exe dir ..\_Release\Application -srd -sfrag -gg -dr AppFolder -template:fragment -cg Application -sreg -pog:Binaries -pog:Symbols -pog:Satellites -out application.wxs and my main wxs file contains: If I add files manually to the AppFolder Directory light can find them and include them in the project. The files referenced in the fragment cannot be found (they're in ..\_Release\Application). How do I tell the fragment where the files should be found? Thanks, Matt The information in this email (and any attachments) is confidential and is intended solely for the use of the individual or entity to whom it is addressed. If you received this email in error please tell us by reply email (or telephone the sender) and delete all electronic copies on your system or other copies known to you. Trainline Investments Holdings Limited (Registered No.5776685), Trainline.com Limited (Registered No. 3846791) and Trainline Scotland Limited (Registered No. 6881309) are all registered in England and Wales with registered office at The Matrix, 9 Aldgate High Street, London, EC3N 1AH. -- Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users