I need help creating a file association though a wix installer, where
heat generates the file list wxs (so ID's are dynamic), and I don't want
to rely on transforming that file.
I understand I am effectively adding a <ProgId> area to the component
area for my exe in the heat generated wxs.
I haven't found a concise complete example on the Internet, mailing
list, stackoverlow, or the book: "Wix 3.6 A developer's guide to windows
Installer XML", but this is a popular issue.
Many would benefit form a real world complete automated example.
In my heat generated wxs file I see:
<ComponentGroup Id="group_ProductFiles">
<Component
Id="cmpAE06573553A70385366B99F6F873F4C4"
Directory="INSTALLDIR"
Guid="13818C96-3EA2-4264-93C7-07C265B04ED6"
>
<File
Id="fil295766B9BCB62F1C1108682A4BF39B04"
KeyPath="yes"
Source="$(var.dist)\Foo.exe"
/>
</Component>
</ComponentGroup>
How do I go from that to a valid <ProgId></ProgId> file association?
I have tried so many things incorrectly, I'm shoud just ask for the
right solution, rather than post the wrong thing.
I tried to set a property
<Property
Id='FileAssociationProperty'
Value="[group_ProductFiles:foo.exe]"
/>
Then use the property to update the exe component, but I must be missing
some context, due to a lack of complete examples on line:
<ProgId
Id="FooProject"
Description="Foo Project"
>
<Extension Id="fooProject" >
<Verb
Command="Open"
Id="open"
TargetProperty="FileAssociationProperty"
Argument="%1"
/>
</Extension>
</ProgId>
Things seem to bulid, but the registry doesn't look right
and .fooProject files don't open.
NOTICE: This email may contain confidential information. Please see
http://www.meyersound.com/confidential/ for our complete policy.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users