msi install program as startup

2019-06-06 01:02发布

问题:

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.