|
|
|
date: Tue, 27 May 2008 12:17:04 -0700,
group: microsoft.public.vstudio.extensibility
back
Re: object model for deployment projects
So you what you're saying is, "Run for the hills!" Well, that wasn't the
answer I was hoping for, but it's not unexpected either.
Actually if I decide to stay with the VS tool, I think I can do it by
writing a quick script to duplicate the XML for the existing
one or two shortcuts I created manually, and paste the results into the
.vdproj file. This is a one-off thing, I just don't want to
have to manually create 40 or 50 shortcuts when I already have file and
shortcut name data in a text file.
But in the longer term, I should be looking at WiX and Votive. I already
ran into one irritating issue with the VS deployment tool: the installer it
produces can't be configured to permit overwriting an existing installation.
In this particular installation, overwriting an existing install is
appropriate. Presumably WiX will let me set a property to permit this.
Thanks for your input, I appreciate it.
Brian
date: Tue, 27 May 2008 14:30:41 -0700
author: Brian Knittel
Re: object model for deployment projects
[Please do not mail me a copy of your followup]
"Brian Knittel" spake the secret code
<483c7d83$0$34526$742ec2ed@news.sonic.net> thusly:
>Actually if I decide to stay with the VS tool, I think I can do it by
>writing a quick script to duplicate the XML for the existing
>one or two shortcuts I created manually, and paste the results into the
>.vdproj file. This is a one-off thing, I just don't want to
>have to manually create 40 or 50 shortcuts when I already have file and
>shortcut name data in a text file.
Well, there are a couple dangers with this. First, IIRC, the .vdproj
file isn't *quite* XML. Second, the .vdproj file format is
undocumented and while it may look simple enough to insert some text
into it, when I've tried that, it blew up in my face with all sorts of
problems. IIRC, there is an object model for the project type, but
that also is undocumented so there isn't a way to reliably add stuff
to it with the automation model either.
I wish that I *could* recommend deployment projects to people because
they're already out there in existing versions of VS.NET. But they
are so problematic that I can't recommend them in good faith to anyone
for any purpose other than one-time throwaway installers.
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://www.xmission.com/~legalize/book/download/index.html>
Legalize Adulthood! <http://blogs.xmission.com/legalize/>
date: Tue, 27 May 2008 14:40:22 -0700
author: legalize+ (Richard)
|
|