MYAH_DISABLE_VISTA_RESTART_MANAGER on Windows 7
Posted: Fri Sep 24, 2010 2:47 pm
I want to try out the MYAH_DISABLE_VISTA_RESTART_MANAGER pre-defined variable to see if it will speed up my upgrades on Windows 7. I notice that the upgrades are taking a very long time and there are a lot of warnings from the Restart Manager about applications that can't be restarted. I put this as the first line of my MSICode for my projects main script:
Unfortunately, when I upgrade to the installer I built that includes this line, I still see a Restart Manager session starting and lots of warnings about applications that could not be restarted.
Am I using this variable wrong? Does it not work on Windows 7?
In case it matters, I'm using MSI 4.5 transactions during my upgrade. If I comment out the use begin/end transaction calls, I don't see the slowness and I don't see the warnings from the restart manager. Is MYAH_DISABLE_VISTA_RESTART_MANAGER incompatible with the use of transactions?
Thanks!
Code: Select all
Set Variable MYAH_DISABLE_VISTA_RESTART_MANAGER to TRUEAm I using this variable wrong? Does it not work on Windows 7?
In case it matters, I'm using MSI 4.5 transactions during my upgrade. If I comment out the use begin/end transaction calls, I don't see the slowness and I don't see the warnings from the restart manager. Is MYAH_DISABLE_VISTA_RESTART_MANAGER incompatible with the use of transactions?
Thanks!