Hi, Try this <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="SystemFolder" Name="System_1" LongName="SystemFolder"> <Component Id="C_FL_abc.xyz2" Guid="{your guid}"> <File Id="FL_abc.xyz2" Name="abc_1" LongName="abc.xyz" Source="source_path\abc.xyz" DiskId="1" KeyPath="yes" /> </Component> </Directory> </Directory>
Chris Weiss-3 wrote: > > Is there some special voodoo that needs to occur to copy files into > system32 subfolders? I've got the following (paraphrased) component > definitions: > > > <Directory Id="TARGETDIR" Name="SourceDir"> > <Directory Id="ProgramFilesFolder"> > <Directory Id="INSTALLLOCATION" Name="Symyx"> > <Directory Id="APPLICATIONFOLDER" Name="My Application"> > ... > </Directory> > </Directory> > </Directory> > <Directory Id='SystemFolder' Name='.'> > ...[some components]... > <Directory Id='Spool' SourceName='Spool'> > <Directory Id='prtprocs' SourceName='prtprocs'> > <Directory Id='w32x86' SourceName='w32x86'> > <Component Id="BuEProNT.dll" Feature="BlackIceNT" > Guid="{4022F625-CECA-41e2-9D0A-F8FCD06E75FF}"> > <File Id="BuEProNT.dll" Name="BuEProNT.dll" > KeyPath="yes" > Source="..\..\..\..\3rdPartyFiles\BlackIce\BlackIcePrinterDriver\v10.0\NT\BuEProNT.dll" > /> > </Component> > ... > > > The setup log shows the following: > MSI (c) (FC:4C) [10:37:08:582]: PROPERTY CHANGE: Adding Spool > property. Its value is 'C:\WINDOWS\system32\'. > MSI (c) (FC:4C) [10:37:08:582]: PROPERTY CHANGE: Adding prtprocs > property. Its value is 'C:\WINDOWS\system32\'. > MSI (c) (FC:4C) [10:37:08:582]: PROPERTY CHANGE: Adding w32x86 > property. Its value is 'C:\WINDOWS\system32\'. > > The installer fails (although possibly for a completely unrelated > reason, troubleshooting one failure at a time...) > Is there something special that's got to be done to instantiate > folders below the SystemFolder (System32) level? > > Thanks! > -- > -Chris > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://www.nabble.com/Copying-files-to-System32-subfolders-tp15004219p15013142.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users