Creating installer, error Path to folder '.' contains invalid character

I am trying to make an installer for a project that I did not write, and I use the wizard to create the setting. The Program Files folder contains favicon.ico, a custom dll, and primary output from the project.

Whenever I create an installer and try to run it, I get "Folder Path". contains an invalid character. "and the installer is interrupted. How can I fix this? What is happening?

+3
source share
2 answers

Found a solution. At work, when we install something and ask for the company name and username, we always put ".", And Visual Studio uses the company name for installation projects as [Manufacturer]. I.E. he tried to install on C: \ Program Folder (x86). \ ProjectName. To fix this, I removed [Manufacturer] from the ApplicationFolder folder path.

+5
source

. , VS2010 (SP1) \r\n "" .vdproj. "" - \r\n. VS2010 : - (( "" { "" = "8: Microsoft Visual Studio"  ....   "" = "8:\r\nMyManufacturerName"  .....   "ARPCONTACT" = "8:\r\nMyManufacturerName"  ... } , "", . , . Microsoft ( WPF). , , , QA Microsoft.

0

Source: https://habr.com/ru/post/1702823/


All Articles