I'd say that it should work. Try to put the "App\Backups" folder directly to INSTALLLOCATION folder. (I mean do not use the DirectoryRef element).
If it does not help than I don't know. Maybe someone else will konw more about this problem... regards Stefan Ricardo Lopes wrote: > Hi Stefan, > > I suppose that was the case with the "App\Documents" folder, but what > about the "App\Backups" ? > > It has files and is part of the feature "ProductFeature". > > > On 19/02/07, *Stefan Pavlik* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Hi Ricardo... > > The folder is not created unless you install some file in this folder. > > Another way to ensure that the folder is created is using the > CreateFolder element. Te folder will be created even if it is empty. > But it will not be removed automaticaly on uninstallation (you need > to specify RemoveFolder element for it). > > See: > http://msdn2.microsoft.com/en-us/library/Aa368053 > <http://msdn2.microsoft.com/en-us/library/Aa368053> > > Regards > > Stefan > > Ricardo Lopes wrote: > > Hi, > > > > I have problems creating folders on the instalation folder. The > > application folder is created but none of the folder inside it are > created. > > Im using Wix 2 and my file looks like this: > > > > <Directory Id="TARGETDIR" Name="SourceDir"> > > <Directory Id="ProgramFilesFolder"> > > <Directory Id="INSTALLLOCATION" Name="App"> > > > > <Directory Id="DocumentsFolder" Name="Docs" > > LongName="Documents" /> > > > > <Component Id="MainApplicationFilesComponent" > > Guid="7e032c07-d8a2-4cc1-870b-2fc1a88ab6ef"> > > <File ............ /> > > <File ............ /> > > <File ............ /> > > </Component> > > </Directory> > > </Directory> > > > > <Directory Id="ProgramMenuFolder"> > > <Directory Id="ProgramMenuDir" Name="App" /> > > </Directory> > > > > <Directory Id="DesktopFolder" /> > > </Directory> > > > > <DirectoryRef Id="INSTALLLOCATION"> > > <Directory Id="BackupsFolder" Name="Backups"> > > <Component Id="BackupFilesComponent" > > Guid="7e032c07-d0a2-47c1-810b-2fc1a88ab6ef"> > > <File ............ /> > > <File ............ /> > > <File ............ /> > > </Component> > > </Directory> > > </DirectoryRef> > > > > <Feature Id="ProductFeature" Title="App Files" Level="1"> > > <ComponentRef Id="MainApplicationFilesComponent" /> > > <ComponentRef Id="BackupFilesComponent" /> > > </Feature> > > > > > > > > The "App" folder is created, but the "Documents" and the "Backups" > > folders not. > > Am i missing something? > > > > Thanks, > > Ricardo Lopes. > > > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > > opinions on IT & business topics through brief surveys-and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > > > > > ------------------------------------------------------------------------ > > > > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > <mailto:WiX-users@lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- > Stefan Pavlik | [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > Whitestein Technologies | www.whitestein.com <http://www.whitestein.com> > Panenska 28 | SK-81103 Bratislava | Slovak Republic > Tel +421(2)5930-0735 | Fax +421(2)5443-5512 > > > > > -- > > Ricardo Lopes -- Stefan Pavlik | [EMAIL PROTECTED] Whitestein Technologies | www.whitestein.com Panenska 28 | SK-81103 Bratislava | Slovak Republic Tel +421(2)5930-0735 | Fax +421(2)5443-5512 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users