msi install program as startup

非 Y 不嫁゛ 提交于 2020-01-03 01:47:11

问题


is it possible to install a program as a start up program using MSI installer?


回答1:


I think you can just install a shortcut to Start Up folder.




回答2:


Yes, that's possible. Here's one way, apparently. And here's another.

Didn't try it myself though. If someone wants a program to appear in startup, they can just place a shortcut in the start up folder (of course, I'm aware that sometimes you have to offer it kindly to your users ;)




回答3:


You can do a silent install for an msi and script that via batch script or compiled application. Then schedule that script/program however you want. Without AD you might just insert the call to the script in the registry under RunOnce.

Or even better in an AD environment: How to use Windows Installer and Group Policy to deploy the VPModule.msi in an Active Directory domain




回答4:


Sure, simply use the registry Run keys to start your application. e.g.

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

There's nothing special about Windows Installer in this case, you could easily use a non-MSI setup program to accomplish the same thing.



来源:https://stackoverflow.com/questions/1751285/msi-install-program-as-startup

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