|
hi
i created a setup file for the application developed by me and installed it in another computer.while installing it asks to install .net framework from the website.
i am using vs2005 ,want to know how this has to avoided. i heard we can include the frame work in setup file itself wats the procedure to do that
can any one help in this problem
thanks
with regards
Balagurunathan.B
|
|
|
|
|
No, it can't be done. You have to deploy the framework, or people will have to download it.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi
should we have to deploy the .netframe work separately ? if so i have to first install the .netframe work later have to install my application is`nt it?
with regards
Balagurunathan.B
|
|
|
|
|
It can be done now. Here is an article I wrote on setup project.
http://www.codeproject.com/dotnet/Win_App_Setup_Project.asp[^]
Here is a post on having the .net framework install be included in the setup.
It seems that with vs 2005 the setup is improved to be able to check and install the .net framework. It checks the dependance prompts the user to accept the license. Then installs the .net framework. NOTE when it is done it is looking for the setup.msi file so that needs to be there.
Here is a microsoft link on it:
http://msdn2.microsoft.com/en-us/library/aa480239.aspx[^]
I have it working right now to install the .net 2.0 framework.
Ben
|
|
|
|
|
|
I am building a licensing module in my application. the licensing module checks the Date to know if the applications license has expired.I cannot check the System.date because that can be changed in windows. Is there a way to check an unaltered date or timestamp in some way? The application does not have access to the internet.
Thanks!
Regards
|
|
|
|
|
hi
we can sort this upto a extent
you store the installed date in the resource file and have a another string to store the current system date on that
append the current system date regularly . by using that if system date is changed inbetween the installed date and current date dont allow to open the application.
check if the current system date is less than the installed date then dont allow to open the application.
but if they have maintained the same date ???????????????????? try to sort out this if u got idea please mail me gurunathan.bala@gmail.com
with regards
Balagurunathan.B
|
|
|
|
|
blackbaro wrote: Is there a way to check an unaltered date or timestamp in some way?
No, such a concept doesn't even exist. There is no "alternate" time/date source without checking a standard clock on the Internet. If the user doesn't have an Internet connection, you're out of luck.
Just checking the date/time isn't good enough. You have to get VERY creative at storing and using the date and time information and using it to determine when your app was installed, when the last run was, and what the current date/time is. All I can say is that you have to get VERY creative.
No, I can't tell you how I do it!
|
|
|
|
|
Dave Kreskowiak wrote: No, I can't tell you how I do it!
|
|
|
|
|
Hey, I thought it was for obvious reasons myself!
|
|
|
|
|
Dave Kreskowiak wrote: All I can say is that you have to get VERY creative.
Pretty much sums it up
|
|
|
|
|
its really fun
if i unplugged the internet every time while i use the application then wat will be the case.
every one cannot be creative they will follow the standard method if u have some idea tell it will be usful . not the exact one but ideas can be shared.
i am not creative but that was my own idea.
we cannot restrict the user more
i crossed across a doubt till now i dint get any solution as i am not good in programming
that doubt is if we install ms word or vs2005 etc it will ask the user to enter the licence code for continuing the installation how its done so i can make my application setup wilth license code
another doubt is if you try to install a software it will ask you for administrative rights without administrative rights that user cannot install the product how to achive this one
till date i am searching for the solution do you have any idea
with regards
Balagurunathan.B
|
|
|
|
|
balakpn wrote: as i am not good in programming
This is what's going to keep you from protecting your applications. You simply don't have the background to implement a security system yet.
There's is no one method to do this. There are many, many different ways of doing this, each a reflection of the person who wrote it. Most are easily defeatable. The rest are defeatable with some work. None are going to protect your app 100%.
balakpn wrote: another doubt is if you try to install a software it will ask you for administrative rights without administrative rights that user cannot install the product how to achive this one
You don't. Installations require administrative rights for many reasons.
balakpn wrote: till date i am searching for the solution do you have any idea
Like I said, if I tell you how I do it, I defeat my own protection scheme. There's no way anyone is going to tell you.
|
|
|
|
|
||| Like I said, if I tell you how I do it, I defeat my own protection scheme. There's no way anyone is going to tell you.
yeah wat u said is 100% true
i dont want the code i want to create the setup file that should prompt the screen to enter the license key otherwise they have to quit the installation. let the license code be very good one very lowlevel code i want to make it so while creating setup wat i have to do. there i many options like read me ,license aggrement screens in the setup wizard but i want to prompt licencecode entering screen. how to make it
with regards
Balagurunathan.B
|
|
|
|
|
"You simply don't have the background to implement a security system yet."
It has to start someday... better now than later. Any advice about books, sites? Thanks!
|
|
|
|
|
blackbaro wrote: It has to start someday... better now than later
Yeah, but not with a project like this.
|
|
|
|
|
is there a way to have the date monitored for changes?
|
|
|
|
|
can i add dll reference of project that create on framwork 2.0 to a project that created on framwork 1.
i tried to add reference of a project that craeted on VS 2005 (Visual studio) to project
on VS 2003 and i got error message that claime that assembly is not valid even due i tried to add a dll file.
please advice
|
|
|
|
|
hi dude
i am not clear with your question but to my knowledge it will be because of higher version to lower version thats from vs2005 to vs2003 and frame work.
its common in every language
with regards
Balagurunathan.B
|
|
|
|
|
tomertro wrote: can i add dll reference of project that create on framwork 2.0 to a project that created on framwork 1
No, you can't. YOu can go the other way though. This is because the framework tries to maintain backwards compatibility, not forwards. The code in the .NET 2.0 DLL project will most likely only work under the .NET Framework 2.0. You can NOT load two different versions of the .NET CLR into the same process at the same time.
|
|
|
|
|
Thank you very much!!!!!!!!!!!!
|
|
|
|
|
I think so no coz there is not much backward compatibility ..
|
|
|
|
|
|
I am using VS2005 object browser to explore unfamiliar concepts, but even after reading some help files I am still groggy on GetLifetimeService(). Can someone tell me when this would be used and to what end?
I think I understand it in a web context but I am looking at the instance in MarshallByRefObject base of a Windows Forms dialog box component.
Regards.
|
|
|
|
|
Given a MFC process and a .NET service, how does the MFC process communicate with the .NET service?
Which IPC should I use?
Thanks.
|
|
|
|