Fixlet - Patch - Delete RunAs from InstallShield Install Driver when set to Interactive User
0 Votes |
Description
Property Details
742 | |
Fixlet - Patch - Delete RunAs from InstallShield Install Driver when set to Interactive User | |
BESC | |
Registry Edit | |
0 | |
Internal | |
jgs194 | |
8/31/2011 12:00:00 AM | |
Patch Delete RunAs InstallShield Install | |
True | |
jgstew on 12/6/2012 2:48:16 PM | |
jgstew on 12/6/2012 2:48:16 PM | |
2528 Views / 7 Downloads | |
![]() ![]() ![]() ![]() ![]() |
Relevance

(name of it = "WinXP" OR name of it = "WinXP-2003" OR (name of it = "WinVista" AND product type of it = nt workstation product type AND NOT x64 of it) OR (name of it = "WinVista" AND product type of it = nt workstation product type AND x64 of it) OR (name of it = "Win7" AND NOT x64 of it) OR (name of it = "Win7" AND x64 of it)) of operating system
Used in 1 fixlet | * Results in a true/false |

exists keys whose ((default value of it as string) contains "InstallShield InstallDriver" AND value "RunAs" of it as string contains "Interactive User") of key "HKEY_CLASSES_ROOT\AppID" of registry
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
// From https://wss.psu.edu/SysMan/Content%20Development/Fixlet%20-%20Patch%20-%20Delete%20RunAs%20from%20InstallShield%20Install%20Driver%20when%20set%20to%20Interactive%20User.aspxSuccess Criteria
// The following deletes the "RunAs" entry in the registry for the InstallShiled Install Driver, which effectively resets it to the default, which is "Launching User"
regdelete "[HKEY_CLASSES_ROOT\AppID\{tuple string items 0 of concatenation ", " of (names of keys whose ((default value of it as string) contains "InstallShield InstallDriver" AND value "RunAs" of it as string contains "Interactive User") of key "HKEY_CLASSES_ROOT\AppID" of registry)}]" "RunAs"
// There are often more than one entry, this will effect the next one.
if{exists keys whose ((default value of it as string) contains "InstallShield InstallDriver" AND value "RunAs" of it as string contains "Interactive User") of key "HKEY_CLASSES_ROOT\AppID" of registry}
regdelete "[HKEY_CLASSES_ROOT\AppID\{tuple string items 0 of concatenation ", " of (names of keys whose ((default value of it as string) contains "InstallShield InstallDriver" AND value "RunAs" of it as string contains "Interactive User") of key "HKEY_CLASSES_ROOT\AppID" of registry)}]" "RunAs"
endif
// The following should not execute, unless there happen to be more than 2 entries for InstallShield InstallDrivers
if{exists keys whose ((default value of it as string) contains "InstallShield InstallDriver" AND value "RunAs" of it as string contains "Interactive User") of key "HKEY_CLASSES_ROOT\AppID" of registry}
regdelete "[HKEY_CLASSES_ROOT\AppID\{tuple string items 0 of concatenation ", " of (names of keys whose ((default value of it as string) contains "InstallShield InstallDriver" AND value "RunAs" of it as string contains "Interactive User") of key "HKEY_CLASSES_ROOT\AppID" of registry)}]" "RunAs"
endif
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |