Thanks. I can use the preprocessor provided I know what values to set at compile time. I need a solution that is flexible enough to set values at deploy time, may be based on some user input -------------------------------------------------------------------------------------------- Message: 2 Date: Thu, 22 Jan 2009 07:57:12 -0800 From: Bob Arnson <b...@joyofsetup.com> Subject: Re: [WiX-users] Changing File source depending on deployment environment To: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Message-ID: <49789758.7080...@joyofsetup.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Anupama A wrote: > 2. Depending on the deployment environment, I also want to add source files > to the MSI, like Dev.Config should be part of Dev.MSI etc. These are needed > to start the service later. > Check out the preprocessor topic in WiX.chm; you can use <?ifdef?>, for example, to conditionally compile different bits of authoring or $(var.variable) in a File/@Source attribute to specify different source files. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users