Add Folder

Got a problem you cannot solve? Try here.
gmayne
Posts: 12
Joined: Mon Sep 04, 2006 9:49 am
Location: UK

Add Folder

Postby gmayne » Mon Sep 04, 2006 10:08 am

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?

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Mon Sep 04, 2006 10:40 am

Hi,

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/

gmayne
Posts: 12
Joined: Mon Sep 04, 2006 9:49 am
Location: UK

Postby gmayne » Mon Sep 04, 2006 11:14 am

It's 6.0, build gwinett_sp1.083006

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Mon Sep 04, 2006 4:22 pm

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/

gmayne
Posts: 12
Joined: Mon Sep 04, 2006 9:49 am
Location: UK

Postby gmayne » Mon Sep 04, 2006 5:02 pm

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\"

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Mon Sep 04, 2006 8:33 pm

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/

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Mon Sep 04, 2006 8:51 pm

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/

gmayne
Posts: 12
Joined: Mon Sep 04, 2006 9:49 am
Location: UK

Postby gmayne » Wed Sep 06, 2006 5:08 am

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

gmayne
Posts: 12
Joined: Mon Sep 04, 2006 9:49 am
Location: UK

Postby gmayne » Wed Sep 06, 2006 5:12 am

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

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Wed Sep 06, 2006 6:09 am

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/

gmayne
Posts: 12
Joined: Mon Sep 04, 2006 9:49 am
Location: UK

Postby gmayne » Wed Sep 06, 2006 7:20 am

No problem, I can zip up including paths. How do you want me to send the zip to you?

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Wed Sep 06, 2006 10:43 am

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.
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 47 guests