Changing the ProfileCatalog file

Topics: CAB & Smart Client Software Factory
Nov 17, 2005 at 3:57 AM
originally posted by: dfanning

How can I tell CAB to use a different file that define the SolutionProfile data?
This is defaulted to ProfileCatalog.xml, I'd like to use a different filename.


Great work on the release!

Mar 30, 2006 at 2:27 PM
originally posted by: BobDotNet2000

Is there anyone who can answer this post.

Thanks, Robert.
Mar 30, 2006 at 3:43 PM
originally posted by: matiaswoloski

You would need to remove the current IModuleEnumerator and create it again

Do it in AfterShellCreated

FileCatalogEnumerator moduleEnum = new FileCatalogEnumerator("MyCatalog.xml");
RootWorkItem.Services.Add{IModuleEnumerator}( moduleEnum );

braces = lessthan and greaterthan

Mar 31, 2006 at 6:39 AM
originally posted by: BobDotNet2000

Thank you very much for your answer Matias. The only little problem that I found is that it should be "FileCatalogModuleEnumerator" and not "FileCatalogEnumerator". With that everything works good!

Thanks again!