I am new to WiX and I am having trouble creating directories.  The following
Directory definition works, that is, the directory is created and the single
file in the install is written to it.

<Directory Id="TARGETDIR" Name="SourceDir">
        <Directory Id="ProgramFilesFolder">
                <Directory Id="ATest1" Name="ATest1">
                        <Directory Id="ATest2" Name="ATest2">
                                <Directory Id="CONTROL_PANEL" 
Name="ControlPanel" />
                        </Directory>
                </Directory>
        </Directory>
</Directory>

But if I leave ProgramFilesFolder out then no directory is created.

<Directory Id="TARGETDIR" Name="SourceDir">
        <Directory Id="ATest1" Name="ATest1">
                <Directory Id="ATest2" Name="ATest2">
                        <Directory Id="CONTROL_PANEL" Name="ControlPanel" />
                </Directory>
        </Directory>
</Directory>

The project builds without errors and installs without error, but no
directory is created and the single file in the install is not present on
the drive.  Is this the way to create a directory?  The directories look
like they map in Orca.

Thank you,
cgrue

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Creating-directory-not-using-a-directory-shortcut-property-tp7295380p7295380.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to