Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > getting error msg "The folder path 'v4.0 (DHR 10/14/04)' contains an invalid character"
 

getting error msg "The folder path 'v4.0 (DHR 10/14/04)' contains an invalid character"

First time building a setup project so bear with me. Not doing anything fancy here just a basic setup project for a console application though not a windows app. When I run the msi I get the error ""The folder path 'v4.0 (DHR 10/14/04)' contains an invalid character". If I just hi light the msi file in an explorer window and look at the file properties I see the same 'v4.0 (DHR 10/14/04)' value is being used in the Author field for the MSI.

So I assume the setup project is pulling this value from the Author field. However, I didn't set that Author field value and have no idea on why it is trying to use that value as an install path. I would just erase the values out of the author field but I have no idea on where to go to do that. Any ideas?
Bo416  Tuesday, August 22, 2006 7:44 PM
Many thanks go out to Mario Cossi who answered this question for another user in a different forum. His answer is below:

In Solution Explorer, select the setup project. In the property window that appears below (just make sure it is visible...) you get a way to change the Manufacturer, which by default is used in the default path of your application.

As an alternative, you may just open the setup project: the File System window appears. Get the properties of "Application Folder" and change "Default Location" so that it becomes "[ProgramFilesFolder][ProductName]"

This will make sure that Manufacturer is no longer part of the path.


Bo416  Tuesday, August 22, 2006 10:00 PM
Many thanks go out to Mario Cossi who answered this question for another user in a different forum. His answer is below:

In Solution Explorer, select the setup project. In the property window that appears below (just make sure it is visible...) you get a way to change the Manufacturer, which by default is used in the default path of your application.

As an alternative, you may just open the setup project: the File System window appears. Get the properties of "Application Folder" and change "Default Location" so that it becomes "[ProgramFilesFolder][ProductName]"

This will make sure that Manufacturer is no longer part of the path.


Bo416  Tuesday, August 22, 2006 10:00 PM

You can use google to search for other answers

Custom Search

More Threads

• Application Updater Component / Apache
• Cannot add a file to a Visual Studio setup project
• How can I simulate a clickonce installation using MSI installer and Clickonce APIs ?
• Advertising a COM Add-In
• Program uninstaller
• Error Loading schema assembly.adaptive.xsd
• ClickOnce security warning.
• Detect .NET Framework 3.0 onwards in Visual Studio Setup project
• custom actions in clickonce
• Web Deployment questions