Can I edit the deployment list of Publish Pane by MageUI?

I cannot find a way to add my own data files to the list shown by the "Application Files..." button on the Publish Pane. If I do all the thing in MageUI, I cannot benefit(like Prerequise..) from the UI of VS2005. Therefore, I would like to know the way to edit the deployment list of Publish Pane by MageUI. Or actually edit the manifest files generated by VS2005 in MageUI, and then reload it in VS2005.
Any suggestion is appreciated.

[447 byte] By [Kennon2005] at [2007-12-16]
# 1
In general you can add files as follows

1. Add the file to solution explorer.
2. In the properties page for the file set its build action to None. If the file is a data file set build action to content.
3. In the properties page Copy to Optput Directory - select Copy Always or newer.
4. Build the project.
5. In the Publish page, select Application files button.
6. Check Show All Files check box.
7. You file should show up in the grid.
8. Change the Publish status for the file to Include for any loose file the application carries or data if you want the file to be downloaded to the data directory.
>>Or actually edit the manifest files generated by VS2005 in MageUI, and then >>reload it in VS2005.
You can edit manifest files created by VS in MageUI too if you like.

Thanks,
Sameer

SameerMurudkar at 2007-9-9 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 2
Thanks for the reply. Actually I want to do all the thing in VS2005 UI which gives a better publishing environment. However, when I try to do so, I have the following problem:

1. How about the resources files of the referenced assemblies? Those files need to be built and have to place as \en-XXX\aaa.resources.dll. Please see my question at http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=55624

2. How to manage the location of the data files? i.e. How to set the added files in Solution Explorer so that it can be installed in \Data\MyDataFile.mdf ?

>>You can edit manifest files created by VS in MageUI too if you like.
1. Where is the manifest files created by VS2005?
2. Can I set in MageUI, the prerequisites which managed by setup.exe? If not, can I keep the setup.exe(which is created by VS2005) unchange and use new manifest files created by MageUI?

Thanks.

Kennon2005 at 2007-9-9 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 3

Sorry that I need the answer to the above question urgently in my company. Anyone has suggestion for me? Thanks.

Kennon2005 at 2007-9-9 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 4
Ensure that your referenced assemblies are in the proper structure where your project output is specified. Click on the Application Files button and select the Show All files check box. Select the dll's as include and required. That should publish it. You will see the dll's are included along with the folder name if they are not in the root output folder. If the dll's still dont get publishes, open your .exe.manifest file. Place the dll's in the folder of the virtual directory corresponding to the correct version number. Click on the populate button in the files pane and your file should come. Resign the manifest file, open the deployment file, reselect the application manifest and then resign it. Test your application and the folders will be created, this method has always worked for me Smile

The manifest files created by VS 2005 are placed in the virtual directory where u published your app. The deployment manifest will be at the root and the application manifest in the corresponding version's folder.

You cant set the prerequisites in Mage, atleast I didnt see any such option. I havent used prerequisites myself so cant comment on whether you can keep the setup.exe unchcnaged, but I strongly believe that this should be possible.

KunalYadav at 2007-9-9 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 5

The "Show All Files" check box can only let us include/exclude files in the deployment, it cannot manage the correct deployment path(especially the globalized resource .dll).
If I manage the whole things manually in MageUI, that of cause will work. But MageUI cannot manage things like Prerequisites..etc. It is actually the extension of Manifest editor of the Updater Application Block.
See? Neither VS2005 UI nor MageUI is a complete tool to manage ClickOnce deployment. I don't know why Microsoft will let ClickOnce management to be placed in the property page of the startup project. ClickOnce should be handled like a individual setup project like Installer project.

**In my previous question: 1. Where is the manifest files created by VS2005?
I actually asking the location of the manifest files created by VS2005 BEFORE publish. If I can edit that manifest file by MageUI and reload it into VS2005, then I may be able to handle all the things in VS2005 UI.

Kennon2005 at 2007-9-9 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 6
The Show all files will create a replica of your output folder. If you have your dll's in the correct hierarchy, it will reflect in your virtual directory also. I just tried it out and it worked fine. However if you have some com dll's then they wont be shown nor be published.
KunalYadav at 2007-9-9 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 7
>>Ensure that your referenced assemblies are in the proper structure where your project output is specified.
>>If you have your dll's in the correct hierarchy...
Where can I control the hierarchy of my referenced assemblies, and the globalized resource files of the referenced assemblies?

You may view my files in http://202.65.206.6/images/showall.gif
MyApp is my startUp project,
from the image you can see zh-CHS\MyApp.resources.dll and zh-CHT\resources.dll is placed correctly. But other resources files are not placed under zh-CHS and zh-CHT. Why? Note that when I build my installer project instead of ClickOnce, all the resources files are placed correctly.

Kennon2005 at 2007-9-9 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 8
Dunno why the files are not getting placed inside the culture folders, maybe its a bug, try reporting it. In the meantime I guess you will have to move them manually.
KunalYadav at 2007-9-9 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...