Results 1 to 5 of 5

Thread: Setting System Time on Install

  1. #1

    Default Setting System Time on Install

    Hi

    I want to be able to check the System Time format on install and set
    the clock to 24-hour format if not already set.

    Can I do this within SB6 ? I figure it will need a script variable,
    but was unable to find it in the help.

    Cheers
    Kim

  2. #2

    Default Re: Setting System Time on Install

    Kim,

    > I want to be able to check the System Time format on install and set the
    > clock to 24-hour format if not already set.
    >
    > Can I do this within SB6 ? I figure it will need a script variable, but
    > was unable to find it in the help.

    No problem. I'll post a demo script.

    Friedrich

  3. #3

    Default Re: Setting System Time on Install

    Kim,

    > I want to be able to check the System Time format on install and set
    > the clock to 24-hour format if not already set.
    >
    > Can I do this within SB6 ? I figure it will need a script variable,
    > but was unable to find it in the help.

    See attached "SetTimeFormat.sb6" demo project for SetupBuilder and source
    code snipped screenshot.

    This project lets you check the local time format and set it to 24-hours
    format if it's in 12-hours format or to 12-hours format if it is in 24-hours
    format.

    It should also work fine on Vista (both 32- and 64-bit).

    Does this help?

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    SetupBuilder "point. click. ship"
    Create Windows Vista ready installations in minutes

    -- Official Comodo Code Signing and SSL Certificate Partner
    Attached Images Attached Images  
    Attached Files Attached Files

  4. #4

    Default Re: Setting System Time on Install

    By the way, to set it to the 12-hours AM/PM format, you should set it to
    "hh:mm:ss tt" (see attached screenshot).

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    SetupBuilder "point. click. ship"
    Create Windows Vista ready installations in minutes

    -- Official Comodo Code Signing and SSL Certificate Partner
    Attached Images Attached Images  

  5. #5

    Default Re: Setting System Time on Install

    Freidrich

    Your bloods worth bottling! Exactly what I needed to solve the
    problem.

    Cheers and many thanks
    Kim

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •