Skip to content

Commit d9e362a

Browse files
committed
fix: corrects innosetup
1 parent 389f19a commit d9e362a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

deploy/windows/blite-server.iss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ ArchitecturesInstallIn64BitMode=x64compatible
4444
Name: "english"; MessagesFile: "compiler:Default.isl"
4545

4646
[Tasks]
47-
Name: "startservice"; Description: "Start BLite Server service after installation"; GroupDescription: "Service:"; Flags: checked
47+
Name: "startservice"; Description: "Start BLite Server service after installation"; GroupDescription: "Service:"
4848

4949
[Files]
5050
Source: "{#SourceDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
@@ -237,7 +237,7 @@ begin
237237
'', SW_HIDE, ewWaitUntilTerminated, ResultCode);
238238
239239
{ 4. Optionally start the service }
240-
if IsTaskSelected('startservice') then
240+
if WizardIsTaskSelected('startservice') then
241241
Exec(ExpandConstant('{sys}\sc.exe'),
242242
'start ' + '{#ServiceName}',
243243
'', SW_HIDE, ewWaitUntilTerminated, ResultCode);

0 commit comments

Comments
 (0)