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

Reply via email to