On 64-bit Windows 2003 Server (may occur in other environments), when setting Envionrment variables they are not recognized by the system until I go into Control Panel \\ System \\ Advanced \\ Environment Variables and then close the dialog by pressing OK.
For example, after an install if I open up a new CMD prompt, the environtment variables are not present. Once I do the steps above and open new CMD prompt they are present.
I had this issue in InstallShield and currently evaluationg InstallAware due to too many problems with InstallShield and InstallAware looks great! In InstallShield I had to do a Win32 PostMessage(0xFFFF,0x001A,0,"Environment") in order to notify Windows itself of the Env change.
I was hoping that I did not have to do this with InstallAware and it would do this automatically. I do not see option to do this. I will investigate using the Call Dll Function.
Updating Environment Variables
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
Ah, interesting tip there. Yes, you'll still need to make the posting. Just insert the Call DLL Function command after Apply Install and you should be all set!
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 54 guests