Adding additional resoures and passing variables

Topics: Bindings File, Settings Management and SSO, General Questions
Feb 7, 2011 at 10:52 PM

Hi, two questions.

First, in our scenario, we have to add a third party dll as resources, we have no source code for this dll, how to archieve this?

Second, is it possible somehow passing the process level variable collected in the InstallWizard.xml and use it to merge with the binding file?

Thanks advance!

Coordinator
Feb 8, 2011 at 2:36 AM

Hi,

1) If you want to include a random .NET DLL and install it in the GAC, you can create an ItemGroup containing one or more AdditionalAssemblies elements.  Same format as Schemas, Orchestrations, etc.  If you just want to include a random DLL in the MSI, use AdditionalFiles instead.

2) Yes.  The data gathered during the wizard is written into environment variables (named inside InstallWizard.xml).  In the binding file, specify a token of _ENV_<fieldname>.  Same field name as you used inside InstallWizard.xml.  See http://xmlpreprocess.codeplex.com/wikipage?title=Properties&referringTitle=Managing%20Properties for details.

Thanks,
Tom

Feb 8, 2011 at 2:25 PM

thanks so much!!