安装Forge安装程序-AutoStart已安装程序 [英] Install Forge Installer - AutoStart Installed Program

查看:151
本文介绍了安装Forge安装程序-AutoStart已安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用InstallForge创建安装程序.我希望创建一个安装程序,该安装程序将在启动时自动启动已安装的程序.我认为安装程序可以在启动"文件夹中创建快捷方式,并且该程序应在启动时加载.

I'm using InstallForge to create an installer. I'm hoping to create an installer that will autostart on start up for the installed program. I'm thinking the installer can create a shortcut in the Start-Up folder and the program should load on start up.

我已经Google搜索并找到了解决方案,但尝试时无法使用.提供的解决方案是对创建的注册表项使用以下值.

I've Googled and found a solution but doesn't work when I try it. The solution provided was to use the following values for a created registry entry.

根密钥: HKEY_CURRENT_USER

Root Key: HKEY_CURRENT_USER

子键: SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Run

Sub key: SOFTWARE\Microsoft\Windows\CurrentVersion\Run

值名称:(您希望密钥成为的任何名称) 我的程序名称

Value Name: (whatever name you want the key to be) My Program Name

值数据: C:\ Program Files(x86)\ My_Company \ My_Software \ My_Software.exe

Value Data: C:\Program Files (x86)\My_Company\My_Software\My_Software.exe

推荐答案

假定注册表中的运行"项正确:

Assuming that the Run key item is correct in the registry:

  1. 系统启动时程序不会启动.当用户登录时它将启动.如果要在系统启动时启动它,则通常使用服务来执行此操作.

  1. The program will not start when the system starts. It will be started when a user logs on. If you want it to start when the system starts, then a service is the usual way to do this.

在UAC系统上,如果需要提升,则程序不会仅启动.如果这是问题所在,则您的问题与计划相同需要在启动注册表项(Windows 7)中提升权限

On UAC systems the program won't just start if it requires elevation. If this is the issue, then your question is the same as Program needing elevation in Startup registry key (windows 7)

这篇关于安装Forge安装程序-AutoStart已安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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