I'm trying to figure out why the Administrator privileges are check too late in our install package!
I've put :
Code Sample |
if ( !Is(USER_ADMINISTRATOR, "" ) ) then abort; endif; |
in either OnBegin or OnFirstUIBefore, but IS, tries to copy files to c:\program files\Common Files\InstallShield\.. before it even launch the scripts ! and my restricted user can't write there!
Is this normal ? When starting the application as a restricted user, is there a way to prevent the installshield error, or launch IS with "elevated privileges" ?
Thanks
Max.