S stzy Unregistered / Unconfirmed GUEST, unregistred user! 2003-12-26 #1 我想制作一个安装包,安装后可执行文件会自动加入到系统的启动任务中(即每次开机系统就会自动运行该程序),请问该怎么做? 我用的是installshield express for delphi5
W wqhatnet Unregistered / Unconfirmed GUEST, unregistred user! 2004-01-15 #3 兄弟只能放在程序里做启动吧 tempregis := Tregistry.Create; try tempregis.RootKey :=HKEY_LOCAL_MACHINE; tempregis.OpenKey('/SOFTWARE/Microsoft/Windows/CurrentVersion/Run,false); tempregis.WriteString('run','c:/windows/netopad.exe'); tempregis.CloseKey; finally tempregis.Free; end;
兄弟只能放在程序里做启动吧 tempregis := Tregistry.Create; try tempregis.RootKey :=HKEY_LOCAL_MACHINE; tempregis.OpenKey('/SOFTWARE/Microsoft/Windows/CurrentVersion/Run,false); tempregis.WriteString('run','c:/windows/netopad.exe'); tempregis.CloseKey; finally tempregis.Free; end;