LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time Specific Installer ?

Hi,

Iam using LabView8.0. I have created an installer with exe included in it, for my application.

If suppose any user installs my application, i want to keep an option such that it works for first 30 days after installation, like any other evaluation softwares.

Can you please suggest me a way to create time specific installer ?

Thanks and Regards,

SODLB

0 Kudos
Message 1 of 6
(3,089 Views)
Hi SODBL,

interesting: sometimes several people have the same questions at the same time Smiley Wink

Look here!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 6
(3,076 Views)
Sodlb,

no installer has the capability to create such functionality itself. You have to implement this in your application.
Important Info: Most evaluation software do not start the evaluation time with the installation but with the first start of the software.

So your application should take care about start and stop of the evaluation perdiod. You can use several methods to solve this:
- registry keys (encrypted or not)
- files
- ... (make up your mind)

hope this helps,
Norbert
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 3 of 6
(3,073 Views)

Hi,

I am not too sure how you can get the time of installation but you could design your exe so that it records the time the program first ran in a binary file (preferably scrambled so that users cant change it around). Everytime the program runs after the first run, it will have to check that file for the date validity.

Would this work? I can probably write up a quick example if needed.

Abhinav T.
Applications Engineering
National Instruments India

LabVIEW Introduction Course - Six Hours
Getting Started with NI-DAQmx
Measurement Fundamentals
0 Kudos
Message 4 of 6
(3,071 Views)
Hi Abhinav,
 
Can you provide me one example...so that i can try it out in my installation also..
 
Thanks and Regards,
SODLB
0 Kudos
Message 5 of 6
(3,056 Views)
This is simple example for checking validity time for 30 days.U should change the file path to c:\windows\... or somewhere and also do the encryption of the file content.
 
 
-Kumar.B
0 Kudos
Message 6 of 6
(3,022 Views)