views:

1539

answers:

4

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?

+2  A: 

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.

Malfist
A: 

Answer 2 is great. I really appreciate that.

Use only this, Go to, Application folder->Properties->DefaultLocation [ProgramFilesFolder][ProductName]

Thanks. I was searcing online, however found only this answer helpful.

Again a big thank you :)

Pintu
A: 

Thank you! You saved my time!

Nick
A: 

Thanks.I have been stuck with this problem for 4 hours ,one shot this solved my problem

A2H