Fixlet - Patch - Delete RunAs from InstallShield Install Driver when set to Interactive User
Log In or Register to download the BES file, and more.

0 Votes

Description

<enter a description of the task here>

Property Details

ID742
TitleFixlet - Patch - Delete RunAs from InstallShield Install Driver when set to Interactive User
DomainBESC
CategoryRegistry Edit
Download Size0
SourceInternal
Source IDjgs194
Source Release Date8/31/2011 12:00:00 AM
KeywordsPatch Delete RunAs InstallShield Install
Is TaskTrue
Added by on 12/6/2012 2:48:16 PM
Last Modified by on 12/6/2012 2:48:16 PM
Counters 2528 Views / 7 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 57 fixlets and 4 analyses   * Results in a true/false
Show indented 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
Show indented relevance
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.aspx
// 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
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!