Jump to content
  • TIBCO JasperReports® Server installer's usage of Windows Registry (Regedit)


    ghudson_1
    • Version: v7.1 Product: JasperReports® Server

    Issue Description

    The TIBCO JasperReports® Server WAR installer will call Regedit.exe during install, and some customers are curious why it is called and how to remove it's usage


    Resolution

    We read the HKEY_CURRENT_USERControl PanelInternational for the sake of getting the current day and time in the format that is specific for your OS locale, we use that value to write the day and time into the filename of the install log.  The actual cmds are in date.bat, time.bat which are called by buildomaticbindo-js-setup.bat

    buildomatic\bin\date.bat(line 16): START /W REGEDIT /E %TEMP%.\_TEMP.REG "HKEY_CURRENT_USER\Control Panel\International"
    
    buildomatic\bin\time.bat(line 19): START /W REGEDIT /E "%Temp%.\_TimeTemp.reg" "HKEY_CURRENT_USER\Control Panel\International"

    /E just exports a key's value to a file, is this case a temp file, and the temp file is referenced for a variable that provides the internationalized  naming of the log file.

    If needed you can customize the scripts, the result is that your log's file name might not be formatted to your system's exact day time and format.


    Ref. Case 01603192


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...