Re: [WiX-users] Creating a simply installer copying a set of files to an existing directory
Thanks Peter. I have followed the manual and tutorials and created a basic installer, which works with the WixUI_InstallDir extension: ---snip--- http://schemas.microsoft.com/wix/2006/wi";> ---snip--- Currently, the installer copies 'hest.xml' (the plugin file) to the directory c:\program files\ZZ_Installer. However, the default install path for the target application is 'c:\program files\\' and I would like the installer to default to that path in the WixUI_InstallDir dialogue when the user is prompted to select the target directory. I have been unable to find any registry values for it. How can I change the default target path? Also, how can I create sub folders within the target application path? I have another file which needs to go into 'c:\program files\\\Extensions\'. Thanks. Anders -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Tuesday, 13 November 2012 9:29 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Creating a simply installer copying a set of files to an existing directory This is certainly possible. 1. The WixUI_InstallDir built-in dialog set will prompt the user for an installation location. http://wix.sourceforge.net/manual-wix3/WixUI_installdir.htm You may even be able to detect the location of the existing tool, if you know the MSI product codes of the versions you are targeting or if the tool writes its installation location to the registry. 2. This is standard functionality. 3. Are any actions required here ? The Wix documentation in the distribution and the online tutorial are good places to start. http://wix.tramontana.co.hu/ -Original Message- From: Jensen-Waud, Anders [mailto:anders.jensen-w...@capgemini.com] Sent: 12 November 2012 23:39 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Creating a simply installer copying a set of files to an existing directory Hello I need to create an installer file, which copies a set of XML files into the directory of an existing application, which is already assumed to be installed on the computer. The installer wraps a plugin (consisting of a set of XML files) for a popular CASE tool. I would prefer if this can be done using a combination of WiX with an MSI package as the output so that it can be deployed easily to corporat environments. The installer must do the following: 1. Ask the user for the target directory in which the existing application is installed (defaulting to c:\program files\AppName) 2. Copy two XML files into c:\program files\AppName\SubDir -- and create SubDir if it doesn't already exist 3. Finish the install. Is this possible? Thanks. Anders This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - - Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lis
Re: [WiX-users] Creating a simply installer copying a set of files to an existing directory
This is certainly possible. 1. The WixUI_InstallDir built-in dialog set will prompt the user for an installation location. http://wix.sourceforge.net/manual-wix3/WixUI_installdir.htm You may even be able to detect the location of the existing tool, if you know the MSI product codes of the versions you are targeting or if the tool writes its installation location to the registry. 2. This is standard functionality. 3. Are any actions required here ? The Wix documentation in the distribution and the online tutorial are good places to start. http://wix.tramontana.co.hu/ -Original Message- From: Jensen-Waud, Anders [mailto:anders.jensen-w...@capgemini.com] Sent: 12 November 2012 23:39 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Creating a simply installer copying a set of files to an existing directory Hello I need to create an installer file, which copies a set of XML files into the directory of an existing application, which is already assumed to be installed on the computer. The installer wraps a plugin (consisting of a set of XML files) for a popular CASE tool. I would prefer if this can be done using a combination of WiX with an MSI package as the output so that it can be deployed easily to corporat environments. The installer must do the following: 1. Ask the user for the target directory in which the existing application is installed (defaulting to c:\program files\AppName) 2. Copy two XML files into c:\program files\AppName\SubDir -- and create SubDir if it doesn't already exist 3. Finish the install. Is this possible? Thanks. Anders This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - - Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Creating a simply installer copying a set of files to an existing directory
Thanks Jacob. I am very much a "newbie" in the configuration of this tool. Would you be able to provide a code example for each of the steps below? -Original Message- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: Tuesday, 13 November 2012 12:41 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Creating a simply installer copying a set of files to an existing directory Assuming the "popular CASE tool" uses Windows Installer to install, you should be able to search for it as a prerequisite. In addition, you should need to ask the user for the install folder, as you should be able to query the product state of the main application for its installation directory. See MsiGetProductInfo (http://msdn.microsoft.com/en-us/library/windows/desktop/aa370130(v=vs.85).aspx ) and the INSTALLPROPERTY_INSTALLLOCATION. If they don't use Windows Installer, you could either write a CA to search for it assuming the installer leaves a key or trail. You could also look at the DirectorySearch/FileSearch elements to have the MSI search for the location as well. >From there, it should be as simple as sharing the same install root and then >including the subfolder in your installer. -Original Message- From: Jensen-Waud, Anders [mailto:anders.jensen-w...@capgemini.com] Sent: Monday, November 12, 2012 5:39 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Creating a simply installer copying a set of files to an existing directory Hello I need to create an installer file, which copies a set of XML files into the directory of an existing application, which is already assumed to be installed on the computer. The installer wraps a plugin (consisting of a set of XML files) for a popular CASE tool. I would prefer if this can be done using a combination of WiX with an MSI package as the output so that it can be deployed easily to corporat environments. The installer must do the following: 1. Ask the user for the target directory in which the existing application is installed (defaulting to c:\program files\AppName) 2. Copy two XML files into c:\program files\AppName\SubDir -- and create SubDir if it doesn't already exist 3. Finish the install. Is this possible? Thanks. Anders This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Creating a simply installer copying a set of files to an existing directory
Assuming the "popular CASE tool" uses Windows Installer to install, you should be able to search for it as a prerequisite. In addition, you should need to ask the user for the install folder, as you should be able to query the product state of the main application for its installation directory. See MsiGetProductInfo (http://msdn.microsoft.com/en-us/library/windows/desktop/aa370130(v=vs.85).aspx ) and the INSTALLPROPERTY_INSTALLLOCATION. If they don't use Windows Installer, you could either write a CA to search for it assuming the installer leaves a key or trail. You could also look at the DirectorySearch/FileSearch elements to have the MSI search for the location as well. >From there, it should be as simple as sharing the same install root and then >including the subfolder in your installer. -Original Message- From: Jensen-Waud, Anders [mailto:anders.jensen-w...@capgemini.com] Sent: Monday, November 12, 2012 5:39 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Creating a simply installer copying a set of files to an existing directory Hello I need to create an installer file, which copies a set of XML files into the directory of an existing application, which is already assumed to be installed on the computer. The installer wraps a plugin (consisting of a set of XML files) for a popular CASE tool. I would prefer if this can be done using a combination of WiX with an MSI package as the output so that it can be deployed easily to corporat environments. The installer must do the following: 1. Ask the user for the target directory in which the existing application is installed (defaulting to c:\program files\AppName) 2. Copy two XML files into c:\program files\AppName\SubDir -- and create SubDir if it doesn't already exist 3. Finish the install. Is this possible? Thanks. Anders This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users