|
-
May 31st, 2006, 01:55 AM
#1
Thread Starter
Just Married
Password for uninstall is it possible?
Hi all expert
My next question is that is there is any way that our exe ask a password before Uninstall
I want when any unauthorized person tries to remove my project from control panel or any other it ask a password before Uninstall.
Hope u all understand my problem.
Thanks
-
May 31st, 2006, 03:01 AM
#2
Thread Starter
Just Married
Re: Password for uninstall is it possible?
-
May 31st, 2006, 03:13 AM
#3
Fanatic Member
Re: Password for uninstall is it possible?
Is it ur project or any other project.
Dont rely only on your luck. Work hard until You get success.
vb Code:
Private sub Time_ispassing
While Me.Notgetsuccess
trygain=tryagain+1
Me.workhard
wend
end sub
-
May 31st, 2006, 03:28 AM
#4
Re: Password for uninstall is it possible?
Sure it's possible but it is not practical...
-
May 31st, 2006, 03:32 AM
#5
Thread Starter
Just Married
Re: Password for uninstall is it possible?
@vivek it is my project
@random how it is
-
May 31st, 2006, 03:35 AM
#6
Re: Password for uninstall is it possible?
To not allow someone to get rid of your app from their computer is not a kind thing to do. Someone else could have installed the app but the owner can't get rid of it from his computer. A very bad thing to do. Almost virus like...
-
May 31st, 2006, 03:36 AM
#7
Fanatic Member
Re: Password for uninstall is it possible?
Hi sakti r u graduate? i want to ak that i am a class12 student without maths with commerce stream. can i join bsc(it) after my +2? regarding ur question i m sorry.
Dont rely only on your luck. Work hard until You get success.
vb Code:
Private sub Time_ispassing
While Me.Notgetsuccess
trygain=tryagain+1
Me.workhard
wend
end sub
-
May 31st, 2006, 03:47 AM
#8
Fanatic Member
Re: Password for uninstall is it possible?
U can apply password in ur project and u can make a rpgram that nobody can open the uninstall file by findwindow only u can do it by providing password and please make clear what exactly u want.
Dont rely only on your luck. Work hard until You get success.
vb Code:
Private sub Time_ispassing
While Me.Notgetsuccess
trygain=tryagain+1
Me.workhard
wend
end sub
-
May 31st, 2006, 03:55 AM
#9
Thread Starter
Just Married
Re: Password for uninstall is it possible?
Hi sakti r u graduate? i want to ak that i am a class12 student without maths with commerce stream. can i join bsc(it) after my +2? regarding ur question i m sorry.
come back to private message
I want when any unauthorized person tries to remove my project from control panel or any other it ask a password before Uninstall.
-
May 31st, 2006, 04:14 AM
#10
Re: Password for uninstall is it possible?
It depends on you install-software. But easely with the "delete" overidden.
-
May 31st, 2006, 04:19 AM
#11
Thread Starter
Just Married
Re: Password for uninstall is it possible?
-
May 31st, 2006, 05:58 AM
#12
Thread Starter
Just Married
Re: Password for uninstall is it possible?
-
May 31st, 2006, 02:50 PM
#13
Fanatic Member
Re: Password for uninstall is it possible?
Actually it's pretty simple..When your app starts have it look for the uninstall dat file (should be in the same directory as the app itself) and encrypt it. Anyone trying to uninstall the app at that point would get an error from the uninstaller...
You would also need to code your app to unencrypt the uninstall dat file and then launch the uninstaller exe in order for an "authorized user" to uninstall the app.
What bug? That's not a bug. It's an undocumented feature!
-
May 31st, 2006, 03:18 PM
#14
Re: Password for uninstall is it possible?
Anyone can delete the directory your program is installed in, and anyone can remove items from Add/Remove programs - and anyone can just install your program using something like Total Uninstall, which will uninstall it without your password - so all you're doing is making it a little more difficult, not impossible, to remove your program.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Jun 1st, 2006, 12:04 AM
#15
Thread Starter
Just Married
Re: Password for uninstall is it possible?
-
Jun 1st, 2006, 02:57 AM
#16
Thread Starter
Just Married
Re: Password for uninstall is it possible?
-
Jun 1st, 2006, 04:31 AM
#17
Re: Password for uninstall is it possible?
I searched for a programm hwich can do that. Finally I came to InstallShield. there is an option to do that, but when you look at the price...... $$$$$$$$. Setupfactory does not have that kind of abillity. Sorry to dissapoint you.
-
Jun 1st, 2006, 04:33 AM
#18
Re: Password for uninstall is it possible?
MUHAHAHAHAHA!!!! YOU REALLY GONNA LOVE ME FOR THIS SOLUUUUTION!!!!
http://www.toplang.com/passworddoor.htm
Great!!
-
Jun 1st, 2006, 06:01 AM
#19
Hyperactive Member
Re: Password for uninstall is it possible?
I Have an excellent installer creator it has the ability for creating password's and serial numbers also could be used in your case so here go to this site Pantaray Qsetup.
I love it, it works great you can make pro looking installations anything you think of you could do it with this program. And oh no coding necessary because it’s meant for people who don’t feel like coding installers. Cheer's
Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
 - 
-
Jun 1st, 2006, 06:10 AM
#20
Thread Starter
Just Married
Re: Password for uninstall is it possible?
-
Jun 1st, 2006, 07:22 AM
#21
Re: Password for uninstall is it possible?
 Originally Posted by Al42
Anyone can delete the directory your program is installed in, and anyone can remove items from Add/Remove programs - and anyone can just install your program using something like Total Uninstall, which will uninstall it without your password - so all you're doing is making it a little more difficult, not impossible, to remove your program.
As has been said right here, the BEST you can do is make it difficult. You can not stop someone from removing your program from their own computer.
-
Jun 2nd, 2006, 03:00 AM
#22
Thread Starter
Just Married
Re: Password for uninstall is it possible?
As has been said right here, the BEST you can do is make it difficult. You can not stop someone from removing your program from their own computer.
but any one trying to removeing the program then it ask for password before remove if password is not correct then removing not possible.....
can we not do this ?
-
Jun 2nd, 2006, 04:27 AM
#23
Hyperactive Member
Re: Password for uninstall is it possible?
Look AT POST #19 That One Has It! lol check out the program its a trial but you have 30 days and ye it has it!
Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
 - 
-
Jun 2nd, 2006, 05:59 AM
#24
Re: Password for uninstall is it possible?
 Originally Posted by shakti5385
but any one trying to removeing the program then it ask for password before remove if password is not correct then removing not possible.....
can we not do this ?
I don't care what you use. Tell me how you are going to stop me from going into Windows Explorer, navigate to the folder your program is in, and deleting everything there?
-
Jun 2nd, 2006, 07:46 AM
#25
Re: Password for uninstall is it possible?
Did you test the software g4hsean en I posted?
-
Jun 2nd, 2006, 09:38 AM
#26
Hyperactive Member
Re: Password for uninstall is it possible?
Ya your software is really good your's would work to.
And bout going into explorer to delete file.With the Q-setup you have the ability to hide files you want and you could also use Radjesh Klauke's program to put password on files.
Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
 - 
-
Jun 2nd, 2006, 09:43 AM
#27
Hyperactive Member
Re: Password for uninstall is it possible?
I also forgot that you could Use the file Encrypt Api to disallow people from deleting it too.
If you have win xp you could put copy in dllCache so like that no matter what your program would run.
That’s how I see virus work is it normally putt’s files in places we can't see or get to unless you know how. It’s not all that hard.
Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
 - 
-
Jun 2nd, 2006, 09:46 AM
#28
Re: Password for uninstall is it possible?
 Originally Posted by g4hsean
I also forgot that you could Use the file Encrypt Api to disallow people from deleting it too.
If you have win xp you could put copy in dllCache so like that no matter what your program would run.
That’s how I see virus work is it normally putt’s files in places we can't see or get to unless you know how. It’s not all that hard.
All of this is sounding very, very eerie. I would not own a piece of software I couldn't uninstall or delete, and if someone did this to something I installed, I guarentee you I would find a way to remove even if I had to refomat my whole computer, and reinstall everything EXCEPT this piece of software. This is intrusive and NOT the way to market a product.
-
Jun 2nd, 2006, 09:52 AM
#29
Hyperactive Member
Re: Password for uninstall is it possible?
You know what I’m 100% behind you hack. But I’m hoping that this person is using it for a good reason. Like maybe some sort of antivirus or even spy software used against cheating spouses. Like I said hoping.
And before i end what is this program used for?
Last edited by g4hsean; Jun 2nd, 2006 at 09:54 AM.
Reason: Miss Spelled Word
Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
 - 
-
Jun 2nd, 2006, 10:39 AM
#30
Re: Password for uninstall is it possible?
 Originally Posted by Hack
All of this is sounding very, very eerie. I would not own a piece of software I couldn't uninstall or delete, and if someone did this to something I installed, I guarentee you I would find a way to remove even if I had to refomat my whole computer, and reinstall everything EXCEPT this piece of software.
Would you, Hack? Or would you just get a new drive and turn the old one over to your attorney? <weg>
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Jun 2nd, 2006, 10:46 AM
#31
Re: Password for uninstall is it possible?
 Originally Posted by Al42
Would you, Hack? Or would you just get a new drive and turn the old one over to your attorney? <weg>
Excellent question/point!
-
Jun 2nd, 2006, 11:57 AM
#32
Hyperactive Member
Re: Password for uninstall is it possible?
true that would be smart. But what if the program was made by phony people? lol.
Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
 - 
-
Jun 2nd, 2006, 12:12 PM
#33
Re: Password for uninstall is it possible?
Then there's the system restore feature in WinXP. There goes your uninstallable app.
-
Jun 2nd, 2006, 02:39 PM
#34
Hyperactive Member
-
Jun 2nd, 2006, 02:47 PM
#35
Re: Password for uninstall is it possible?
No matter what you install on my system I can get rid of it.
-
Jun 2nd, 2006, 02:52 PM
#36
Re: Password for uninstall is it possible?
 Originally Posted by g4hsean
Uh ... sue you for unauthorized computer access? In the US, that's a felony. Loading a program that has a bug, even a major bug, is one thing. Loading a program that mucks around in areas it doesn't tell you it's going to muck around in is a no-no.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Jun 2nd, 2006, 03:06 PM
#37
Fanatic Member
Re: Password for uninstall is it possible?
There is an API to disable system restore SO you could do this (assuming a password is required for program termination):
1. The first time the program runs, disable and then re-enable system restore (if it was enabled). This will delete all pre-existing restore points and create a new restore point.
2. Encrypt the uninstallation data (this at least works using Inno Setup, which is free).
3. Everytime the app runs simply open the exe file for reading - this will prevent it from being deleted while it is running - and then close the file when the program terminates. (don't open the file with exclusive rights tho or it won't execute properly)
4. Provide a command for decryption of the uninstall dat file. Using Inno you can add a shortcut to the programs menu to call the program with the appropiate command for invoking the uninstallation routine.
5. When the (at least this is how I do it) uninstall routine is invoked I shell the uninstall program (after file decryption obviously) and use sendmessage to auto-click the "Yes" button on the modal asking "Are you sure...".
This is very effective in preventing un-authorized deletion and/or uninstallation of the program. I've developed a parental control which uses these steps and it is very difficult to remove without the password BUT the program also must run as a service so that it will run in safe-mode (just a reg entry once you have a service).
Now before somebody suggest terminating the app via the task manager - in the app I'm referencing that only results in a msgbox saying "Access Denied" much as attempting to terminate svchost.exe does.
Also, this app continually verifies that all registry entries are intact and the services controller is properly configured to prevent someone from reconfiguring the SC and/or simply deleting the reg entries. All-in-all it's pretty secure and Moms appreciate that jr, computer wiz that he is, can't disable the app.
What bug? That's not a bug. It's an undocumented feature!
-
Jun 2nd, 2006, 04:13 PM
#38
Re: Password for uninstall is it possible?
 Originally Posted by g4hsean
Then your app is becoming more and more intrusive to the normal use of the computer and should be avoided like a virus cause its becoming similar to a virus/trojan deployed with a software package to make it appear as a safe to use application..
-
Jun 2nd, 2006, 04:44 PM
#39
Re: Password for uninstall is it possible?
As I understand it, program removal is usually controlled by windows, not the app itself. You'd have to specify a custom uninstaller. You can't stop even a newbie deleting it in safe mode, or even from the command prompt option you get at boot-up. We all probably know someone who's formatted their HD unnecessarily because they couldn't figure something out something that's straightforward.
If you're an IT admin, I can understand why, but letting users make mistakes keeps the wages flowing... :-)
-
Jun 2nd, 2006, 07:39 PM
#40
Frenzied Member
Re: Password for uninstall is it possible?
 Originally Posted by anotherVBnewbie
3. Everytime the app runs simply open the exe file for reading - this will prevent it from being deleted while it is running
that doesn't prevent someone from renaming the file. after a restart, your program will no longer be running.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|