Hi,

Following is my Directory structure
Setup.wxs
----------
                  <Directory Id="TARGETDIR Name="SourceDir">
                        <Directory Id="ProgramFilesFolder" Name="PFiles">
                                <Directory Id="TEST_PRG" Name="TP" LongName
= "TEST PROGRAM">
                                        <Directory Id="INSTALLDIR"
Name="Client" LongName="Client">
                                                <Directory Id="MANIF"
Name="manif" LongName="manif">
                                                </Directory>
                                        </Directory>
                                </Directory>
                        </Directory>
                </Directory>
File.wxs
--------

    <DirectoryRef Id="INSTALLDIR">
      <Component Id="MyComponent1"
Guid="{7160BA75-01B7-43FD-839A-B8622E372267}">
        <File Id="txt1" Name="txt" LongName="txt1" DiskId="1"
Source="read.txt" />
      </Component>
      <Component Id="MyComponent2"
Guid="594587E2-5F36-47E9-8B18-86D95F5C86EE" DiskId="1">
                <File Id="LicenseFile" Name="license.rtf"
Source="license.rtf"/>
      </Component>
    </DirectoryRef>
       
        <DirectoryRef Id="MANIF">  
   <Component Id="license2" Guid="{76F9EA35-D98F-4A2E-B1D1-1BE634F1BF0F}">
        <File Id="license2" Name="license2" LongName="license" DiskId="1" 
Source="license2.rtf" Vital="yes" />
      </Component>
        </DirectoryRef>

Install Path refers to INSTALLDIR ie C:\Program Files\TEST PROGRAM\Client\

While Installing, when I change the path to C:\sai\

It is created Folder named sai under C drive, the files which are under
INSTALDIR (<DirectoryRef Id="INSTALLDIR"> ie  read.txt and license.rtf) are
installed.

It also created TEST PROGRAM Folder and Client folder and Manif folder under
C drive, also the file which are under MANIF(<DirectoryRef Id="MANIF"> ie
license2.rtf file is installed.

While UnInstalling, some times it is uninstalled in both places. Some times
Only those files under sai folder in C drive.

Cab any one tell what is the problem
-- 
View this message in context: 
http://www.nabble.com/RePost%3A-If-I-Change-the-Path%2C-Installing-in-two-places-tp14330737p14330737.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to