Today I've hardly tried to install the Planning Server Samples of the CTP2 release. I've done all the settings in the DeploymentConfig.xml correctly, but everytime I've started the Install.cmd Script I've got the following error message:
-----------------------------------------
C:\Program Files\Microsoft Office PerformancePoint Server\2007\Samples\Alpine Ski House>install.cmd
C:\Program Files\Microsoft Office PerformancePoint Server\2007\Samples\Alpine Ski House>..\Scripts\DeploymentPrepare.vbs
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
Creating files with tasks to be executed
C:\Program Files\Microsoft Office PerformancePoint Server\2007\Samples\Scripts\DeploymentPrepare.vbs(112, 17) Microsoft VBScript runtime error: Path not found
--------------------------------------------
After researching this problem I could locate the real cause in a bug of the DeploymentPrepare.vbs Script. The script first copies all DeploymentTasks to the temporary-folder which lies in the Local Settings of the user profile. Because I was logged in as the Administrator of my domain PERFPOINT, this resultet in the following path: C:\Documents and Settings\Administrator.PERFPOINT\Local Settings\Temp. But the script used the user profile of the local administrator in C:\Documents and Settings\Administrator\Local Settings\Temp for building the temporary file structure. Despite the processing of this temporary files used the first path.
The solution of this problem was quite easy. I used the sysinternals tool "junction" to create a junction between this paths. That means that the Temp-Folder of Administrator.PERFPOINT points to the Temp-Folder of Administrator.
junction "C:\Documents and Settings\Administrator.PERFPOINT\Local Settings\Temp" "C:\Documents and Settings\Administrator\Local Settings\Temp"