Custom installation file for Windows program

I need to create an installation file for Windows so that the setting:

  • It registers the .exe file at startup, so it starts every time the machine boots.
  • Launches .exe and opens a web page after installation is complete.

Can someone please give me some tips on how I can do this?

+3
source share
3 answers

One option is to explore here .

For requirement # 2, you can execute ShellExecute CustomAction to open the URL, and I believe, run the application.

0

. InnoSetup; , script, ISTool InnoIDE ( ). ISTool, InnoIDE.

+1

, Inno Setup, Windows, Wise, InstallShield .. , Windows. . - EXE :

  HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run
      or
  HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run

. , , , ( ). , MSDN

, , , , . Delphi/Pascal, Inno Setup ; PHP-, , NSIS ; ..

Windows Vista UAC. Inno Setup, [Setup]

  PrivilegesRequired=admin

Windows Vista , , Windows, , Windows. Task Scheduler, Schtasks.exe . . .

, , , / ( ), . , , .

0

Source: https://habr.com/ru/post/1768687/


All Articles