http://delphiexamples.com/systeminfo/
http://www.delphibasics.co.uk/RTL.asp?Name=formatdatetime
InnoSetup Compiler završnica:
https://msdn.microsoft.com/en-us/library/windows/desktop/bb736357(v=vs.85).aspx
http://www.jrsoftware.org/iskb.php?startwithwindows
[Registry]
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"; ValueType: string; ValueName: "YourApplicationName"; ValueData: """{app}\YourApplicationName.exe"""; Flags: uninsdeletevalue
Administrative privileges are needed to write to that key, so be sure this is in your [Setup] section:
PrivilegesRequired=admin
---------------
http://www.jrsoftware.org/iskb.php?startup
---------------
HOWTO: Create shortcuts in the Startup (or Autostart) group
Article Created: 2003-10-19 06:43 GMT by Jordan Russell
Last Updated: 2004-07-30 21:42 GMT by Jordan Russell
Shortcuts may be created in the Startup group by specifying either the {userstartup} or {commonstartup} constant in the Name parameter of an [Icons] section entry.
Example:
[Icons]
Name: "{commonstartup}\My Program"; Filename: "{app}\MyProg.exe"
Note: Writing to {commonstartup} requires administrative privileges, so be sure this is in your [Setup] section:
PrivilegesRequired=admin
------------------------------
https://stackoverflow.com/questions/12250151/how-to-add-a-scheduled-task-with-inno-setup
[Run]
Filename: "schtasks"; \
Parameters: "/Create /F /SC HOURLY /TN ""My Task"" /TR ""'{app}\MyProg.exe' par1"""; \
Flags: runhidden
http://www.delphibasics.co.uk/RTL.asp?Name=formatdatetime
InnoSetup Compiler završnica:
https://msdn.microsoft.com/en-us/library/windows/desktop/bb736357(v=vs.85).aspx
http://www.jrsoftware.org/iskb.php?startwithwindows
[Registry]
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"; ValueType: string; ValueName: "YourApplicationName"; ValueData: """{app}\YourApplicationName.exe"""; Flags: uninsdeletevalue
Administrative privileges are needed to write to that key, so be sure this is in your [Setup] section:
PrivilegesRequired=admin
---------------
http://www.jrsoftware.org/iskb.php?startup
---------------
HOWTO: Create shortcuts in the Startup (or Autostart) group
Article Created: 2003-10-19 06:43 GMT by Jordan Russell
Last Updated: 2004-07-30 21:42 GMT by Jordan Russell
Shortcuts may be created in the Startup group by specifying either the {userstartup} or {commonstartup} constant in the Name parameter of an [Icons] section entry.
Example:
[Icons]
Name: "{commonstartup}\My Program"; Filename: "{app}\MyProg.exe"
Note: Writing to {commonstartup} requires administrative privileges, so be sure this is in your [Setup] section:
PrivilegesRequired=admin
------------------------------
https://stackoverflow.com/questions/12250151/how-to-add-a-scheduled-task-with-inno-setup
[Run]
Filename: "schtasks"; \
Parameters: "/Create /F /SC HOURLY /TN ""My Task"" /TR ""'{app}\MyProg.exe' par1"""; \
Flags: runhidden
No comments:
Post a Comment
Коментар: