+ Reply to Thread
Results 1 to 8 of 8

Thread: Install Date and Version information

  1. #1
    Join Date
    Mar 2004
    Location
    San Antonio, Texas, US
    Posts
    35

    Default Install Date and Version information

    Hi Friedrich,

    I need to add a variable to the new setup so I can put the install date into a registry key. In SB4 I used %INSTDATE%, but I can not find anything in SB5 that I could use.

    Is it possible to access values for example in the Version information supplied in the general settings? There is a compiler var called PRODUCTVER, but how can I get that into the registry? %PRODUCTVER% does not work, I just get "%PRODUCTVER%" into the registry

    Best regards,

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Install Date and Version information

    Hi Arnór,

    Did you define a variable named %PRODUCTVER%? This variable is not defined by default.

    You can do the following:

    Set Variable %PRODUCTVER% to [PRODUCTVER]

    [PRODUCTVER] is the "compiler" variable you see in the General Information view.

    Does this work

  3. #3
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Install Date and Version information

    Hi Arnór,

    BTW, to get the install date, please use the "Get System Information" script item (Retrieve: Current Date). You can add the value to, say, %INSTDATE%

    Does this work?

  4. #4
    Unregistered Guest

    Default Re: Install Date and Version information

    Hi Friedrich,

    Will try it out today and let you know. No, %ProductVer% was my attempt to use the Compiler variable, but you have shown me how to do it correctly Thanks about the date stuff also

    Best regards,

  5. #5
    Join Date
    Mar 2004
    Location
    San Antonio, Texas, US
    Posts
    35

    Default Re: Install Date and Version information

    Hi Friedrich,

    Worked like a charm

    One suggestion: When updating the registry, in the "Edit Registry Data" window, it would be nice to have a dropdowncombo with the available variables. In my case ever one of the 6 entries I have in there are variables, not contstants.

    Also: When setting system values in "Get System Information" if the value is date or time, then the window prompts for a Date format/Time format. It would be nice if it showed the default format there. I have no idea what kind of format string it's expecting, @d2 or mm/dd/yyyy <g>

    Best regards,
    Arnor Baldvinsson
    Icetips Creative, Inc.

  6. #6
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Install Date and Version information

    Hi Arnór,

    One suggestion: When updating the registry, in the "Edit Registry Data" window, it would be nice to have a dropdowncombo with the available variables. In my case ever one of the 6 entries I have in there are variables, not contstants.
    Please press Ctrl+Right Mouse button Does this work?

    Also: When setting system values in "Get System Information" if the value is date or time, then the window prompts for a Date format/Time format. It would be nice if it showed the default format there. I have no idea what kind of format string it's expecting, @d2 or mm/dd/yyyy <g>
    You are right. I'll add this!

    Thanks,

  7. #7
    Join Date
    Mar 2004
    Location
    San Antonio, Texas, US
    Posts
    35

    Default Re: Install Date and Version information

    Hi Friedrich,

    YES, Ctrl-Right click works - but that window also has a small caption, so you lose SB from the taskwindow if you need to switch while the "Insert Variable" window is up.

    PS. You might consider adding a little string after the prompt for "Value Data:" to indicate the Ctrl-Right click option. I do that quite a bit where one key or mouse click adds non-standard functionality.

    Best regards,
    Arnor Baldvinsson
    Icetips Creative, Inc.

  8. #8
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Install Date and Version information

    Hi Arnór,

    YES, Ctrl-Right click works - but that window also has a small caption, so you lose SB from the taskwindow if you need to switch while the "Insert Variable" window is up.
    Fixed

    PS. You might consider adding a little string after the prompt for "Value Data:" to indicate the Ctrl-Right click option. I do that quite a bit where one key or mouse click adds non-standard functionality.
    Good idea!!!

    Thanks,

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Information Please
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 9
    Last Post: 12-21-2006, 03:38 AM
  2. Check for Update During Install
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 6
    Last Post: 10-04-2006, 12:12 AM
  3. SetupBuilder 5.5 Developer Edition is released!
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 13
    Last Post: 08-30-2006, 12:09 AM
  4. SetupBuilder 5.5 Developer Edition is released!
    By linder in forum Lindersoft Announcements
    Replies: 0
    Last Post: 08-14-2006, 04:36 AM
  5. Webupdate: Always new version
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 5
    Last Post: 06-24-2005, 04:53 AM

Tags for this Thread

Posting Permissions

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