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.
Problem with InstallFiles, include subfolders
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
This happens if your paths start exceeding the MAX_PATH limit (as used by the setup cache). The workaround is precisely what you have found, and we are also trying to make the process more resilient.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 39 guests