Dear Blair, I do not fully understand. You mean the -ag switch?
But then on every compile the PDF files get a different GUID, don't they? Then back to the original question: Does it matter in ANY way if they get a different GUID on upgrades? I.e. In a few months I will make the first upgrade for for my product. Most likely a few PDFs will be removed, a few will be added. Is there any concern with your proposed method? Regards, Luke Am 21.07.2010 23:41, schrieb Blair: > In your settings for heat, you should use automatic component guids (they > come out as Guid="*") and you should setup a component group for your PDF > files (then you can simply refer to them from your feature using the > ComponentGroupRef element). > > -----Original Message----- > From: Lukas Haase [mailto:lukasha...@gmx.at] > Sent: Wednesday, July 21, 2010 1:29 PM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Automatically include arbitrary files > > Hi, > > My setup project consists of a bunch of "static" files (application, > DLL), a huge databasefile and a vast amount of PDF files. The PDF files > are very volatile, they change from update to update (some are removed, > some are added but no of them are changed). > > As they are many files I would really prefer to add them automatically. > > I looked at the include-directive from the preprocessor but I can't find > out how to automate. > > I looked at fragments and played around with "heat". In general, this > would work. heat generates a wxs file containing a list of all pdf > files. However, I have all of them to add to the<Feature>-List in my > main file as<ComponentRef>-element! > > Isn't there a way to include the whole fragment and/or directory? > > Even if this would work, I still have to manually add/remove the items > in the pdfs.wxs. > > It would be really great if I could just put the current PDFs in the > diretory "pdfs" and all of them are just added to the MSI. > > However, if I run heat multiple times I clearly get different GUIDs for > the PDFs on each call. > > Does it matter when the GUIDs of the files change? Especially for the > update? > > Is there any chance to automate this process consistently? > > Best Regards, > Luke > > > ---------------------------------------------------------------------------- > -- > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users