Click here to Skip to main content
15,886,786 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I cannot install my application on a computer containing viruses.
Or, My application does not work when a computer catches a virus.

How to solve? How to make my application (EXE) free of this?
How to build up an application which can run through a computer containing virus?

Any suggestions, help would be appreciated.
Posted

If your application cannot install due to that virus, their is higher chance not to allow to install any other applications as well.

So the best things would be remove the virus first of all and try. Even through, if you have not installed any antivirus program wonder is it possible to install it either.
 
Share this answer
 
Comments
Anaya Upadhyay 11-Oct-12 2:16am    
If you say so, i need to ask you a question. What if my application is installed first and then the virus attack?
My application does not even run if it so, but native windows programs or ms-office runs smoothly, so why not my application. Isn't there a way to avoid virus from attacking my application's exe?
CodingLover 11-Oct-12 3:51am    
Yes, that is what the ms-office and all other smoothly running applications does. You have to identify pin-holes in your application and protect them. You have to identify the resources that you are using in your application and effect on them when there is a virus attack.
Anaya Upadhyay 11-Oct-12 5:42am    
What may be the loop holes and what are the resources you are talking about? Please brief.
Get any antivirus that will allow you to boot from a CD ROM and clean your computer first.

I've used several times AVIRA (which is free and allows it), you will need only a blank cdrom and patience...

See: http://www.avira.com/en/downloads#tools[^]

You will need the Avira AntiVir Rescue System.

Hope this helps.

PS: keep in mind that a virus is nothing else than a program that is capable to replicate itself into different media without the user knowledge. Knowing that, if you have a virus at any computer, it all depends on which program the virus have in order to know what will happen to that computer...

PS2: There is another thing you should know: there are viruses that can't simply be removed as they are overwriting parts of other programs exe's... if that is the case, then booting from that Antivirus CDROM should allow your to migrate all your data to a hard disk and then reinstall everything without loosing that data...

Good luck!
 
Share this answer
 
Comments
Anaya Upadhyay 11-Oct-12 2:20am    
I might clean my computer or I might take the backup. But i don't need a reinstall, instead i need my application to be out of virus as native windows programs at some point. How to achieve this?

We don't know when a virus attacks or so, and many of the users install the trial version of antivirus or the antivirus is expired after some days. My app works a few minutes ago and then refuse to open itself?

How to stop that stopping?
Joan M 11-Oct-12 3:20am    
You can't (possibly) this is like asking for an impossible thing to answer: viruses are programs, once you get them you are at their mercy... so you can't stop something you are not aware or you don't know anyting about it...

Cleaning them is the best option (using a bootable solution in worst cases) but sometimes this is not enough whatever you do...

There is not a super program that can survive all the viruses... in fact the viruses affect the operating system in most cases and your program will run over the operating system so you are doomed before start...
Anaya Upadhyay 11-Oct-12 5:47am    
you kinda sound funny... I was not asking for a super program or anything that can go beyond virus. But, i was not able to trace the problem : what happens if a virus attacks and an executable file (EXE) cannot execute.
I'll tell you what measures I took:
1. My application was running smoothly.
2. The virus attacked.
3. I couldn't run the application, so i unzipped the executable file and replaced it with the older one.
4. I still was unable to run the application.

I'm not getting, why can't I take some measures in preventing virus from affecting my system (even a little virus harms).

Please do understand. I cannot make my users understand coz they are not too techy... So a solution might be of great help.
Joan M 11-Oct-12 6:12am    
Update your question in which you ask for :

"I cannot install my application on a computer containing viruses.
Or, My application does not work when a computer catches a virus.

How to solve? How to make my application (EXE) free of this?
How to build up an application which can run through a computer containing virus?"

The only ways you have are the ones explained before...

I did not planned to be funny...

If your users are not techy to use an antivirus software then you can go there and do it for them, but there are no magical solutions...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900