473,797 Members | 2,893 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Windows Installer - "A portion of the folder path '' is invalid"

Hi

I have created an installation package in VS .Net. All works well if I use
the default installation path. If however I change the Installation path the
following message is shown.

"A portion of the folder path '' is invalid. It is either empty or exceeds
the length allowed by the system"

If I ignore this message the software installs correctly anyway.

I have done very little customisation to the installation package and
because the Windows Installer is pretty opaque have no idea where to start
looking for the missing value.

Any ideas?

Jul 21 '05 #1
2 4999
What are you using for the installation path? Are you changing it in
Visual Studio or during the install itself?

---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "Andrew Wiles" <an***********@ it-workplace.com.c om>
Subject: Windows Installer - "A portion of the folder path '' is invalid"
Date: Mon, 8 Sep 2003 16:07:40 +0100
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <Ox************ **@TK2MSFTNGP09 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.genera l
NNTP-Posting-Host: modem-1200.alligator. dialup.pol.co.u k 81.78.4.176
Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP09.phx.g bl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.genera l:107672
X-Tomcat-NG: microsoft.publi c.dotnet.genera l

Hi

I have created an installation package in VS .Net. All works well if I use
the default installation path. If however I change the Installation path thefollowing message is shown.

"A portion of the folder path '' is invalid. It is either empty or exceeds
the length allowed by the system"

If I ignore this message the software installs correctly anyway.

I have done very little customisation to the installation package and
because the Windows Installer is pretty opaque have no idea where to start
looking for the missing value.

Any ideas?


Jul 21 '05 #2
David

Apologies - I have only just picked up your reply.

The problem is during the install itself.

Andrew Wiles
"David Guyer [MS]" <da****@online. microsoft.com> wrote in message
news:2o******** ******@cpmsftng xa06.phx.gbl...
What are you using for the installation path? Are you changing it in
Visual Studio or during the install itself?

---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights. --------------------
From: "Andrew Wiles" <an***********@ it-workplace.com.c om>
Subject: Windows Installer - "A portion of the folder path '' is invalid"
Date: Mon, 8 Sep 2003 16:07:40 +0100
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <Ox************ **@TK2MSFTNGP09 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.genera l
NNTP-Posting-Host: modem-1200.alligator. dialup.pol.co.u k 81.78.4.176
Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP09.phx.g bl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.genera l:107672
X-Tomcat-NG: microsoft.publi c.dotnet.genera l

Hi

I have created an installation package in VS .Net. All works well if I usethe default installation path. If however I change the Installation path

the
following message is shown.

"A portion of the folder path '' is invalid. It is either empty or exceedsthe length allowed by the system"

If I ignore this message the software installs correctly anyway.

I have done very little customisation to the installation package and
because the Windows Installer is pretty opaque have no idea where to startlooking for the missing value.

Any ideas?

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2500
by: Arun Bhalla | last post by:
I'm borrowing some code from Pavel's Command Prompt Explorer Bar installer to use in my own explorer bar's installer. Recently I've been thinking that using an assembly version like "1.0.*" (hence, for example, "1.0.1304.25935") would be useful, at least for development and debugging purposes. (Someone please point out the cons to this idea!) Well, anyway, Pavel's installer basically exists to register the assembly, and unregister the...
0
3174
by: Jacob Callcut | last post by:
To All, When creating a Windows Service and selecting the "Add Installer" option from the right-click menu in the service's design window, a "ServiceProcessInstaller" and "ServiceInstaller" are automatically created. Does anyone know if there is a way to customize what "Add Installer" does? Specifically, I want to customize some of the code that gets added to the "ServiceInstaller" without having to cut and paste anytime I create a...
0
1885
by: Nicola George | last post by:
Hi all, I hope someone can help me as I'm going a bit metal with this problem. I have a project in ASP.NET, within this project I have Crystal Report called Catalogue. On an asp page I have a report viewer control (vwrReportViewer) and a report document control (reportDocument1). On the load of the page I have the following code. reportDocument1 = GetCatalogueSampleReport(DBConnectionString(this.Session),
0
1274
by: Michael Fitzpatrick | last post by:
I have a .NET application with an installer. The customer wants the install page with the "Everyone" or "Just Me" selection to default to "Everyone". Presently it defaults to "Just Me". Any hints on how I can achieve this? -- : - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - : my email address zfarjf@pbqrvafvtug.com is encrypted with www.rot13.org
1
6497
by: acool | last post by:
I just created a simple Windows Service in VB.NET. I right clicked on the component and added the installer, installed via InstallUtil.exe all went well until i try to do a net start and then I get: "the service name is invalid" WHY??
2
328
by: Andrew Wiles | last post by:
Hi I have created an installation package in VS .Net. All works well if I use the default installation path. If however I change the Installation path the following message is shown. "A portion of the folder path '' is invalid. It is either empty or exceeds the length allowed by the system" If I ignore this message the software installs correctly anyway.
3
15784
by: Eckhard Schwabe | last post by:
I only found one post on Google where someone mentions the same problem with a DataSet: XmlDataReader in .Net 1.1 can not read XML files from a path which contains "%10" or "%3f". code to reproduce: string filename = "%10.xml"; //XML file with this name is existing XmlReader reader = new XmlTextReader(filename);
1
2024
by: siva07 | last post by:
Hi experts i want get a folder which is outside the root directory that is i use as a private directory help me Thanks
0
9685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9536
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10468
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10245
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9063
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6802
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4131
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3748
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.