473,785 Members | 2,326 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 4998
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
2499
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
1273
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
15783
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
2023
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
9489
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
10356
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
10162
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...
1
10100
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9959
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8988
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
5528
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2893
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.