472,791 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,791 software developers and data experts.

Clickonce, Date Installed

I would like a Beta copy of my software to expire after seven days from
install. I use Clickonce for installing my applications.

How can I determine the install date of a Clickonce application.
--
Kenneth Lemieux
Project Engineer
Whelen Engineering Co., Inc.
Oct 15 '07 #1
4 1335
Ken Lemieux wrote:
I would like a Beta copy of my software to expire after seven days from
install. I use Clickonce for installing my applications.

How can I determine the install date of a Clickonce application.
You can try something simple, and on the first run write the date into
the my.settings value.

then just check the date to see when 7 days has elapsed.

An uninstall and re-install will clear this 7 days setting however.
Oct 15 '07 #2
Thanks Miro,

Your implementation is simple and straight forward. If I don't get any
responces much different from yours, then I will credit you for the responce.
--
Kenneth Lemieux
Project Engineer
Whelen Engineering Co., Inc.
"Miro" wrote:
Ken Lemieux wrote:
I would like a Beta copy of my software to expire after seven days from
install. I use Clickonce for installing my applications.

How can I determine the install date of a Clickonce application.

You can try something simple, and on the first run write the date into
the my.settings value.

then just check the date to see when 7 days has elapsed.

An uninstall and re-install will clear this 7 days setting however.
Oct 15 '07 #3
Hi Kenneth,

I agree that using My.Setting is a good way to save the software
installation time since there is the .Net Framework build-in support.
Another way may be storing it in the registry, but this may require more
..Net registry writting permission than My.Setting.

The problem I wanted to point out is the security of this solution. Once
the end user knows about where your software My.Setting configure file is
stored, it is easy for him to modify your saved date in that file and
cheats your software from thinking it did not expire.

So, I would recommend you to use .Net crypto classes to encrypt the date
before saving. This will provide a basic protection for your solution.
Please refer to "System.Security.Cryptography" section in the article below
for basic information regarding .Net Cryptography:
http://msdn.microsoft.com/msdnmag/is...rityBriefs/#S6

Hope this helps.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Oct 16 '07 #4
Hi Kenneth,

Have you reviewed the replies to you? Do they make sense to you? If you
still have any concern or need any help, please feel free to tell me,
thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Oct 18 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Olaf Baeyens | last post by:
None of our clickonce applications seems to want to install. We tried it on a Windows 2000 server shared folder, and the clickonce log file tells us that some file is missing while it is absolutely...
0
by: Pavan | last post by:
I have my .NET code published in two servers http://server1/<ApplicationName>/Publish.htm and http://server2/<ApplicationName>/Publish.htm, and if i open IE on the client machine and type the link...
1
by: moondaddy | last post by:
I have a .net 2.0 winforms app which I'm deploying via clickonce. Unfortunately one of the things that needs to be installed during the clickonce is an MS Access mde application which uses a 3rd...
0
by: T | last post by:
We were looking at building a Windows Client application using VS 2003 and the Updater Application Block. Since the application might also be written in VS 2005, we have started looking at the...
3
by: dgk | last post by:
I have an app that I've installed on three computers and I'd like to convert it to use ClickOnce in order to get updates. Any advice on what I need to do to make this happen?
8
by: Tina | last post by:
While ASP.Net is migrating toward more robust presentation by using things like AJAX I am wondering if ClickOnce will errode a lot of ASP.Net presence in Corporate Applications. I've been reading...
2
by: Alex Bögli | last post by:
Hi I have a rather advanced deployment scenario and wanted to know, if anyone has an idea how to accomplish that with ClickOnce: We are deploying a 3-tier application with a client connecting...
5
by: =?Utf-8?B?R29yZG9uUw==?= | last post by:
I have a windows form application being deployed using ClickOnce on Terminal Services. I am experiencing a problem where by the first user to run up the application is successful and the app...
3
by: =?Utf-8?B?Um9nZXIgVHJhbmNoZXo=?= | last post by:
Hello, I would like to know the best way to install an clickonce in .net 3.5 (we use LINQ 8-D) published application on terminal server 2003 Do I have to install it on EVERY user that will use...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.