Hi.

I have two questions for netfx:NativeImage action.

1. 

I would like to set the priority of netfx:NativeImage action from outside
(as a MSI property). Is this possible in any way?

The following does not work, because it is expecting Priority attribute as
integer.

<Component Id="componentID" DiskId="1" KeyPath="yes" Guid="...">
  <File Id="fileID" Name="File.exe" Checksum="yes" Source="d:\file.exe">
    <netfx:NativeImage Id ="MyNGenImage" Priority="[NGEN]"/>
  </File>
</Component>


2.

Is it possible to disable the NativeImage action with a condition? File and
component would still be installed. I know that it is possible to disable
components and custom actions, but is there any way to disable the built-in
custom actions (e.g. NativeImage, FirewallException)


One way to solve both questions would be to change the netfx library to
allow string values as properties and recompile it by myself. Priority -1
could mean that ngen is not executed. 

I'm just wondering whether there are any alternatives or possibilities that
something like this would be included in official wix3 build.

Thanks

Matjaz

-- 
View this message in context: 
http://n2.nabble.com/netfx%3ANativeImage-action-issues-tp2340270p2340270.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to