How to determine IE type(32 bit or 64 bit) in a task sequence while updating Java

How to determine IE type(32 bit or 64 bit) in a task sequence
Hi,
Currently i have to update new version of Java after removing all the previous existing version of Java by using TS in SCCM 2007.
we have both 32 bit and 64 bit browser in the environment. I am stucked in determining whether the browser is of 32 bit or 64 bit.
How to determine IE type(32 bit or 64 bit) in a task sequence so that respective java can be installed for that IE browser.
will highly appreciate quick response.
Thanks in advance.
Daya

But you also need to install JRE x86 on x64 systems, since most people actually use the 32bit browsers on x64 systems.
The detection logic is actually pretty simple -- just check the right registry hive to find the installation location of the BIN\JAVA.DLL. Both pathnames are stored in HKLM\Software\JavaSoft\Java Runtime Environment\1.7 in the registry value "JavaHome",
but the x86 path is stored in the 32-bit hive and the x64 path is stored in the 64-bit hive.
Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
SolarWinds Head Geek
Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
http://www.solarwinds.com/gotmicrosoft
The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

Similar Messages

  • How to determine the type of the jobject... similar to instanceof

    hi,
    I would like to know how to determine the jobject reference of an instance is of which class.
    this is something similar to instanceof we use in java.
    is there any thing like 'instanceof' in JNI. if there how to use it?
    i got this as objective question for which answers were(i do not remember exactly)
    1.instanceof
    2.assignedto
    i could nt het much help in googling.
    thanks in advance

    Hi
    The JNI provides a native version to the java instanceof operator, this function takes two arguments
    an object refrence and a class refrence and reports JNI_TRUE.
    jclass myclass = env->FindClass("your class name");
    if(env->IsInstanceOf(obj,myclass) == JNI_TRUE)
    // obj is of type myclass
    }Regards
    pradish

  • How to determine itab type at run time

    I need to write a subroutine that organizes data in internal tables for presentation by a smartform. There are a few similarly structured internal tables all with the same field name ("recipe_type") by which the data is sorted. My problem is that how I can determine the type of the itab inside my subroutine at run time? Is it ever possible in ABAP?
    The subroutine code is attached below. Thanks for any help.
    FORM beautify_itab    TABLES itab_in TYPE table
                                     USING v_type TYPE any
                                     CHANGING itab_out TYPE table.
    Data declaration
      DATA: v_data_row LIKE LINE OF itab_in,                " THIS WON'T COMPILE!
                 v_blank_row LIKE LINE OF itab_in.              " blank row
    Organize the display of the table data
      LOOP AT itab_in INTO v_data_row.
        IF v_type <> itab_in-recipe_type.                     " 'recipe_type' is the sort key for the incoming itabs
          v_type = itab_in-recipe_type.
          IF sy-tabix > 1.
            APPEND v_blank_row TO itab_out.
          ENDIF.
          APPEND v_data_row TO itab_out.
        ELSE.
          CLEAR v_data_row-recipe_type.
          APPEND v_data_row TO itab_out.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    "beautify_itab

    The following code does what I want, but only if the input itab structure is declared first in the program. It won't work if the itab is declared as itab_in TYPE TABLE OF sflight. This is because the function 'GET_COMPONENTS_LIST'  only can load the structure of a field declared explicitly in the program.  Does anybody know of any method to load the structure of an itab based off a dtab? 
    Thanks you guys for answers. Points have been rewarded.
    *& Report  Z_GET_ITAB_TYPE_AT_RUN_TIME
    REPORT  z_get_itab_type_at_run_time.
    DATA: BEGIN OF itab_in OCCURS 0,
             seatsocc_b LIKE sflight-seatsocc,
             fldate LIKE sflight-fldate,
          END OF itab_in,
          itab_out TYPE TABLE OF string,
          wa_itab_out TYPE string.
    SELECT seatsocc_b fldate
    INTO TABLE itab_in
    FROM sflight
    WHERE carrid = 'AA' AND
          connid = '0017'
    ORDER BY seatsocc_b.
    PERFORM beautify_itab
                TABLES
                   itab_in
                USING
                   sy-repid
                   'itab_in'
                   'SEATSOCC_B'
                CHANGING
                   itab_out.
    LOOP AT itab_out INTO wa_itab_out.
      WRITE: / wa_itab_out.
    ENDLOOP.
    *&      Form  beautify_itab
          text
         -->ITAB_IN    text
         -->V_KET_FIELD   text
         -->ITAB_OUT   text
    FORM beautify_itab TABLES itab_in TYPE table
                       USING  v_prog_name LIKE sy-repid
                              v_itab_in_name TYPE any
                              v_key_field_name TYPE rstrucinfo-compname
                       CHANGING  itab_out TYPE table.
      DATA: itab_fields TYPE TABLE OF rstrucinfo,
            v_field_name LIKE rstrucinfo-compname,
            v_old_key TYPE string,
            v_field_value TYPE string,
            v_data_line TYPE string,
            v_tabix LIKE sy-tabix,
            c_blank_row TYPE string VALUE ''.
      FIELD-SYMBOLS: <fs_field>,
                     <fs_data_line>,
                     <fs_field_list> TYPE  rstrucinfo.
    gets all of the components of a structure
      CALL FUNCTION 'GET_COMPONENT_LIST'
        EXPORTING
          program    = v_prog_name
          fieldname  = v_itab_in_name
        TABLES
          components = itab_fields.
      LOOP AT itab_in ASSIGNING <fs_data_line>.
        v_tabix = sy-tabix.
        LOOP AT itab_fields ASSIGNING <fs_field_list>.
          v_field_name =  <fs_field_list>-compname.
          ASSIGN COMPONENT v_field_name OF STRUCTURE
                        <fs_data_line> TO <fs_field>.
          v_field_value = <fs_field>.
          IF v_key_field_name = v_field_name.
            IF v_old_key <> v_field_value.
              v_old_key = v_field_value.
              IF v_tabix > 1.
                APPEND c_blank_row TO itab_out.
              ENDIF.
            ELSE.
              CLEAR v_field_value.
            ENDIF.
          ENDIF.
          CONCATENATE v_data_line v_field_value INTO v_data_line
                      SEPARATED BY space.
        ENDLOOP.
        APPEND v_data_line TO itab_out.
        CLEAR v_data_line.
      ENDLOOP.
    ENDFORM.                    "beautify_itab

  • How to determine the type of an existing iView

    Hi,
    While creating an iView using wizard there is a big list of type of iViews. But after creation of iView, how do I determine the type of iView. Which attribute or property of iView holds this information?
    -Lave Kulshreshtha

    You can copy and paste the existing Iview changing the name and ID if u want to replicate the same.
    Also, when you create a new iView from a template, you get a list of them e.g SAP BSP iView etc.
    Now what you see in the code link is much similar to what you see as a list of templates when u create iViews. So its pretty simple.
    I hope this helped you.

  • How to determine employee type (management vs nonmanagement) in WebDynpro

    Hi,
    I am running SP14.
    In my WebDynpro application, I need to hide/show a link based on if the employee is management or nonmanagement.
    What is the easiest way to determine the type of employee in a WebDynpro?  Is the management/non-management attribute already exposed and available to the WebDynpro?  Or do I need to invoke a BAPI/RFC to retrieve that information from SAP (eg Employee Group or Personnel Area)?
    Thanks for any help you can provide.
    Kevin

    You only need to call this RFC once and share the results with other views via context binding!
    In my applications I follow the Floorplan manager architecture and have one web dynpro component for all the frontend logic e.g. FcAddress
    In the component controller of FcAddress I setup model nodes for the RFC e.g.
    Address_Input (mapped to input RFC model class with all the import parameters of the RFC)
    Address_Output (mapped to either the output RFC model class with all the export parameters of the RFC or it includes another model node for Address_Records which is mapped to the export table parameter.)
    Address_Messages (mapped to the return parameter of the RFC (BAPIRET2).
    All other views with their component controllers are mapped to those model nodes to allow access to the RFC data.
    You can pass the userid to the RFC and then the RFC will get the related employee number via IT105/ST10. You just need to have the userid defined as an import parameter in the RFC.

  • How to determine Charge types in forwarding order ?

    Hi Experts,
    I am new to SAP TM, I am configuring the charge management.
    Please provide step by step configurations to determine charge types automatically in forwarding order ASAP.
    Thanks,
    Shakti

    Following SAP Notes to be referred for Service Tax:
    1.     778976 u2013 Service Tax and Ecess on Service Tax
    2.     1032265 - SEcess on Service Tax
    Regards
    AK

  • 16-Bit App Support for SCCM 2012 Task Sequence / WinPE 4.0

    I'm not sure if what we're trying to do is even possible, but I am hoping it is.  I wrote a little script to check the BIOS asset tag info and if it isn't a valid numeric number it prompts in the task sequence to enter the correct asset tag number. 
    We're trying to do this so we have it on a custom SCCM report for inventory tracking.  The problem is the Acer utility is 16-bit and it kicks back an error in WinPE saying that
    you don't have access to run 16-bit applications and to check your permissions with your system admin.  Where does WinPE store these permissions?  I know where they are in GPO's but not for SCCM's WinPE.
    ' Beta Test Version' Define Variables
    Dim AssetTag, BiosVer, Serial, Model, Vendor, strAssetTag, FSO, objShell, objName, objBios, objAsset
    ' Define WMI Objects / queries
    Set wmi = GetObject("winmgmts:")
    Set objAsset = wmi.InstancesOf("Win32_SystemEnclosure")
    Set objBios = wmi.InstancesOf("Win32_Bios")
    Set objName = wmi.InstancesOf("Win32_ComputerSystemProduct")
    Set FSO = CreateObject("Scripting.FileSystemObject")
    Set objShell = WScript.CreateObject ("WScript.shell")
    ' Set values of variables based on the WMI Object query
    For Each obj in objAsset
    AssetTag = obj.SMBIOSAssetTag
    Exit For
    Next
    For Each obj in objBios
    BiosVer = obj.SMBIOSBIOSVersion
    Serial = obj.SerialNumber
    Exit For
    Next
    For Each obj in objName
    Model = obj.Name
    Vendor = obj.Vendor
    Exit For
    Next
    ' Test for Valid Asset Tag number
    Set re = New RegExp
    re.Pattern = "\D+"
    re.IgnoreCase = True
    re.Global = True
    hasMatches = re.Test(AssetTag)
    If hasMatches = True Then
    FSO.CreateFolder "C:\BIOS"
    strAssetTag = InputBox("Asset Tag info is INVALID." & vbCrLf & "Please enter a valid ACSD Asset Tag: ","ACSD Asset Tag",AssetTag,20,20)
    Else
    Wscript.Quit
    End If
    ' Process Asset Tag Update in BIOS
    If Model = "5100C2U" Then
    FSO.CopyFile "\\server\share\BIOS\Lenovo-5100C2U\*.*", "C:\BIOS\"
    objShell.Run "CMD /K CD C:\BIOS & C:\BIOS\wflash2.exe /tag:" & strAssetTag
    ElseIf Model = "2117EKU" Then
    FSO.CopyFile "\\server\share\BIOS\Lenovo-2117EKU\*.*", "C:\BIOS\"
    objShell.Run "CMD /K CD C:\BIOS & C:\BIOS\wflash2.exe /tag:" & strAssetTag
    ElseIf Model = "Aspire V5-121" Then
    FSO.CopyFile "\\server\share\BIOS\Acer-V5-121\*.*", "C:\BIOS\"
    objShell.Run "CMD /K CD C:\BIOS & C:\BIOS\DQDMI.EXE /Wasset " & strAssetTag
    Else
    Wscript.Quit
    End If

    I guess that it has nothing to do with permissions. WinPE is missing the 16bit subsystem in total as far as I know.
    Torsten Meringer | http://www.mssccmfaq.de

  • How do determine data type?

     I am trying to write my own binary file saver and I need to list the data type in the custom header. How do you do this in labview?

    kameronrausch wrote:
    The data acquistion spits out data in several different formats so a priori, I do not know the data type. It can be either a 32-unsigned int, 16-bit unsigned int, 8-bit unsigned int or the signed version of each one of these. To make the program general purpose however, I would like to incorporate floating point data points as well.
    At some point you have to know what the data type is before start collecting data. If all you have is a stream of bits there is no way to determine what the data type is. What controls how the data acquistion is getting its data? If it is test specific you could use an external configuration file to store this and use that to determine how the data should be interpreted. If you have arrays of specificdata types you could use a polymorphic VI for your data writes. Based on teh wire type of the input the appropriate VI would be called. How is your data being passed from your data acquistion to the VI that will write it to a file?
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • How to determine data type of cell in Excel file

    I have a company standard Excel file that needs to be read to determine what tests to run.  I have no control over its format.  I need to be able to tell what the data type is in order to read it using the LabView sample code.  It is a hodge poge of numbers and strings.  Some of the numeric fields are formated as hex while some are floating point.  There does not appear to be a vi that I can call to determine info about the cell formating.  As I remember it, the Windows Active X control for accessing Excel support that.  I really was hoping to avoid dealing with the Active X control for Excel directly.
    Any help/ideas?
    Outputting it in CSV or similar is not an option.
    Solved!
    Go to Solution.

    If you have to deal with Excel directly, I don't see how you're going to get around using Active X.
    MSDN page on using ActiveX

  • Financial Analytics How to determine dimension types

    How can we determine what ypes of dimensions are built by Oracle as part of OBIA? I am interested in understanding the dimension types (Type I, Type II and which one is slowly changing dimension and what columns are used for dates to maintain history in these dimension tables) for all out of box supplied dimensions.
    Any pointers on this is highly appreciated.
    Thanks in advance
    Kris
    Edited by: user566193 on May 14, 2011 10:59 PM

    Easiest way to check what are enables as SCD Type 2 are those that have a "SCDUpdate" mapping associates with them. To check exactly which fields are enabled for Type 2 Changes..you will have to dig into the SIL Mappings. Here is an excerpt from the BI Apps guide that explains this:
    The logic that tracks Category 2 changes is contained in exposed objects in each SIL dimension mapping that supports Category 2 changes.
    There is a lookup between the Source Qualifier and the Filter. This lookup is used to determine if the record already exists in the target and, therefore, needs to be updated in addition to other system columns. Columns that track Category 2 changes are returned in this lookup and passed to the next expression. The columns returned by the lookup are compared with the columns passed from the staging table. If any of these columns are different, the record is flagged for a Category 2 change.
    This expression contains a variable port named 'TYPE2_COLS_DIFF'. If this port is flagged as 'Y' then a Category 2 change will be triggered. If it is flagged as 'N' then a Category 1 change will be triggered.
    To change the columns used to determine a Category 2 change, modify the lookup to pass any additional columns you want to be evaluated for Category 2 changes. Then, modify the variable port 'TYPE2_COLS_DIFF' to include this column when being evaluated.
    hope this helps...

  • T410 how to determine graphics type

    I need a new fan for my T410 (2516-CTO), however there are two types - integrated graphics and discrete graphics.
    How do I determine which version I have without disassembly?
    Solved!
    Go to Solution.

    Easiest is to look at device manager.
    T520 Model 4239 Intel(R) Core(TM) i7-2860QM CPU @ 2.50GHz
    Intel Sandy Bridge & Nvidia NVS 4200M graphics Intel N 6300 Wi-Fi adapter
    Windows 7 Home Prem - 64bit w/8GB DDR3

  • How to determine mime type of multi-part message uploaded to rest api?

    I have a rest api that is used to upload data from different types of clients and serves as a proxy to write data to Azure blob storage. For testing, I'm using Fiddler on a PC.
    The code in my rest api that writes to blob storage looks like this:
    try
    await blockBlob.UploadFromStreamAsync(requestMessage.Content.ReadAsStreamAsync().Result);
    catch (Exception ex)
    HttpResponseMessage _hrm = new HttpResponseMessage(HttpStatusCode.InternalServerError);
    _hrm.ReasonPhrase = ex.Message;
    throw new HttpResponseException(_hrm);
    1 - How can I access the form-data that is included in the POST that has the original file name and the content-tyipe?
    2 - How can this info be passed to the blob when I write it out?  Currently, it is written out as a type of application/octet-stream instead of video/mp4.

    I think I found a solution using some other threads.  I'm not sure if it's the most performant or best but I'm able to get to the content-disposition and the content-type of the stream to get the details:
    Dictionary<string, string> lstLines = new Dictionary<string, string>();
    string[] _tmp;
    TextReader textReader = new StreamReader(requestMessage.Content.ReadAsStreamAsync().Result);
    string sLine = textReader.ReadLine();
    Regex regex = new Regex("(^content-type)|(^content-disposition)", RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.Singleline);
    while (sLine != ""
    && sLine != null)
    if (regex.Match(sLine).Success)
    _tmp = sLine.Split(':');
    lstLines.Add(_tmp[0], _tmp[1]);
    sLine = textReader.ReadLine();

  • How to determine the types of interactive form fields

    Hello:
    I have written a utility that traverses through the objects in a PDF file, and finds the ones of Type "Annot", Subtype "Widget". I need to go one step down the hierarchy and determine which kind of widget (text, radio button, check mark, press button) is the one under scrutiny.
    I have looked at the innards of PDF files, and found that the widgets of type "text" are internally identified by the FT=Tx dictionary entry. So far, so good.
    Here is where the beauty and consistency stops. It turns out that all the other (non-text) types are ambiguously identified by FT=Btn dictionary entry.
    So: Every field which is not text, is a button.
    Where should I look?
    TIA,
    -RFH

    Digging a little deeper, I found that the 4 types of fields (as generated by default) have different keys, as follows:
    Text: [F, FT, MK, P, Rect, Subtype, T, Type]
    Check Box: [AP, AS, F, FT, MK, P, Rect, Subtype, T, Type]
    Radio Button: [AP, AS, BS, F, FT, Ff, MK, P, Rect, Subtype, T, Type]
    Button: [AP, DA, F, FT, Ff, MK, P, Rect, Subtype, T, Type]
    Is that the correct approach to determine the kind of fields, by querying for the keys, which somehow instantiate a fingerprint?
    TIA,
    -RFH

  • How to determine mime-type of a file using OSB

    I was working on a requirement where in it requires to use FILE/ FTP adapters using OSB or BPEL as solution. The idea is to pick up files from one location to another location for certain legacy platforms. The real issue is, someone can put a JPEG file in the upload/download location(s), merely by changing the extensions. When this happens the systems will not process since the mime-type is incorrect.
    I know of an open-source API (Apache-Tikka) to determine the mime-types, but then if we use open-source why would customer buy from us.
    The intention is to pick-up the file and simply pass-it (and not parse) on to next system using File or FTP adapter, but in the process, cross check the MIME-TYPE before doing so.
    Any solution using Oracle Service Bus or BPEL would help

    HI Birender,
    Kindly go through the metalink doc for processsing jpeg/xml/pdf etc any atachement using bpel :Understanding XPATH functions for processing MIME attachments with BPEL PM in SOA Suite 11gR1 [ID 1272093.1]
    Regrds,
    olety

  • How to Determine Color types in a file?

    How can we tell if a document has any CMYK, RGB or Pantone colors within any object (curves, text, etc.)?  The requires are just to report that the document has any CMYK and/or RGB and/or Pantone colors.  We already can get the color for a bitmap image on the document, it's the other objects on the document.
    Thanks...

    What I do to make a quick check of a Document is open the Document Info panel. If you want to see what is an object, select only that object, if you want to see what is in all objects select all. In the Document Info panel fly out menu (upper right corner of the panel) select Object to see information on number of objects and what colors are used. If you want to see what Spot Colors are used select the Spot Color Objects from this same fly out menu. Hope this helps but it sounds like you may need more robust preflight tools.

Maybe you are looking for