Archive: nsis GetTime Installation date is stored in the Windows registry


nsis GetTime Installation date is stored in the Windows registry
  When I install the program Installation date is stored in the Windows registry


Section

>${GetTime} "" "L" $0 $1 $2 $3 $4 $5 $6
>; $0="01" day
>; $1="04" month
>; $2="2006" year
>; $3="Friday" day of week name
>; $4="16" hour
>; $5="05" minute
>; $6="50" seconds

WriteRegStr HKLM "Software\MyApp" "year" "$2"
>WriteRegStr HKLM "Software\MyApp" "month" "$1"
>WriteRegStr HKLM "Software\MyApp" "day" "$0"

>${EndIf}

>SectionEnd
>
I do not know how to run the following command:

Read on from Registry > calculated > 30 days after the message plz updated

When you save the file to read and the program will run for 1 month from the last recorded warning

Can you please help with sample code

Sorry my English is poor

Please help me I'm amateur

Many thanks...

Does anyone know?
Why do not you answer?

Professor?
Teachers?

The nsis forums not the same
Quick answer
I was forced to answer 10 questions ask somebody remembered

Why is it this way?


First of all, it is Saturday, you cannot expect people to answer right away. Bumping threads with pointless bitching does not help.

It is also pretty hard to understand you sometimes. If you want to perform some math operation, use IntOp and IntCmp. For 64 bit numbers, use the system plugin...


Many thanks for the tips
But it hit a small example
I have previously worked
It was a long time I did not work :p
I forgot algorithm :confused:
I thank you
The example code show
Again:o:o
Again
Thank you for your efforts:o

nsis is my love:winamp:;)


Now the last few days since my question

How much should I expect this to be an example

?

Thank you!


didava
It is not clear what you want... Define the problem clearly and competently.
Based on data from the registry - count the 30 days from the initial date?

Can help:
http://nsis.sourceforge.net/Count_ho..._been_executed


This is not
Thanks for Help
Runs many times, it is still
Let me first say that I would exactly
The first installation After installing the
A file created with nsis
Windows Registry placed in the startup runs every time Windows starts
This file runs
Should
The date already stored in the Windows Registry with installer
On comparing the installation date
The last few days?
After the 30 days were compared
Update message to

Sorry my English is not good



Section
${GetTime} "" "L" $0 $1 $2 $3 $4 $5 $6
; $0="01" day
; $1="04" month
; $2="2006" year
; $3="Friday" day of week name
; $4="16" hour
; $5="05" minute
; $6="50" seconds

WriteRegStr HKLM "Software\MyApp" "year" "$2"
WriteRegStr HKLM "Software\MyApp" "month" "$1"
WriteRegStr HKLM "Software\MyApp" "day" "$0"

${EndIf}

SectionEnd

I have a problem to call and calculate the day
Many thanks...

It does not have any knowledge of the
* I'm trying to help
What is a forum?
Why not do a final example


because no one understands what you're asking (i cannot work out what's being asked).

if needed, post your question in english and also your native language and is possible someone can translate it (or can google translate it to try to work out what it is you're actually asking for).


Originally posted by didava
It does not have any knowledge of the
* I'm trying to help
What is a forum?
Why not do a final example
You cannot expect everyone will solve your problems immediately after you post it.

And asking for full example is bloody rude - no one has an idea what are you trying to achieve!

If you need help because you cannot do that by yourself then rather use professional services and let someone to make that installer for you.

didava
Time plugin can calculate date after 30 days.