Skip to content

Commit

Permalink
added a missing routine from misc.iss (Innosetup is not used for 5.1 …
Browse files Browse the repository at this point in the history
…but we are keeping it current in any event)
  • Loading branch information
Reggie Burnett committed May 5, 2008
1 parent 0ba864a commit 305cc0d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Installer/misc.iss
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,10 @@ begin
Result := Format('%sdevenv.com', [Result]);
end;

function GetVS2008Path(Param: String) : String;
begin
if Not RegQueryStringValue(HKEY_LOCAL_MACHINE, 'Software\Microsoft\VisualStudio\9.0\Setup\VS', 'EnvironmentDirectory', Result) Then
RaiseException('Unable to locate the Visual Studio 2008 installation directory');
Result := Format('%sdevenv.com', [Result]);
end;

0 comments on commit 305cc0d

Please sign in to comment.