Sounds good but the problem is that our packages are stored on a share which means that I can't set the compatibility mode (can only be done on a local drive AFAIK). Also the setting is not kept once the file is copied and I think SCCM copies the package files over to the local machine before executing the installation (not sure if that's correct but it's moot because you can't set compatibility mode on a UNC path to begin with).
Would be interested in the VBS method if you point me to the right direction. Thanks.