Quantcast
Channel: SCN: Message List - SAP GUI
Viewing all articles
Browse latest Browse all 6448

Re: SAP GUI 7.30: Security Setting to 'Allow'

$
0
0

One option is to check for Registry Key "HKLM\SOFTWARE\Wow6432Node\SAP". If found, then you have a 64 bit system, 32 bit otherwise.

 

Below is a piece of code I use at the very beginning of my "On Installation End" script.

 

'

'---- Handling 32bit and 64bit Registry Differences

'

If NwEngine.Shell.RegKeyExist("HKLM\SOFTWARE\Wow6432Node\SAP") Then

   strSAPRegPath = "HKLM\SOFTWARE\Wow6432Node\SAP"

else

   strSAPRegPath = "HKLM\SOFTWARE\SAP"

End If


Then I can just reference the variable "strSAPRegPath" throught the script. For example:

 

'

'---- Branding

'

strUseBrandingRegPath      = strSAPRegPath & "\General\Appearance\UseBrandingImage"

strBrandingImageRegPath  = strSAPRegPath & "\General\Appearance\BrandingImage"

 

Regards,

 

Daniel Leal


Viewing all articles
Browse latest Browse all 6448

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>