Vista requires elevated rights for installers which install drivers or other system items. Pointsec has one of these installers with the problem that the installer itself does not request elevation so the elevation must be granted to it beforehand.
When installing this software to several machines disabling UAC, installing the software and then re-enabling UAC is quite tedious. A way which would take care of UAC would be preferred.
The installer is an MSI package on a network share. The share also has the installation profile which the installer is supposed to find and use in the installation. This works fine without UAC but we have not managed to get this running with UAC.
My main problem is that when elevating the process, it seems to lose its working directory. So while a shortcut to msiexec with correct parameters and the network share as the working directory works (ie. Starts but errors due to no elevation) running this shortcut 'as administrator' complains on not finding the msi package. Process Monitor shows msiexec trying to find the package from Windows\System32. Specifying the full UNC path to the package launches the installer but it fails to find the profile file. So what is the correct way to elevate a windows installer which does not request elevation itself?