views:

68

answers:

3

How rename setup file in clickonce? from setup.exe to myapp.exe ?

A: 

Right click on your project in the solution explorer, and select properties. It should be on the first screen that pops up the "Application" tab.

Then choose you name in the "Assembly Name" field - then rebuild

cinqoTimo
Assembly Name - is "myapp" but for clickonce "setup.exe"
simply denis
A: 

Can you rename the file after it's created?

RobinDotNet
that the user had not downloaded the setup.exe but my name myapp.exe
simply denis
I'm not sure I understand what you're saying. If you deploy a clickonce application to a webserver, you can change setup.exe to myapp.exe and it will still work. The setup.exe (or whatever you call it) contains a link to the deployment manifest (.application file). AFAIK, nothing contains a link to the setup.exe. Of course if you are using Visual Studio's generated publish.htm, you will need to edit it and change 'setup.exe' to 'myapp.exe' so it calls the right one.
RobinDotNet
A: 

I think you cannot modify the setup.exe file name from setup.

If you have to distribute your installation file around manually, and setup.exe is too confusing, you could just create a Setup Project, rename the name of the .msi output file and then distribute it around.

il_guru