In one of my software deployments, the installer refuses to run on Windows 7, saying it is an unsupported operating system. To install it manually, I have been changing the compatibility settings to run in compatibility mode for Vista SP2. When I do this, it installs without a problem. The application itself works just fine on Windows 7.

I created a vbscript to do this for me automatically: when the vbscript determines it is running on Windows 7, it sets the appropriate registry settings so the installer thinks it is running on Vista SP2.

This works great when I manually run the script as an administrator. I open a command prompt with administrative privileges, use "cscript.exe install.vbs", and the software installs as expected. The installer leaves a log file that specifies that it found itself running on Vista SP2, and completes successfully.

However, when I deploy the vbscript and installer through SCCM 2007, it doesn't work. I know the vbscript sets the compatibility setting in the registry (the vbscript writes this information to the Event Log), but the installer leaves a log that says it found itself running on Windows 7 and fails.

Right now the only thing that I can think may be causing this problem is if, for some reason, when applications run in the SYSTEM account (like SCCM deployments that are run with administrative privileges), Windows doesn't enforce compatibility settings. Unfortunately, I haven't found anything online to back up this suspicion.

Does anyone know if application compatibility settings are honored when running in the SYSTEM account?

Or, does anyone know of something else that may be causing this problem?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Wmjackson,

Microsoft does have an official Windows 7 RC Support Forum located here http://tinyurl.com/9fhdl5 . It is supported by product specialists as well as engineers and support teams. You may want to check there as this is an issue that probably needs answers directly from the source.
Jessica
Microsoft Windows Client Team

Jessica
Microsoft TechNet/Springboard
Answered 07/01/2009 by: JessicaD
Senior Yellow Belt

Please log in to comment
0
Thanks for the information, Jessica. I just asked my question over there:

http://social.technet.microsoft.com/Forums/en-US/w7itproappcompat/thread/9b3099e3-c8de-46f4-91ff-878cf5c82b92
Answered 07/02/2009 by: wmjackson
Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity