Problem with InstallFiles, include subfolders
Posted: Mon Oct 02, 2006 11:21 am
Hi,
I encountered a very strage problem, which I can reproduce simply. I have a web application, and install script was fine. Lately I added the webhelp support, which required copying some files to the WEB folder. Suddenly, while installing, I got message from the installer:
Source file not found: c:\\docume......\\whdata\\whftdata.js. Verify that the file exists and that you can access it. (don't mind the file name, I wrote it just as an example)
At first I thoght that it has something to do with my script, but I was not able to figure out what it is. After further trying, I found out that this particular InstallFiles command for new files is causing the install failure.
I created a simple test install script, with only one InstallFiles command, which included the problematic folder. Problem can be reproduced.
I found out, that if I replace the InstallFiles command, that has the Include Subfolders set, with more individual InstallFiles for each subfolder, but Include Subfolders is not set, the install will perform OK.
If you want, I can send you a test project, where you can reproduce this. I am using 6.03, problem is reproduced on various operating systems.
As I said, I have a workarround, but it would be highly appreciated, if you can help me identify the problem.
Thanks
Andrej.
I encountered a very strage problem, which I can reproduce simply. I have a web application, and install script was fine. Lately I added the webhelp support, which required copying some files to the WEB folder. Suddenly, while installing, I got message from the installer:
Source file not found: c:\\docume......\\whdata\\whftdata.js. Verify that the file exists and that you can access it. (don't mind the file name, I wrote it just as an example)
At first I thoght that it has something to do with my script, but I was not able to figure out what it is. After further trying, I found out that this particular InstallFiles command for new files is causing the install failure.
I created a simple test install script, with only one InstallFiles command, which included the problematic folder. Problem can be reproduced.
I found out, that if I replace the InstallFiles command, that has the Include Subfolders set, with more individual InstallFiles for each subfolder, but Include Subfolders is not set, the install will perform OK.
If you want, I can send you a test project, where you can reproduce this. I am using 6.03, problem is reproduced on various operating systems.
As I said, I have a workarround, but it would be highly appreciated, if you can help me identify the problem.
Thanks
Andrej.