Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3 Creation of directory structure on different drive

open
nobody
None
5
2012-09-15
2005-08-12
Xabatcha
No
<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>

Discussion

  • Xabatcha
    Xabatcha
    2005-08-12

     
    Attachments