[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

VB 2008 Setup application error message.

Posted on 2013-05-13
3
Medium Priority
?
361 Views
Last Modified: 2013-05-18
When I run Setup.exe I receive the following error message.
"The folder path "." contains an invalid character.".

The Program I am trying to install is a COM Class created in Visual Studio 2008 professional. The DLL uses a third party control (Text Control) which consists of two DLLs.

The target machine is a Windows 7 64 bit machine. under Configuration manager I have added support for x64 and x86. I have removed support for ANY CPU.

The solution contains three projects. The COM Class dll project. A windows forms project used in testing the COM Class dll. And the Setup project.

To the application folder of the Setup project, I have added the two DLLs associated with Text Control. I have added Primary Output, Content files, Localized resources and Source files from the COM Class dll.

Once the solution is built and I copy the Setup.msi and the Setup.exe to the local machine (C:\test folder), I get the above error message when I attemp to run the Setup.exe.

What is causing this? How do I fix it? any good resources on Setup projects (this is my first and it is not going well)?

Thanks,
pat
0
Comment
Question by:mpdillon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 16

Expert Comment

by:Rose Babu
ID: 39164803
What is the DefaultLocation value set for the 'Application Folder' in your setup project?
Right click on Setup Project -> View -> File System

in the 'file System' panel, click on 'Application Folder' then check the Properties -> DefaultLocation
check the folder structure is set correctly in that. Try to change that to C:\test folder and build the setup application then test that once...
0
 

Author Comment

by:mpdillon
ID: 39166416
The default program location is "[ProgramFilesFolder][Manufacturer]\[ProductName]".

I changed this to C:\Test. I built the Setup application. I built the Solution. On the test Win 7 Workstation, I double clicked on the exe which was still on a network drive. It installed the DLL program. And the DLL program worked.

In the past the DLL program had not worked because some of the third party controls either were not present or were not registered correctly when I was doing this manually. However after completing the wizard the DLL works as expected. Thank you!

Now a couple of questions.
1. What is wrong with the original default path. I would like the program to install to the Programs Files directory which is what I thought the original default path would do.

2. My settings in the Setup application must be too broad. After executing the Setup application on the workstation, all my project files were copied, see attachment (Show Notes Folder). It is necessary for all the files that begin with TX to be copied according to the manufacturer. But I can't believe I should place my .vb files on each workstation.
Looking at the second image (Show Notes Program) which shows my Setup application, could you suggest what to include and not include?

Thanks,
pat
ShowNotes-folder.png
ShowNotes-Setup-Program.png
0
 
LVL 16

Accepted Solution

by:
Rose Babu earned 2000 total points
ID: 39167181
1. What is wrong with the original default path.
Is there the following path available in your C Drive? or in which drive the windows installation has been done?

C:\Program Files

Try to copy the setup file from network path and place in the local machine (E.g., C:\ ) then run the setup once.

You can set the default location to yourself so try to set as your wish if the "[ProgramFilesFolder][Manufacturer]\[ProductName]" gives problem.

2. My settings in the Setup application must be too broad.
you have added the below components in your setup project.

Localized resources, Content files, source files..

so only the source code and other project files are added. Try to add the Primary output alone. refer the attached image.

Hope this will clear out all your issue. Let me know the outcome...
ShowNotes-Setup-Program.png
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question