diff --git a/dist/install/windows/x64/lan.iss b/dist/install/windows/x64/lan.iss index 3b4833b4..31b8bb8c 100644 --- a/dist/install/windows/x64/lan.iss +++ b/dist/install/windows/x64/lan.iss @@ -33,10 +33,12 @@ ArchitecturesAllowed=x64 [Tasks] Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked +Name: "StartMenuEntry" ; Description: "Start AyaNova when Windows starts" ; GroupDescription: "Windows Startup"; + [Files] Source: "C:\data\code\raven\dist\win-x64\ayanova\framework-dependent\*"; DestDir: "{app}";Flags: ignoreversion recursesubdirs createallsubdirs -Source: "C:\data\code\raven\dist\assets\lan-install-config.json"; DestDir: "{app}"; Flags: ignoreversion confirmoverwrite +Source: "C:\data\code\raven\dist\assets\lan-install-config.json"; DestDir: "{app}";DestName: "config.json"; Flags: ignoreversion confirmoverwrite [Dirs] Name: "{app}\.local-chromium";Permissions: users-modify;Flags: uninsalwaysuninstall @@ -48,11 +50,9 @@ Name: "{commonappdata}\ayanova\logs";Permissions: users-modify; Type: filesandordirs; Name: "{app}\.local-chromium\*" [Icons] -Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\launcher\ayanova-launcher.exe"; -Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\launcher\ayanova-launcher.exe"; Tasks: desktopicon - -[Run] -Filename: "{app}\launcher\ayanova-launcher.exe"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent +Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\AyaNova.exe"; +Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\AyaNova.exe"; Tasks: desktopicon +Name: "{commonstartup}\{#MyAppName}"; Filename: "{app}\AyaNova.exe"; Tasks:StartMenuEntry; [Code] procedure CurStepChanged(CurStep: TSetupStep); @@ -61,11 +61,11 @@ var begin if (CurStep=ssInstall) then begin - if MsgBox('AyaNova depends on the "ASP.NET Core Runtime Hosting bundle" 6.0.0 or newer.\nOpen the download web page now?', mbConfirmation, MB_YESNO or MB_DEFBUTTON2) = IDYES then + if MsgBox('AyaNova depends on the "ASP.NET Core Runtime Hosting bundle" 6.0.0 or newer.%nOpen the download web page now?', mbConfirmation, MB_YESNO or MB_DEFBUTTON2) = IDYES then begin ShellExec('open', 'https://dotnet.microsoft.com/download', '', '', SW_SHOW, ewNoWait, ErrCode); end; - if MsgBox('AyaNova requires a PostgreSQL db server.\nOpen the PostgreSQL installation instructions web page now?', mbConfirmation, MB_YESNO or MB_DEFBUTTON2) = IDYES then + if MsgBox('AyaNova requires a PostgreSQL db server.%nOpen the PostgreSQL installation instructions web page now?', mbConfirmation, MB_YESNO or MB_DEFBUTTON2) = IDYES then begin ShellExec('open', 'https://www.postgresqltutorial.com/install-postgresql/', '', '', SW_SHOW, ewNoWait, ErrCode); end;