Securing an msi to prevent unauthorized use

落花浮王杯 提交于 2020-01-05 03:56:04

问题


Im having trouble coming up with a way to secure an installer for an app ive made. I dont need anything too intense, just something to 'lock' the installer I guess.

Thanks.

Due to the first comment, when I say secure I mean using a password or key to prevent unauthorized use.


回答1:


It is possible to unpack the files contained in a .msi without running the installer by using 3rd party tools. If you want to prevent this you would have to decrypt the files with a custom action.

It is probably better to put any kind of serial validation in the app itself so people can not copy a working install...




回答2:


There are two approaches for this:

  1. Serial number validation during install. Most setup tools offer support for it and it's pretty easy to configure.
  2. Application trial/registration. This is a more complex feature and only a couple of setup tools support it.

Each approach has it's own implementation and advantages, so you should first decide what you want. After that, you can try to implement it in your installer. You can then ask for more specific questions when encountering problems.

Here is a list of setup tools which can get you started: http://en.wikipedia.org/wiki/List_of_installation_software



来源:https://stackoverflow.com/questions/9352693/securing-an-msi-to-prevent-unauthorized-use

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!