Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / July 2006

Tip: Looking for answers? Try searching our database.

Enumerate Setup Project Files

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
WALDO - 17 Jul 2006 14:28 GMT
Is there a way to enumerate the files of a Setup Project (.vdproj) ? I'm
writing a neat little add-in that will automagically zip up the contents a
project. I've got regular projects under control.

For example, I have a setup project, where I have a custom banner bitmap for
each of my dialogs. It was added by right-clicking on the project node in
the Solution Explorer, and seleccting Add-->File. I want to get a listing of
those types of files.

I'm not above parsing the actual vdproj file, but if there's an automation
model, that would hekp a lot.

Any ideas?

--
Any help is appreciated.
Thanks in advance.

WALDO
Sergey M - 17 Jul 2006 17:27 GMT
> I'm writing a neat little add-in that will automagically zip up the
> contents a project.

Something like DPack's Solution Backup feature? <vbg>

> Is there a way to enumerate the files of a Setup Project (.vdproj) ?

I personally found CM implementation of setup projects lacking. The
best I was able to do is to zip up the project file itself.
Signature

Sergey Mishkovskiy
http://www.usysware.com/dpack/ - DPack - free VS.NET add-ons
http://www.usysware.com/blog/

"Code & Seek
Bring Windows Desktop Search Into Visual Studio With Our Cool Add-In"
http://msdn.microsoft.com/msdnmag/issues/06/07/CodeAndSeek/

WALDO - 17 Jul 2006 21:09 GMT
Yes, I'm building an add-in which does a similar task.

I am packaging up the vdproj file, but I want the referenced files, too.
Maybe I will parse the vdproj file. It looks seemingly easy.

Unless anyone knows of any COM classes I could utilize, this will probably
end up being my approach.

>> I'm writing a neat little add-in that will automagically zip up the
>> contents a project.
[quoted text clipped - 5 lines]
> I personally found CM implementation of setup projects lacking. The best I
> was able to do is to zip up the project file itself.
Sergey M - 18 Jul 2006 04:23 GMT
> Yes, I'm building an add-in which does a similar task.

I've had great success with OSS .NET Zip library called #ziplib.
Thought it might come in handy for you:
www.icsharpcode.net/OpenSource/SharpZipLib/

> I am packaging up the vdproj file, but I want the referenced files,
> too.
> Maybe I will parse the vdproj file. It looks seemingly easy.
>
> Unless anyone knows of any COM classes I could utilize, this will
> probably end up being my approach.

Yeah, if I was that determined I'd start with COM and then move onto
parsing the file manually. Something tells me you'll end up with the
later approach.

Good luck.
Signature

Sergey Mishkovskiy
http://www.usysware.com/dpack/ - DPack - free VS.NET add-ons
http://www.usysware.com/blog/

"Code & Seek
Bring Windows Desktop Search Into Visual Studio With Our Cool Add-In"
http://msdn.microsoft.com/msdnmag/issues/06/07/CodeAndSeek/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.