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
1 changed files with 6 additions and 6 deletions

View File

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