That worked. Any recommendations on a KeyPath for this component though? I 
would expect to be able to set the ProgId or something in there to the KeyPath, 
but that isn't valid. I'm planning on adding a dummy registry key if nothing 
else works.

JD

-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Sunday, May 02, 2010 7:39 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Createing a ProgId that references VS2010

Yes, sorry, should have mentioned that in the beginning. You want 
Verb/@TargetProperty (and then you don't need the square brackets yourself).

On Sun, May 2, 2010 at 5:07 PM, Jim Deville <jdevi...@microsoft.com> wrote:

> So is there any way to do this outside of writing the reg key myself?
>
> Sent from my HTC
>
> -----Original Message-----
> From: Rob Mensching <r...@robmensching.com>
> Sent: Sunday, May 02, 2010 2:25 PM
> To: General discussion for Windows Installer XML toolset. < 
> wix-users@lists.sourceforge.net>
> Subject: Re: [WiX-users] Createing a ProgId that references VS2010
>
>
> Verb/@TargetFile must reference a File/@Id in one of your .wxs files 
> somewhere.
>
> On Sun, May 2, 2010 at 1:59 PM, Jim Deville <jdevi...@microsoft.com>
> wrote:
>
> > I'm making a installer for a VS 2010 addin, and I'd like to have it 
> > register files with the OS to open with Visual Studio. Is there a 
> > way to
> do
> > this with ProgID? Currently I have the following:
> >
> > <Component Id="C.ProjFile"
> >                   Guid="F269E7D4-9149-4157-98B8-6011FDBB6A9B">
> >          <ProgId Id="VisualStudio.$(var.ProjFiles).10.0"
> >                  Description="$(var.ProjFileDescription)">
> >            <Extension Id="$(var.ProjFiles)"
> >                       ContentType="text/plain">
> >              <Verb Id="open"
> >                    Command="Open"
> >                    TargetFile="[VS2010DEVENV]"
> >                    Argument="&quot;%1&quot;" />
> >            </Extension>
> >          </ProgId>
> >        </Component>
> >
> > But I get an error in Light: error LGHT0094: Unresolved reference to
> symbol
> > 'File:[VS2010DEVENV]' in section
> > 'Product:{ED3D4FF1-50EE-469A-90AC-0C7B00CB48AF}'
> >
> > I have the PropertyRef for VS2010DEVENV earlier in the file, but
> apparently
> > I'm missing something important.
> >
> > Jim Deville
> > http://ironruby.net
> > IronRuby SDET
> >
> >
> >
> ----------------------------------------------------------------------
> --------
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
>
>
> --
> virtually, Rob Mensching - http://RobMensching.com LLC
>
> ----------------------------------------------------------------------
> -------- _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ----------------------------------------------------------------------
> -------- _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


--
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to