Hi Pavan, How are your running the automated WIX process ? If you are just running a batch file from DOS, use the command: SET MyVariable=BUILD69 (or use any DOS trick to generate the number for you)
Systems like FinalBuilder, MSBuild, or BuildForge will allow you to do that automatically. Yo don't need/want a CA for this !!!! The idea is that the source path is defined as a variable and resolved at build time by WIX. A Custom Action will run AFTER the setup is already packaged and running, therefore, the Source Path was already resolved. Just let me know how you are building your WIX solution, and I will send you a working sample. Eitan On Wed, Aug 20, 2008 at 4:48 PM, pavan gadam <[EMAIL PROTECTED]> wrote: > But how to you set this env variable? > > I want to write a C# Custom Action. Is it possible in Custom Action to > fetch > env variable and set it? > > How do you declare System Environment variable? > > Thanks, > Pavan > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users