You probably can't use the standard WiX elements because those will cause your
Component to take ownership of the .sln extension (as you note, not something
you want to do). Instead, you'll probably have to write a number of targeted
registry keys.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simon Dahlbacka
Sent: Monday, February 12, 2007 2:47 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] adding non-default extension
I'm trying to add an <Extension> to an existing file type (.sln if that matters)
I've tried with the following snippet...
<Component Id="FooComponent" Guid="PUT-GUID-HERE">
<File Name="Foo.exe" Id="FooExe"
Source="!(wix.SourceDir)Foo.exe"/>
<Extension ContentType="text\plain" Id="sln">
<Verb Id="Foo" Command="Do foo"
TargetFile="FooExe"
Argument='"%1"'/>
</Extension>
</Component>
The problem with this is that this becomes the *default* action, which
obviously is not what I want for the .sln type, how do I do so that it does
*not* become the default action?
regards,
Simon
ps. ALLUSERS=1 or not does not seem to have any effect on this behavior..
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users