I am trying to add a set of data files to my project. I have a source folder with multiple folders underneath and two further levels of folders underneath them. All folders contain at least one file. I have added the source folder using the add folder option to my target folder. Project appears to build ok, but when I try an install I get one or more file not found messages from files in one of the bottom most folders.
My only (painful) work around is to create all of the sub folders manually (underneath my target directory) except for the bottom most folders. I then add the bottom most folders in with the add folder command. This will be very hard to maintain. Any suggestions?
Add Folder
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Hi,
Which version are you using - you can check this in the About box. This issue should not occur in the 6.x line.
Which version are you using - you can check this in the About box. This issue should not occur in the 6.x line.
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/
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Ah, sorry for misleading you earlier. I misunderstood your original post. I think your paths are too deep, which is exceeding the MAX_PATH Windows limitation on path names, especially when using web builds. I'm afraid the only workarond is the one you have found. Sorry for the inconvenience, and for misleading you earlier.
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/
I don't believe this is the case. A typical failed path is:
"C:\\A Nomad\\4.0.x\\Data\\English\\Demo\\Rawdata\\alerts.dat" which is a good deal less than 256 characters. In the same build that had this failed path, a path such as:
"C:\\A Nomad\\4.0.x\\Data\\English\\Demo\\Config\\Employees0001.db" is ok.
My project is located in "C:\\A Nomad\\4.0.x\\Nomad 4\"
"C:\\A Nomad\\4.0.x\\Data\\English\\Demo\\Rawdata\\alerts.dat" which is a good deal less than 256 characters. In the same build that had this failed path, a path such as:
"C:\\A Nomad\\4.0.x\\Data\\English\\Demo\\Config\\Employees0001.db" is ok.
My project is located in "C:\\A Nomad\\4.0.x\\Nomad 4\"
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Ah, I see. Let me investigate and get back to you...
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/
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Could you please post your exact project name, its full path, and the sample Install Files commands with their source paths that lead to this failure? Also, please provide information on your web media blocks, which ones the Install Files commands are in, and your build types (compressed/web/uncompressed). Thanks.
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/
The Project name is:
C:\\A Nomad\\4.0.x\\Nomad 4\\Nomad 4.mpr
The script to include the files (I selected C:\\A Nomad\\4.0.x\\Data and chose "Add Folder"):
Install Files C:\\A Nomad\\4.0.x\\Data\\*.* to $TARGETDIR$\\Data, include subfolders
The "Data" directory contains the following sub-folders:
Deutschland
Cucumbers
Config
Posted
RawData
English
Cucumbers
Config
Posted
RawData
Demo
Config
Posted
RawData
Empty
Config
Posted
RawData
Peppers
Config
Posted
RawData
Tomatoes
Config
Posted
RawData
All of the lowest level folders have files. None of the filenames are longer than 20 characters. I have attached a sample error message. A lot of the folders have the file nomad.txt. On the other hand there are many other filenames that are repeated that don't cause an error.
If I ignore the errors the rest of the installation goes ok
File Attached:
Install Error.jpg
C:\\A Nomad\\4.0.x\\Nomad 4\\Nomad 4.mpr
The script to include the files (I selected C:\\A Nomad\\4.0.x\\Data and chose "Add Folder"):
Install Files C:\\A Nomad\\4.0.x\\Data\\*.* to $TARGETDIR$\\Data, include subfolders
The "Data" directory contains the following sub-folders:
Deutschland
Cucumbers
Config
Posted
RawData
English
Cucumbers
Config
Posted
RawData
Demo
Config
Posted
RawData
Empty
Config
Posted
RawData
Peppers
Config
Posted
RawData
Tomatoes
Config
Posted
RawData
All of the lowest level folders have files. None of the filenames are longer than 20 characters. I have attached a sample error message. A lot of the folders have the file nomad.txt. On the other hand there are many other filenames that are repeated that don't cause an error.
If I ignore the errors the rest of the installation goes ok
File Attached:
Install Error.jpg
I see from my post that the spaces have been stripped from the directory listing. I'll try again.
Deutschland
--Cucumbers
----Config
----Posted
----RawData
English
--Cucumbers
----Config
----Posted
----RawData
--Demo
----Config
----Posted
----RawData
--Empty
----Config
----Posted
----RawData
--Peppers
----Config
----Posted
----RawData
--Tomatoes
----Config
----Posted
----RawData
Deutschland
--Cucumbers
----Config
----Posted
----RawData
English
--Cucumbers
----Config
----Posted
----RawData
--Demo
----Config
----Posted
----RawData
--Empty
----Config
----Posted
----RawData
--Peppers
----Config
----Posted
----RawData
--Tomatoes
----Config
----Posted
----RawData
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Do you mind uploading your project sources and its source build tree to a location so we can download and try to reproduce on our end? This seems a bit complex and confusing to hand-create 

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/
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Thanks, please ZIP up your complete project, the built project, and also the source files from their source paths used during a build, so we can easily reproduce this.
You can PM me the URL to download the ZIP file, or send it to our support email address, to my attention.
You can PM me the URL to download the ZIP file, or send it to our support email address, to my attention.
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: Google [Bot] and 85 guests