btw, I could also do a normal component with a File Id, smth like: <Component Id="aaa.ini" Guid="GUID"> <File Id="aaa.ini" Name="aaa.ini" Source="template.ini" KeyPath="yes" /> </Component>
<Component Id="bbb.ini" Guid="GUID"> <File Id="bbb.ini" Name="bbb.ini" Source="template.ini" KeyPath="yes" /> </Component> that means that template.ini would be on the target machine as aaa.ini and as bbb.ini which is fine. But how can I condition the bbb.ini component to be removed only on a real uninstall - not upgrades, repairs, modifies? Is this doable? Thx, Viv On 4/1/2010 10:43 AM, Viv Coco wrote: > Hi all, > > I install an aaa.ini file together with my binaries. I need a second ini > file (bbb.ini) which is a copy of the first one, it just have a > different name, and it's in the same directory. I was thinking about > using the CopyFile but I need also the following: > 1) the CopyFile, meaning the creation of the bbb.ini should happen only > if the bbb.ini file doesn't already exist (from previous installations) > 2) the bbb.ini file should be removed only on a real uninstall - not > upgrades, repairs, modifies. > > How could I accomplish this? > > Thx, > Viv > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users