Reply to Thread

Post a reply to the thread: Install Date and Version information

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 12-06-2004, 09:48 AM
    linder

    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,
  • 12-06-2004, 09:39 AM
    Arnor

    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,
  • 12-06-2004, 01:30 AM
    linder

    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,
  • 12-05-2004, 11:06 AM
    Arnor

    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,
  • 12-05-2004, 09:11 AM
    Unregistered

    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,
  • 12-05-2004, 05:50 AM
    linder

    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?
  • 12-05-2004, 05:34 AM
    linder

    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
  • 12-04-2004, 12:32 PM
    Arnor

    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,

Posting Permissions

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