I have a setup that installs 1 .NET assembly into the GAC. It fails with a message saying there was an error reading from the temp file (see attached image).
I have no other files to install, just that one. So there are no file copies happening during the install.
Any ideas?
Error while installing assembly into Global Assembly Cache
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
I think your setup output path may be too long, please try something shorter, try for example placing built setups in c:\\builds and see if that helps your situation.
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 have moved it to a different (shorter) path and it works fine from there. I dont see this being a long term solutions, however. Can you give me some details on this restriction, is it a bug? What is the max length of the filepath? We have a rigid build process that will take a lot of effort to change.
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
You may shorten your source paths. Essentially, the MAX_PATH limit is being exceeded and this is the root cause of the problems we're experiencing here. The only workaround is to use shorter source paths or build output paths.
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: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
The limit is 255. Keep in mind that this limit may be exceeded when setup is running from the temp folder on the end user system. Therefore, best to use short paths.
You don't need to change your existing folder structure either. Just use subst drives to replace a very long source path with a single drive letter!
You don't need to change your existing folder structure either. Just use subst drives to replace a very long source path with a single drive letter!
Candice Jones
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:
It effects all files that are built with InstallAware.
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 125 guests