That is how environment variables work, the variables are only read when the environment is started. IIRC you can write applications that monitor for WM_SETTINGCHANGE and update themselves but the standard consoles don't.
Neil -----Original Message----- From: Mita Patel [mailto:mpa...@esri.com] Sent: 18 December 2012 00:31 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Propogating Environmnet variables We are having issues propagating the environment variables. The setup has a custom action that propagates the environment using the SendMessageTimeOut api SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, 0,(LPARAM) "Environment", SMTO_ABORTIFHUNG, 5000, NULL); On a 64 bit OS, both 32 and 64 bit consoles were opened before the install. Ran the install with the above custom action. If a console window is open one doesn't see the custom Environment. But open a new console session and the varaible is listed (for both 32 and 64 bit cosole). Is this the correct behavior? Is there a way for the console window opened before the install to see the custom environment variable. Thanks Mita ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users