This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- environment refresh
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Jun 10, 2008
02:19 PM
environment refresh
If I set an environmental varriable inside my installer feature#2 how do I refresh the environment in Windows XP so that Feature#3 can see the change and act on it?
Thanks,
Bradley
Thanks,
Bradley
(2) Replies
‎Jun 10, 2008
02:27 PM
That can be tricky; Windows supports that WM_SETTINGCHANGE message that native code can call, but not every process listens to it. Is it an option to use an ISMP property in parallel with the environment variable change?
‎Jun 11, 2008
08:43 AM
RobertDickau wrote:
That can be tricky; Windows supports that WM_SETTINGCHANGE message that native code can call, but not every process listens to it. Is it an option to use an ISMP property in parallel with the environment variable change?
That sounds like a good idea for future planinng but I can not use it in this case.
How would I use the WM_SETTINGCHANGE message inside my project? A assum this would be a custom action written in Java? Or an external exectable written in C?
Bradley