누군가가 Delphi 2007 설치시에 "Invalid Serial Number" 오류로 설치가 진행되지 않는다고 도움을 요청했습니다. 인터넷을 검색해보니 아래와 같은 글을 발견할 수 있었습니다.

Some customers have been having problems with an "Invalid Serial Number" error when uninstalling and re-installing Delphi 2007 on the same machine. CodeGear is in the process of trying to fix this problem but until it can be patched the following work-around will allow you to re-install the product:

1) Uninstall Delphi 2007.

2) Remove the Program Files\CodeGear\RAD Studio\5.0 directory.

For Windows Vista:

3a) Remove the Program Data\CodeGear\RAD Studio\5.0 directory.

3b) Remove the Program Data\{AB3EC276... directory.

3c) Remove the User\All Users\CodeGear\RAD Studio\5.0 directory.

For pre-Vista Windows OS:

3a) Remove the Documents and Setting\All Users\Application Data\CodeGear\RAD Studio\5.0 directory.

3b) Remove the Documents and Setting\All Users\Application Data\{AB3EC276... directory.

4) If you had the Trial or Enterprise version installed and are now installing the Professional version, then run Regedit and remove the key: HKEY_CURRENT_USER\Software\Borland\BDS\5.0

5) Re-install Delphi 2007.

재설치 중 "Invalid Serial Number" 오류 발생시 조치법인데, 재설치가 아닌 최초 설치하는 경우에도 발생을 하더군요. 결론부터 말하자면, 설치파일들의 경로 문제였습니다. 설치CD 파일들을 하드에 넣고 이를 이용하여 설치하게 되면 설치파일들이 있는 Path가 굉장히 길어지는 경우가 생깁니다. (예를 들어 바탕화면에 설치파일들을 풀어놓으면 C:\Document and Settings\사용자이름\바탕화면\설치파일의 식이 되죠. 길이가 참 긴 편이죠)

이럴 때는 간단히 C:\설치파일 이나 C:\TEMP\설치파일 정도로 경로를 짧게 해주면 "Invalid Serial Number" 오류가 발생하지 않고 넘어갑니다. Path 길이에 따라 왜 이런 오류가 발생하는지 내부로직이 이해가 안갑니다. 인터넷에 있는 대부분의 해결책에는 Path 길이에 대한 내용은 없더군요. 물론 설치CD를 이용하여 바로 설치하면 이런 현상은 없겠습니다만, 훗날 같은 경우에 해멜까봐 적어놓습니다.

요즘은 2010 버전까지 나왔던데, 이런 문제는 발생하지 않겠죠?

« PREV : 1 : ... 16 : 17 : 18 : 19 : 20 : 21 : 22 : 23 : 24 : ... 334 : NEXT »