2
I'm trying to package an application called Boss and is intended to be deployed through SCCM 2012 and seems that is an old Windows 2K application so it doesn't has all the properties I wish it could have to modify inside an MSI so I have the Setup.exe and a bunch of DLL's to register to make it work for Windows 7.
I finished installing with the regular setup.exe but the application requires Admin Rights to run.
I tried to set the following command on my .CMD installer sequence:
reg.exe Add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /f /v "C:\Boss2K\Boss.exe" /d "WINXPSP3"
And it will run the application only with the Admin account but when a single user without an elevated account will try it it just prompt to enter the Admin credentials to run it.
This is the main installer sequence:
@echo off
start /wait C:\Boss1\setup.exe /quiet
del "C:\Users\Public\Desktop\Boss.lnk"
del "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Boss\Boss.lnk"
del "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Boss\Test-O-Matic!.lnk"
copy /y "%~dp0Boss.lnk" "C:\Users\Public\Desktop"
copy /y "%~dp0Boss.lnk" "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Boss\Boss.lnk"
copy /y "%~dp0Test-O-Matic!.lnk" "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Boss\Test-O-Matic!.lnk"
reg.exe Add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /f /v "C:\Boss2K\Boss.exe" /d "WINXPSP3"
exit
So, I just want to know if there's anything that I'm missing here to get this 2 screens bypassed: Compatibility/Change Settings for all Users and the User Account Control in order to run the application without any pop up at all just for this application.
I will appreciate so much any help ! Thanks and kind regards.
Notice that Using SCCM 2012 the installations will run always as Admin and the users on our domain has No Admin rights but the intention is to just install the application for them to use it. – derspinne – 2013-06-27T14:40:31.750