Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Mon, 18 Aug 2008 06:59:02 -0700,    group: microsoft.public.platformsdk.msi        back       


A portion of the folder path '' is invalid error   
I am writing an installer package that is for plugins, thereofre the install 
path changes accoring to the users host application. I have added a custom 
dialog with four radio buttons where the user can choose form the most 
popular host applications. the fourth option is simply 'Other' which I set 
to be [ProgramFilesFolder]. When I choose this option and I try to naviget to 
my choice of host application with the browse button I get the following 
error:

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

If I change the path so that it is simply c:\ then there is no error.

Any suggestions?

Thanks
Zsuzsa
date: Mon, 18 Aug 2008 06:59:02 -0700   author:   zsuzsa

Re: A portion of the folder path '' is invalid error   
On Aug 18, 3:59 pm, zsuzsa  wrote:
> I am writing an installer package that is for plugins, thereofre the install
> path changes accoring to the users host application. I have added a custom
> dialog with four radio buttons where the user can choose form the most
> popular host applications. the fourth option is simply 'Other' which I set
> to be [ProgramFilesFolder]. When I choose this option and I try to naviget to
> my choice of host application with the browse button I get the following
> error:
>
> A portion of the folder path '' is invalid. It is either empty or exceeds
> the length allowed by the system.
>
> If I change the path so that it is simply c:\ then there is no error.
>
> Any suggestions?
>
> Thanks
> Zsuzsa

Just a guess. Have you tried ProgramFilesFolder without [] ?


Best regards,
Sebastian Brand

Instyler Software - http://www.instyler.com
date: Mon, 18 Aug 2008 09:22:14 -0700 (PDT)   author:   Sebastian Brand

Re: A portion of the folder path '' is invalid error   
"Sebastian Brand" wrote:

> On Aug 18, 3:59 pm, zsuzsa  wrote:
> > I am writing an installer package that is for plugins, thereofre the install
> > path changes accoring to the users host application. I have added a custom
> > dialog with four radio buttons where the user can choose form the most
> > popular host applications. the fourth option is simply 'Other' which I set
> > to be [ProgramFilesFolder]. When I choose this option and I try to naviget to
> > my choice of host application with the browse button I get the following
> > error:
> >
> > A portion of the folder path '' is invalid. It is either empty or exceeds
> > the length allowed by the system.
> >
> > If I change the path so that it is simply c:\ then there is no error.
> >
> > Any suggestions?
> >
> > Thanks
> > Zsuzsa
> 
> Just a guess. Have you tried ProgramFilesFolder without [] ?
> 
> 
> Best regards,
> Sebastian Brand
> 
> Instyler Software - http://www.instyler.com
> 

In Orca [ProgramFilesFolder] is a 'variable' or  a 'property'. Without [] it 
gives the error message'not network location found' or something similar.

Thanks,
Zsuzsa
date: Mon, 18 Aug 2008 09:51:04 -0700   author:   zsuzsa

Re: A portion of the folder path '' is invalid error   
Hi,

On Mon, 18 Aug 2008 09:51:04 -0700, zsuzsa  wrote:


>"Sebastian Brand" wrote:
>
>In Orca [ProgramFilesFolder] is a 'variable' or  a 'property'. Without [] it 
>gives the error message'not network location found' or something similar.
>
>Thanks,
>Zsuzsa


Either way create a vebose log to diagnose this (or any) problem:

    http://makemsi-manual.dennisbareis.com/logging.htm

Bye,
Dennis
Dennis Bareis [Microsoft MVP] (dbareis@KillSpam.gmail.com)
  http://dennisbareis.com/
Freeware Windows Installer creation tool (+ "ORCA automation"):
  http://makemsi.dennisbareis.com/
date: Tue, 19 Aug 2008 17:33:26 +1000   author:   Dennis Bareis am

Re: A portion of the folder path '' is invalid error   
"Dennis Bareis" wrote:

> Hi,
> 
> On Mon, 18 Aug 2008 09:51:04 -0700, zsuzsa  wrote:
> 
> 
> >"Sebastian Brand" wrote:
> >
> >In Orca [ProgramFilesFolder] is a 'variable' or  a 'property'. Without [] it 
> >gives the error message'not network location found' or something similar.
> >
> >Thanks,
> >Zsuzsa
> 
> 
> Either way create a vebose log to diagnose this (or any) problem:
> 
>     http://makemsi-manual.dennisbareis.com/logging.htm
> 
> Bye,
> Dennis
> Dennis Bareis [Microsoft MVP] (dbareis@KillSpam.gmail.com)
>   http://dennisbareis.com/
> Freeware Windows Installer creation tool (+ "ORCA automation"):
>   http://makemsi.dennisbareis.com/
> 

Hello.

Yes, I have turned the logging on before, however it did not give me a clue 
as for what is going wrong. I included below some part of it as the whole log 
is very long.
Maybe more experienced eyes can pick the problem up. 
The link you gave Dennis took me to a website where somebody suggested that 
the buffer is too small. this error is caused by the return value being twice 
the needed value, then dividing by two.  When the return value is an odd 
number, the result is less than what is required. 
But where do i set the buffersize in Orca?

Thanks
Zsuzsa


Action 12:01:58: FolderForm. Dialog created
MSI (c) (B4:68) [12:01:58:718]: Note: 1: 2205 2:  3: _RemoveFilePath 
MSI (c) (B4:68) [12:01:58:718]: Note: 1: 2262 2: TypeLib 3: -2147287038 
MSI (c) (B4:68) [12:01:58:718]: Note: 1: 2262 2: Class 3: -2147287038 
MSI (c) (B4:68) [12:01:58:718]: Note: 1: 2262 2: Extension 3: -2147287038 
MSI (c) (B4:68) [12:01:58:718]: Note: 1: 2262 2: DuplicateFile 3: -2147287038 
MSI (c) (B4:68) [12:01:58:718]: Note: 1: 2262 2: ReserveCost 3: -2147287038 
MSI (c) (B4:68) [12:01:58:718]: PROPERTY CHANGE: Modifying CostingComplete 
property. Its current value is '0'. Its new value: '1'.
MSI (c) (B4:68) [12:01:58:718]: Note: 1: 2262 2: BindImage 3: -2147287038 
MSI (c) (B4:68) [12:01:58:718]: Note: 1: 2262 2: ProgId 3: -2147287038 
MSI (c) (B4:68) [12:01:58:718]: Note: 1: 2262 2: PublishComponent 3: 
-2147287038 
MSI (c) (B4:68) [12:01:58:718]: Note: 1: 2262 2: SelfReg 3: -2147287038 
MSI (c) (B4:68) [12:01:58:718]: Note: 1: 2262 2: Extension 3: -2147287038 
MSI (c) (B4:68) [12:01:58:718]: Note: 1: 2262 2: Font 3: -2147287038 
MSI (c) (B4:68) [12:01:58:718]: Note: 1: 2262 2: Class 3: -2147287038 
MSI (c) (B4:68) [12:01:58:718]: Note: 1: 2727 2:  
MSI (c) (B4:68) [12:01:59:156]: Note: 1: 2727 2:  
MSI (c) (B4:68) [12:01:59:656]: Note: 1: 2727 2:  
MSI (c) (B4:68) [12:02:00:156]: Note: 1: 2727 2:  
MSI (c) (B4:68) [12:02:00:375]: PROPERTY CHANGE: Adding 
SelectFolderDialog_Property property. Its value is 'TARGETDIR'.
Action 12:02:00: SelectFolderDialog. Dialog created
MSI (c) (B4:68) [12:02:02:187]: PROPERTY CHANGE: Modifying TARGETDIR 
property. Its current value is 'C:\Program Files\'. Its new value: 
'C:\Program Files\Adobe\'.
MSI (c) (B4:68) [12:02:09:375]: PROPERTY CHANGE: Modifying TARGETDIR 
property. Its current value is 'C:\Program Files\Adobe\'. Its new value: 
'C:\Program Files\Adobe\Photoshop 7.0\'.
MSI (c) (B4:68) [12:02:10:750]: PROPERTY CHANGE: Modifying TARGETDIR 
property. Its current value is 'C:\Program Files\Adobe\Photoshop 7.0\'. Its 
new value: 'C:\Program Files\Adobe\Photoshop 7.0\Plug-Ins\'.
MSI (c) (B4:68) [12:02:12:062]: PROPERTY CHANGE: Modifying TARGETDIR 
property. Its current value is 'C:\Program Files\Adobe\Photoshop 
7.0\Plug-Ins\'. Its new value: 'C:\Program Files\Adobe\Photoshop 
7.0\Plug-Ins\FixerLabs\'.
MSI (c) (B4:68) [12:02:13:421]: Note: 1: 2335 2: C:\Program Files\ 3: 
C:\Documents and Settings\zsuzsa\Desktop\ 
MSI (c) (B4:68) [12:02:13:421]: Note: 1: 2335 2: C:\Program Files\ 3: 
C:\Documents and Settings\zsuzsa\Start Menu\Programs\ 
MSI (c) (B4:68) [12:02:13:421]: Note: 1: 2335 2: C:\Program Files\ 3: 
C:\Documents and Settings\zsuzsa\Start Menu\Programs\FixerLabs V2\ 
MSI (c) (B4:68) [12:02:13:421]: Note: 1: 2335 2: C:\Program Files\ 3: 
C:\Documents and Settings\All Users\Application Data\eSellerate\ 
MSI (c) (B4:68) [12:02:13:421]: Note: 1: 2335 2: C:\Program Files\ 3: 
C:\Documents and Settings\zsuzsa\Application Data\ 
MSI (c) (B4:68) [12:02:13:421]: Note: 1: 2335 2: C:\Program Files\ 3: 
C:\Documents and Settings\zsuzsa\Application Data\FixerLabs V2\ 
MSI (c) (B4:68) [12:02:13:421]: Note: 1: 2335 2: C:\Program Files\ 3: 
C:\Documents and Settings\zsuzsa\Application Data\FixerLabs V2\Common\ 
MSI (c) (B4:68) [12:02:13:421]: Note: 1: 1322 2:  
MSI (c) (B4:68) [12:02:13:421]: Note: 1: 2262 2: Error 3: -2147287038 
MSI (c) (B4:68) [12:02:13:421]: Note: 1: 2262 2: Error 3: -2147287038 
DEBUG: Error 2835:  The control ErrorIcon was not found on dialog ErrorDialog
The installer has encountered an unexpected error installing this package. 
This may indicate a problem with this package. The error code is 2835. The 
arguments are: ErrorIcon, ErrorDialog, 
Error 1322. A portion of the folder path '' is invalid.  It is either empty 
or exceeds the length allowed by the system.
MSI (c) (B4:68) [12:02:17:171]: Note: 1: 2262 2: Error 3: -2147287038 
MSI (c) (B4:68) [12:02:17:171]: Product: FixerBundle V2 -- Error 1322. A 
portion of the folder path '' is invalid.  It is either empty or exceeds the 
length allowed by the system.
date: Tue, 19 Aug 2008 04:12:11 -0700   author:   zsuzsa

Re: A portion of the folder path '' is invalid error   
"zsuzsa"  wrote in message 
news:B514EE63-0CFD-45BB-BD54-BAE05828CC79@microsoft.com...
>
>
> Yes, I have turned the logging on before, however it did not give me a 
> clue
> as for what is going wrong. I included below some part of it as the whole 
> log
> is very long.

If you're not doing so already, use WiLogUtl (one of the tools in the SDK) 
to analyze your log files; it will help you weed out the true error messages 
from the verbosity.  It also offers a pretty complete listing of MSI 
error/warning codes, so you can get some handle on what all those Note: 
messages are about.

It's been a while since I've worked with MSI, and I'm not familiar with your 
application, but it looks like MSI is complaining about paths -- the Note: 
2335 messages are saying that "c:\program files\" is not a parent of the 
various "c:\documents and settings" directories, which may be of some 
importance.  The Note: 2262 errors indicate that the stream "" does not 
exist (in what file, I don't know), and that some Windows API returned a 
STG_E_FILENOTFOUND error when trying to open that stream.

If I had to guess, I'd say there's some custom logic that is acting on the 
path settings, and failing.  If it's your code, you should be able to debug 
& fix it.  If it's not your code, it's a bit harder, but not necessarily 
impossible, to fix.
date: Tue, 19 Aug 2008 08:01:05 -0400   author:   Jeff Henkels

Re: A portion of the folder path '' is invalid error   
Hi,


On Tue, 19 Aug 2008 04:12:11 -0700, zsuzsa  wrote:

>
>
>"Dennis Bareis" wrote:
>> 
>> On Mon, 18 Aug 2008 09:51:04 -0700, zsuzsa  wrote:
>> 
>> 
>> >"Sebastian Brand" wrote:
>> >
>> >In Orca [ProgramFilesFolder] is a 'variable' or  a 'property'. Without [] it 
>> >gives the error message'not network location found' or something similar.
>> >
>> >Thanks,
>> >Zsuzsa
>> 
>> 
>> Either way create a vebose log to diagnose this (or any) problem:
>> 
>>     http://makemsi-manual.dennisbareis.com/logging.htm
>> 
>> Bye,
>> Dennis
>
>Yes, I have turned the logging on before, however it did not give me a clue 
>as for what is going wrong. I included below some part of it as the whole log 
>is very long.
>Maybe more experienced eyes can pick the problem up. 
>The link you gave Dennis took me to a website where somebody suggested that 
>the buffer is too small. this error is caused by the return value being twice 
>the needed value, then dividing by two.  When the return value is an odd 
>number, the result is less than what is required. 
>But where do i set the buffersize in Orca?

I'd start with the theory the path really is '' an then examine your dialog closer...

I assume its the 4th button "other" thats failing and that the other 3 work, what are they set to?

Bye,
Dennis
Dennis Bareis [Microsoft MVP] (dbareis@KillSpam.gmail.com)
  http://dennisbareis.com/
Freeware Windows Installer creation tool (+ "ORCA automation"):
  http://makemsi.dennisbareis.com/
date: Thu, 21 Aug 2008 18:29:28 +1000   author:   Dennis Bareis am

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us