SourceForge
Browse
Enterprise
Blog
Help
Jobs
Log In
or
Join
Solution Centers
Smarter Commerce
Go Parallel
HTML5
Smarter IT
Resources
Newsletters
Windows Installer XML (WiX) toolset
Tickets
Bugs
Feature Requests
Examples
Mailing Lists
Summary
Files
Wiki
News
View Stats
Group
Searches
Changes
Closed Tickets
Open Tickets
Help
Formatting Help
#3 Creation of directory structure on different drive
Milestone:
Status:
open
unread
accepted
pending
closed
wont-fix
Owner:
Priority:
1
2
3
4
5
6
7
8
9
Labels:
Mark as Private
Updated:
2012-09-15
Created:
2005-08-12
Creator:
Xabatcha
Preview
Edit
Formatting Help
<?xml version="1.0"?> <!--To create directory on different drive, the TARGETDIR have to be changed--> <!--The process is done by setting CustomeAction that is called in inInstallUISequence and InstallExecuteSequence section--> <Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi"> <Product Id="132b1e27-270f-4b62-a0bf-afe5d70a3d3d" Name="Your Product" Language="1033" Version="0.0.0.0" Manufacturer="Your Company"> <Package Id="????????-????-????-????-????????????" Description="Description of your product" Comments="This will appear in the file summary stream." InstallerVersion="200" Compressed="yes" /> <Media Id="1" Cabinet="Product.cab" EmbedCab="yes" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="INSTALLDIR" Name="s" LongName="smtp_service"> <Directory Id="agentappDIR" LongName="AgentApp_v105" Name="AgentApp"> <Directory Id="LOGDIR" Name="logs"> <Component Id="ProductComponent" Guid="f36b9dd8-e821-4605-988f-427c81119e82"> <CreateFolder/> </Component> </Directory> </Directory> </Directory> </Directory> <CustomAction Id="AssignEDir2TARGETDIR" Return="check" Execute="firstSequence" Property="TARGETDIR" Value="e:\" /> <Feature Id="ProductFeature" Title="Feature Title" Level="1" ConfigurableDirectory="TARGETDIR"> <ComponentRef Id="ProductComponent" /> </Feature> <UI> <InstallUISequence> <Custom Action="AssignEDir2TARGETDIR" After="ValidateProductID">TARGETDIR=""</Custom> </InstallUISequence> </UI> <InstallExecuteSequence> <Custom Action="AssignEDir2TARGETDIR" After="ValidateProductID">TARGETDIR=""</Custom> </InstallExecuteSequence> </Product> </Wix>
Preview
Edit
I would like to add an attachment
Anonymous
Preview
Edit
Formatting Help
Preview
Edit
Cancel
Status:
open
Owner:
nobody
Labels:
None
Priority:
5
Updated:
2012-09-15
Created:
2005-08-12
Creator:
Xabatcha
Private:
No
TARGETDIR="" TARGETDIR=""
Discussion
Xabatcha
2005-08-12
Attachments
EDirExample.zip
Link
If you would like to refer to this comment somewhere else in this project, copy and paste the following link: