在安装软件之前检查先决条件 [英] Checking Pre requisite before installing software

查看:111
本文介绍了在安装软件之前检查先决条件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


Hi,


我是新的到Windows策略设置。

I am new to Windows policy settings.


场景如下:

The scenario is as follows:


我需要有效的用户能够安装软件#2,只有他在同一台机器上安装了软件#1。

I need a valid user to be able to install a software# 2, only if he has software# 1 installed on the same machine.


如何实现此限制。

How can i achieve this restriction.


任何建议都表示赞赏。

Any suggestions are appreciated.



谢谢。


Ankur

Ankur

AV

推荐答案

你有两个问题,而且与安全开发无关,这个论坛的主题。

You have 2 questions and neither has to do with security development, the topic of this forum.

1如何在我的安装程序中编写代码 - 询问你的包装软件关于扩展点的提供者,您可以插入自己的代码。如果您编写的安装程序没有任何打包软件,您可以自由地将检查代码放在
之类的任何地方,只需记住在运行软件之前执行它#2的安装程序。

1 how to I write code in my installer - ask your packaging software provider about extension points where you can plug in your own code. If you wrote the installer without any packaging software, you have the freedom to place the checking code anywhere you like, just remember to execute it before you run the software #2's installer.

2如何检测软件#1的存在。这是你必须要问的软件#1的作者。没有商定的约定,安装程序可能会带来什么样的改变部署时到机器 - 由作者决定。 

2 how to detect software #1's existence. This is something you have to ask the software #1's author. There is no agreed convention of what change an installer might bring to the machine when deploying - that is up to the author to decide. 


这篇关于在安装软件之前检查先决条件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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