We have a setup project that currently adds Project Output's from different visual studio projects. We want to change the packaging system and use a folder with a bunch of deploy files that are prepared for deployment in the setup.
But this means that we need to add the files one by one, and keep adding them on each version when there are new files.
I saw in this question that we can't add files with rules like *.aspx.
So I'm considering creating a small tool that will change the vdproj file based on the files available. Can you help me with the format of this file? It seems there are some GUIDs associated with each file included.
Does anyone have a better solution on how to do this?
We're not thinking about using a different setup tool right just yet, we just look for a simple solution for the file packaging.
views:
1090answers:
2
+1
A:
Could you just add all the files from the folder with a macro??
Also maybe you can just clear the files on the setup project (with a macro or add-in) and add the files in the folder with the same method..
gbianchi
2009-04-14 17:40:33
It can be a solution. I don't know much about macros on VStudio, so 2 questions:-How easy is to change the macro to browse the file system?-Can I run the macro from command line, so I can run it in an automatic way?
Paulo Manuel Santos
2009-04-15 15:39:23
The macro is just a function like any other, that do things on the IDE. so yes, you can add browse functionality.About the command line, I don't know, and I don't think so, because it lives inside the IDE.
gbianchi
2009-04-15 16:43:34
+1
A:
It seems there was no easy solution for this question. We ended up changing the setup tool and using Advanced Installer to create the setup, it has a nice feature that synchronizes files inside a folder for the deployment.
Paulo Manuel Santos
2009-08-19 18:14:01