/build/static/layout/Breadcrumb_cap_w.png

error 2714

Hi,

I am using Admin Studio 6.0 for repackaging the softwares. We have created a MSI Package for weblogic 8.1. When trying to install that MSI, its throwing an error as Error 2714. Invalid value for default folder name: SAMPLE~1|samples/Integration
Please help to resolve this error.

Regards,

Balathripurasundari

0 Comments   [ + ] Show comments

Answers (62)

Posted by: AngelD 15 years ago
Red Belt
2
The path contains spaces so you need to enclose it with a " character.
Call WshShell.Run("""C:\Documents and Settings\yshariff\Desktop\test Flex Builder silent\AN EXE FILE MAYBE?"" -i silent", 1, True)
Posted by: anonymous_9363 15 years ago
Red Belt
1
ORIGINAL: yshariff
Is there a possibility that there might be error in some tables as well


Er.....

ORIGINAL: VBScab
Next, if this folder definition is in error, you can almost guarantee that others will be, too.


If you want to re-capture, given the time you've spent on this and the fact that your installation of WPS *seems* to be having problems with capturing this application, I would once again recommend that you download and use the trial version of InstallShield 2008. After that, I'd strongly recommend to your employer/client that WPS be upgraded as a matter of urgency. To be frank, I'm surprised you get *anything* done if you're still using v5...
Posted by: anonymous_9363 15 years ago
Red Belt
1
That's because you d/l the wrong product. Sorry, I ought to have checked the link which was posted earlier in the thread. You need AdminStudio, the closest equivalent to WPS.

Start here http://www.acresso.com/downloads/downloads_4886.htm?link_id=relatedLinks

The hoops you need to jump through are the same as for IS 2009.
Posted by: anonymous_9363 16 years ago
Red Belt
0
If you look in the Directory table, you'll see that none of the other entries have slashes - forward or backward - in them. Slashes are invalid in folder names, as most schoolboys know.

Change the name to something without a slash e.g. 'Samples (Integration)'
Posted by: bala.aswath 16 years ago
Yellow Belt
0
Thanks for your response.
Posted by: anonymous_9363 16 years ago
Red Belt
0
Did it fix the problem? People coming here in future might be interested to know if it did or nor...
Posted by: dannyarya 15 years ago
Senior Purple Belt
0
, its not working.
msi files cant copy in that folder
any other solustion ?

Thanks,
Danny Arya
Posted by: anonymous_9363 15 years ago
Red Belt
0
- What's not working?
- What folder?
- Solution to what?

It's a little tricky to formulate an answer when you don't clearly state what the problem is.
Posted by: yshariff 15 years ago
Orange Senior Belt
0
Am getting the same error message when am trying to install the MSI for Adobe Flex Build Pro which I suilt from the extraxted exe provided from the vendor. the error is Error 2714 Windows~y/Windows/resource/jre/lib/zi/systemV. I tried all possible ways but i didnt succeed.

One more thing this folder Systemv is captured empty by MSI File there is nothing in it. In base exe file this folder contains the language details option for the application.

Please help me in soughting out this error as soon as possible as my SLA is hitting me very badly.

Awaiting quick response
Posted by: AngelD 15 years ago
Red Belt
0
error 2714 = Invalid value for default folder name: [2].
where [2] equals "Windows~y/Windows/resource/jre/lib/zi/systemV" in this case.

The DefaultDir column should have a value of systemV.
You need to make sure the whole directory tree is populated in the Directory table.

Read-up regarding Directory table
http://msdn.microsoft.com/en-us/library/aa368295.aspx
Posted by: yshariff 15 years ago
Orange Senior Belt
0
Thanks for such a quick response. I didnt understand " the whole directory tree is populated in the directory table". the systemv is the destination folder in the Exe under the parent folder jre.

Please explain me in detail. I mean can u tel me step by step procedure. should i edit the changes in MSI or make changes in destination computer.

Thanks & Regards
Posted by: AngelD 15 years ago
Red Belt
0
"the whole directory tree" would be for example "C:\windows\temp" meaning every directory in the path.

So you need to have an entry in the Directory table for the destination and each parent, parent-parent, parent-parent-parent,... directory.
Posted by: anonymous_9363 15 years ago
Red Belt
0
Kim, I hijacked your post to illustrate further.

yshariff, it would seem you are hacking folder entries by hand (using Orca, by any chance?), rather than using an authoring tool. That's fine, provided you have an understanding of how the tables, particularly the Directory table in this case, work. It seems you do not yet have that understanding.

So you need to have an entry in the Directory table for the destination and each parent, parent-parent, parent-parent-parent,... directory.That is, when you look in the Directory table of your MSI, you should have entries for:

resource
jre
lib
zi
systemV

where, for example, the 'SystemV' row would show 'zi' as its parent, the 'zi' row would have 'lib' as ITS parent and so on.
Posted by: yshariff 15 years ago
Orange Senior Belt
0
Yes VBScab I do understand the parent child concept, whats happened here is the MSI created using the Wise Package Studio, has the directory structure captured in the following manner. Windows/Windows/resource/jre/lib/zi/systemv.

where there is no windows sub folder in the Parent folder Windows. and there is no resource folder under the Windows folder in the Developing Machine. however the resource folder containg the rest of folders is present in the source exe file. also when i see the directory table it has captured the directory as Windows~Y/Windows/resource/jre/lib/zi/systemv. Am in great trouble please help me out.

Note: here there are two windows folder created along with resource folder which is not at all present in the source and the rest of the folders starting from jre are placed in them.

Awaiting quick response.
Posted by: anonymous_9363 15 years ago
Red Belt
0
Yes VBScab I do understand the parent child conceptSo you'll know that WPS will show you the folder structure in 'Installation Expert' view. If it's wrong, just correct it either in that view or by editing the Directory table in 'Setup Editor' view.
Posted by: yshariff 15 years ago
Orange Senior Belt
0
Thanks for all your help.after changing the TargetDir with the actual directory name its not showing error.

And the error persist with other directories whose parent directory does not exists in the source file nor on the system, so for such diretories what parent should be assigned, is it the main directory which contains the whole EXE.

Now i am getting error 2705 - Directory error.

Awaiting Quick Response. i have to create a MSI today at any cost.
Posted by: anonymous_9363 15 years ago
Red Belt
0
Whether or not the directories exist on the system is irrelevant for the time being.

Error 2705 means that somewhere, the folder structure is broken, probably due to a parent folder definition being missing or in error.

The simplest route for you is to
- install using the vendor's installer
- delete the entire folder structure you captured, from the 'Windows' folder down, using the 'Installation Expert' view. Leave everything else as it is for now.
- recreate the folder structure, populating it starting from the 'resources' folder, having set THAT folder to be copied to the 'Windows' folder (assuming that is the structure - I'm guessing)
- compile and test

For a potentially quicker solution, validate the package. Double-click on any error and WPS will take you directly to the offending table entry.
Posted by: yshariff 15 years ago
Orange Senior Belt
0
Thanks a lot, I shall do it. i ll save a copy as save as and i ll do that R&D on the save as copy and let u know. Hope it works

You have been a great help. thanks.
Posted by: yshariff 15 years ago
Orange Senior Belt
0
whats happening here is the as per you the directory structure is broken, there is a path which the msi has picked as Windows/Windows/resource........where there is no windows folder in windows folder in the source nor in the developing machine. ....hope u have understood....so what should i do ...
Posted by: anonymous_9363 15 years ago
Red Belt
0
ORIGINAL: yshariff
so what should i do ...
Pretty much what I already told you. Either
The simplest route for you is to
- install using the vendor's installer
- delete the entire folder structure you captured, from the 'Windows' folder down, using the 'Installation Expert' view. Leave everything else as it is for now.
- recreate the folder structure, populating it starting from the 'resources' folder, having set THAT folder to be copied to the 'Windows' folder (assuming that is the structure - I'm guessing)
- compile and test
or validate the package and fix the errors as you work through them. Given your level of knowledge, I would respectfully suggest the first route.

Even simpler, you could re-capture the application again.
Posted by: AngelD 15 years ago
Red Belt
0
ORIGINAL: yshariff

Am getting the same error message when am trying to install the MSI for Adobe Flex Build Pro which I suilt from the extraxted exe provided from the vendor. the error is Error 2714 Windows~y/Windows/resource/jre/lib/zi/systemV. I tried all possible ways but i didnt succeed.

So are you saying that the extracted vendor MSI has the "Windows~y/Windows/resource/jre/lib/zi/systemV" DefaultDir or did you capture the installation into your own MSI?
I wouldn't be surprised by history from Adobe but seems unlikely.
Posted by: yshariff 15 years ago
Orange Senior Belt
0
the application creates the default folder C:\Program files\Adobe\Adobe\Flex Builder Pro 3\
under this folder there is a folder Uniinstall Flex Builde Pro 3/resources.

there is no where the windows folder concerned to this application neither the application creates any folder in the windows folder by name windows to have a sub directory structure as WINDOW~3\Windows\resource\ ....so should i copy this resource folder in the C:\windows. so that it form the structure and then i can change the parent directory as Windows.......
Posted by: yshariff 15 years ago
Orange Senior Belt
0
Angel am actuall surprised as from where the Windows\resource folder come from when captured in the MSI as there is no such folder called Windows in the Source exe. this is pathetic experience which i have ever experinced.......You can solve that error of systemv by changing the parent directory name as zi in the setup editor section of WPS which has captured as TARDIR......similarly for all other directories errors can be resolved by changing the parent directory name to thier respective directory name......but u come to an dead thats Window~3/Windows/resource.....as there is no windows folder in the source file of ADOBE.... I wish I would have named it as orphan.....he he he he ....No worries we ll succeed ......
Posted by: anonymous_9363 15 years ago
Red Belt
0
To repeat Kim's question are you using an MSI which was extracted from the vendor's set-up executable or is this an MSI built from a capture?

If it's an MSI extracted from the vendor's EXE, is there - and more importantly, are you using - a customising tool from Adobe for that application? Most of the Adobe apps I've encountered have a tool specific to that application for producing transform files for the MSI.
Posted by: AngelD 15 years ago
Red Belt
0
DON'T capture an vendor MSI!, use a transform instead for your tweaks.

I guess you use an older version of WPS, guessing 5.6? which includes bugs.
If you don't want the bugs you nead to upgrade, same for everyone else.
Posted by: yshariff 15 years ago
Orange Senior Belt
0
hey thats true am using WPS 5
and i am facing problems which i never faced before let me try with the WPS.. DO u have any link from wher i can down load it....
Posted by: AngelD 15 years ago
Red Belt
0
You can download a trial version at http://www.altiris.com/Download.aspx

What you need to do if you come across this is to find the root folder holding the incorrect directory path and then correct the Directory table entry. In some cases you can just remove the entire (corrupted) path from the table.
Posted by: anonymous_9363 15 years ago
Red Belt
0
Forget downloading stuff. Use the WPS tool InstallTailor (or, if Adobe provide a installation-customisation tool, use that) to create a transform for the VENDOR'S MSI.
Posted by: anonymous_9363 15 years ago
Red Belt
0
Out of curiosity, I d/l Flex Builder (450Mb-worth!) and extracted the EXE's contents. What a mess...

Anyway, I now know where you odd folder is coming from and it does indeed show that you have captured the install. Having looked at the app, I don't see that you have any choice, since there's no master MSI: I assumed there was one, for which I apologise.

So, the folder is %Temp%\[randomly-named folder]\Windows\resource\...etc, etc. Since it's beneath the TEMP folder, you can simply delete it, as it's most likely only concerned with the install. The other giveaway for my providing that advice is that the dialogs have that "Java desperately trying to look like Windows but never QUITE getting there" look about them.

Lastly, add %TEMP% (and %SystemRoot%\TEMP) to the list of folders excluded from your captures, otherwise you'll hit similar errors time and time again.
Posted by: yshariff 15 years ago
Orange Senior Belt
0
I have already checked for the MSI s in the source file, there are no MSIs. the main problem arising here is that the source has a resource folder inside the FLEX BUILDER PRO 3 folder.....the WPS studio is capturing this folder as WINDOWS folder which has the directory path as Windows/resource instead of FLEX BUILDER PRO 3\resource .... how ever there is folder created in the %temp% folder which has a path Windows/resource.....You mean I have to add this in the MSI but how........ I have my MSI captured the folders under windows folder as windows/windows/resource and so on but these are the empty folders ..... so u mean I have to add the details in these folders from the temp Windows folder......
Posted by: AngelD 15 years ago
Red Belt
0
Please read Ian's last post again.
You do not want any temporary files or directories in your package.

Ian also suggested that you should include any temporary location such as "C:\DOCUME~1\AngelD\LOKALA~1\Temp" to the exclusion list to prevent them from being included while doing a capture.
Posted by: yshariff 15 years ago
Orange Senior Belt
0
I am building a new image, and will try to capture a new wsi file, I have list of files and registries that to be added to the exclusion list, and shall add all the temp files to it. do u have any files/registries that should be added to exclusion list so that i ll not get any file or registry errors...
Posted by: anonymous_9363 15 years ago
Red Belt
0
ORIGINAL: yshariff
do u have any files/registries that should be added to exclusion list so that i ll not get any file or registry errors...
That's an impossible request, since so much depends on your build, what applications you have installed as part of the build and so on.

I think someone posted a list of *additions* that you could make to the default exclusion list, either here or on the Altiris 'Wise Package Studio' forum http://forums.altiris.com/categories.aspx?catid=19 so use both forum's 'Search' facilities.
Posted by: AngelD 15 years ago
Red Belt
0
Use "SetupCapture Configuration" from the Tools tab and build your own exclusion list. When the "Build Exclusion List" dialog shows select the "Automatically build exclusion list (Recommended)" option.
Posted by: yshariff 15 years ago
Orange Senior Belt
0
Angel, I have added the whole temp folder in the exclusion list, after the setup capture the wsi has the list of folders with windows/windows/resource/...etc,etc, after that again the same error 2714........I deleted all the directories by that name and the application got installed but with error while launching..stating error has occured see the configuration file
Posted by: AngelD 15 years ago
Red Belt
0
My guess would be as I've seen before with WPS5.6 is that WPS gets confused during capture and doesn't "record" the whole path in the Directory table and therefore missing the first part of it.

Use Process Monitor to find out which file (path) that is missing that may help on finding what got missing.
Do you get the same problem if you try using WPS 7 instead? Download the trial and see if that works.
Posted by: yshariff 15 years ago
Orange Senior Belt
0
I tried Down loading the trail version WPS 7 its asking for the license Key. and its trying to get install on the server side and asking SQL server installation permission......

Shall I Put the whole window folder into the exclusion list... as the application needs only the C:\Program Files folder to store its contents.......I am sick of this window folder getting captured......[:o]...
Posted by: anonymous_9363 15 years ago
Red Belt
0
ORIGINAL: yshariff
I tried Down loading the trail version WPS 7 its asking for the license Key. and its trying to get install on the server side and asking SQL server installation permission......
I recently had an issue with WPS 7's SetupCapture choking on an app which created over 24,000 registry entries. No amount of coaxing would make it work. In the end, I downloaded the trial version of InstallShield 2008 (you'll get nagged by endless emails from Acresso - IS's new owner) and used that. Bizarrely, once I had a working MSI, out of curiousity I opened it in WPS 7, "converted" it to a WSI and re-compiled it. WPS was quite happy with it, so it's clearly an issue with SetupCapture. I have an outstanding ticket with Altiris about it.
Posted by: yshariff 15 years ago
Orange Senior Belt
0
Might be issue with the WPS tool it self it behaves wiered with some application captures, How is Install Shield tool with respect to MSI creation, and is there any guide available for How to use it......[:)]
Posted by: anonymous_9363 15 years ago
Red Belt
0
ORIGINAL: yshariff
Might be issue with the WPS tool it self it behaves wiered with some application captures,
Er, that's what I said, isn't it?

ORIGINAL: yshariff
How is Install Shield tool with respect to MSI creation, and is there any guide available for How to use it......
Altiris (WPS) and Acresso (InstallShield) are the two main players in MSI authoring tools. If you're reasonably au-fait with WPS, you'll be fine with InstallShield. It will, like all Windows apps, have Help available and there is a reasonably active forum.
Posted by: yshariff 15 years ago
Orange Senior Belt
0
Hey i got some break through and permanent solution for the installer error 2714....the application now installs 50% and then it stops and gives a new error 2343 error Windows/All Users Error ....please please for sake of god suggest me a solution so that i can taste success which is just few steps away from me......
Posted by: yshariff 15 years ago
Orange Senior Belt
0
I am getting all types of error in the Installer, Now am getting 2704 error Progam|ProgramFiles.......... After Defining the Root Drive Property as ROOTDRIVE = C:\....The Interface worked without any errors and showed the message Adobe Flex installed successfully.....the fun here is there is no short cut created nor there are files written from the source MSi to the C:/


Please Do some thing and help me .... Awaiting Quick Response...
Posted by: anonymous_9363 15 years ago
Red Belt
0
Are you sure the value for ROOTDRIVE has a trailing backslash, i.e. C:\ not just C:

BTW, AppDeploy has an MSI Error lookup page here http://www.appdeploy.com/msierrors/index.asp.
Posted by: yshariff 15 years ago
Orange Senior Belt
0
Am sorry I didnt understand the slash concept.....any ways its again showing the same error 2704---ProgramFileFolder|ProgramFile.......I dono i have lost all hopes am near the solution by messing up with some things I guess....
Posted by: yshariff 15 years ago
Orange Senior Belt
0
I think I ll have some solution till monday and I have faith in god that this MSi will work ....just that there is some error which i have come across like 2714,2343 and 2704... and i have learnt how to resolve 2714 and please help me out with 2343 and 2704....

Thanks for all your help... Have a great and happy week end ... will meet in this forum on monday .....
Posted by: dunnpy 15 years ago
Red Belt
0
yshariff,

Maybe before you post back on Monday you could have a look at What does this MSI error mean? on a popular packaging forum site.

2343 - Specified path is empty
2704 - Root directory property undefined

Try searching using a popular search engine to find possible solutions to your errors.
The one linked also allows you to search newsgroup postings.

Once you have researched the error and possible solutions - try them.

If you are still experiencing issues then please post back with the issue you are having trouble with and what you have attempted to resolve the error.
Posting the part of the log file that is relevant to the error may also be helpful for the board to assist you (use the <% button).

Hope this helps,

Dunnpy
Posted by: yshariff 15 years ago
Orange Senior Belt
0
Verify in "Direct Editor > Directory" (the Directory table) if you have a "Default" value in "Default Dir" colum, this value can result in this error. (Source: member feedback).................................... This is the solution for the Windows Installer Error 2704........ which has been posted in one of the forums.......please let me know whats should be defaut Directory for Program Files/Program Files Folder
Posted by: anonymous_9363 15 years ago
Red Belt
0
A typical row for ProgramFilesFolder looks like this:

Directory.................Directory_Parent.......DefaultDir
ProgramFilesFolder TARGETDIR .:Progra~1|Program Files
Posted by: yshariff 15 years ago
Orange Senior Belt
0
Does this Directory Table Row differ for every application, When I run the application Adobe/Flex builder Pro/ ..... it has a entry some what like this ProgramF|Program Files.... and the error displayed while running is 2704 ProgramF|Program Files
Posted by: anonymous_9363 15 years ago
Red Belt
0
The names *might* be different, although that is incredibly unlikely, as I imagine most people keep the 'Program Files' folder defined as it is shwon. However, the *format* will be the same, namely that the first half of the string - i.e. the part before the vertical bar | - is the short form of the folder name and the second half is the long form. So, in this case, you need to correct 'ProgramF' to be 'PROGRA~1'.

Next, if this folder definition is in error, you can almost guarantee that others will be, too.

Have a read about Windows Installer's handling of long and short filenames.

BTW, this particular error is most often seen when capturing packages which are already in MSI format. Is this the case here, I've forgotten?
Posted by: yshariff 15 years ago
Orange Senior Belt
0
Is there a possibility that there might be error in some tables as well.......... I had searched for MSi in the source there were no MSi s in the source, Is there any other procedure to find hiden MSi s in the source code..... so that I can start the repackaging work from the begining....
Posted by: yshariff 15 years ago
Orange Senior Belt
0
Can U please send me a link to down load the trail version of Install Shield asap....
Posted by: dunnpy 15 years ago
Red Belt
0
yshariff,

Did you try http://www.google.com and searching for "Installshield"?

Have you tried http://www.installshield.com ?
Hint - go to the downloads section.

Once you've registered and downloaded it, you'll have to run the executable file you downloaded.
You will then have to install it, following the on screen prompts.

Once it is installed it will appear on your Start Menu - Hint - click the Start button and go to Programs, you should be able to see it from there.

Hope this helps,

Dunnpy
Posted by: yshariff 15 years ago
Orange Senior Belt
0
I have a doubt created in my mind when i browsing the install shield Web site there is a product called Install any where( Dono What it is used for, is it used for packaging by any chance)....
The Adobe Flex Builder Application which am trying to package is also called Flex_Builder InstallAnywhere Self Extractor...... Am I lost or I could find the Msi in this source..... Is it an MSi all by it self.... Please Help was I trying to repackage the MSi build using the Self Extract..
Posted by: yshariff 15 years ago
Orange Senior Belt
0
Can any body help me with the steps to creat the MSI using Install Shield 2009 Professional Edition..
Posted by: yshariff 15 years ago
Orange Senior Belt
0
Hello,

I have written w VB Script for silent installtion of Flex Build Pro Exe, extracted using install any where tool of Install Shield.... Please can any one provide me with the sample script for performing this job... this is my last option to wrap the exe into VB Script...

Awaiting Quick Response.
Posted by: anonymous_9363 15 years ago
Red Belt
0
So....you've written a script to perform the silent install and you'd now like someone to provide you with a sample script...

Your request makes no sense: please clarify.

Besides anything else, are you *seriously* telling us that, having used WPS, you can't work out how to use IS's Repackager tool to capture the vendor's install into an MSI?
Posted by: yshariff 15 years ago
Orange Senior Belt
0
Yes, The IS 2009 has no input to do capture, It has no tool as u call it Repackager, so the last provision is to wrap this application in VB Script and run it, using the Flex Build Proerties files. and I asked for the Script Code for running the exe in silent mode.
Posted by: yshariff 15 years ago
Orange Senior Belt
0
Just have a look at the script to run an exe for silent installtion, its poping up an error as below, also it would be great help if u provide me switch for un installting the exe silently.

Dim Wshshell
Set Wshshell = Createobject("Wscript.Shell")
WshShell.Run "C:\Documents and Settings\yshariff\Desktop\test Flex Builder silent\",1,True -i silent
WScript.Quit

:\Documents and Settings\yshariff\My Documents\VB Scripts\(3, 95) Microsoft VBScript compilation error: Expected end of statement

Exit code: 1 , 0001h
Posted by: anonymous_9363 15 years ago
Red Belt
0
YShariff, I'm afraid I'm going to give up responding to this thread. You are veering between capturing and scripting, seemingly on a whim. My suggestion remains to d/l IS AdminStudio and use its Repackager tool to capture the installation.
Posted by: yshariff 15 years ago
Orange Senior Belt
0
Thanks a lot Angel, It works I had missed the " " in the script.....
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ