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

Reply via email to