Sorry but I don't know "Why". If anything I am surprised that copying to disk allowed the proggie to run normally. AFAIK most programs when installed have set paths in the registry so that the program can point at all necessary files.
These paths are set during the install process. What program is it? Was it installed by way of a setup.exe file?