I am trying to make an installer for a project I did not write, and I use the wizard to create the setup. Program Files Folder contains a favicon.ico, a custom dll, and Primary output from the project.
Whenever I build the installer and try to run it I get a, ‘The folder path ‘.’ contains an invalid character.’ and the installer aborts. How can I fix this? What is going on?
Found the solution. At work when we install something and it asks for company name and user name we always put ‘.’, well Visual Studio uses the company name for the setup projects as [Manufacturer]. I.E. it was trying to install to C:\Program Folder(x86).\ProjectName. To fix it I removed the [Manufacturer] from the folder path of ApplicationFolder.