o Updated the installer -- it now checks whether Steam is running or not

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@462 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
tankefugl 2006-05-07 12:39:52 +00:00
parent 16fd277e80
commit 0a503f4af9

View file

@ -16,7 +16,7 @@ WizardImageFile=v:\install\images\LrgImage.bmp
WizardSmallImageFile=v:\install\images\SmlImage.bmp
[Files]
;Source: "v:\install\config\config.cfg"; DestDir: {app}\nsp\; Flags: confirmoverwrite
Source: "v:\install\config\*.*"; DestDir: {app}\nsp\; Flags: confirmoverwrite
;Source: "v:\install\ns\*.*"; DestDir: "{app}\nsp"; Flags: ignoreversion recursesubdirs
Source: "v:\install\ns-diff\*.*"; DestDir: "{app}\nsp"; Flags: ignoreversion recursesubdirs
;Source: "E:\ns21install\fmod.dll"; DestDir: "{app}"; Flags: ignoreversion
@ -63,11 +63,11 @@ var
mbResult: Integer;
begin
bResult:=true;
// if ( CheckForMutexes('__SteamBootstrapperApp__')) then
//begin
// MsgBox( 'STEAM is currently running, please stop STEAM before running this setup.' , mbInformation, MB_OK );
// bResult := false;
//end;
if ( CheckForMutexes('__SteamBootstrapperApp__')) then
begin
MsgBox( 'STEAM is currently running, please stop STEAM before running this setup.' , mbInformation, MB_OK );
bResult := false;
end;
sSteamPath := GetSteamDir();
sWonPath := GetWonDir();
if ((Length(sSteamPath) < 1) and (Length(sWonPath) < 1) and bResult) then