Say I have a file defined as:

<DirectoryRef Id="ScriptsLocation">
        <Component Id="RegisterHttpModulePS1" 
Guid="601270C9-29CB-4E64-B789-3BAF118F6001">
                <File Id="register_httpmodule.ps1"
                          Name="register-httpmodule.ps1"
                          Source="CustomActions\register-httpmodule.ps1"
                          KeyPath="yes"
                          Assembly="no"/>
        </Component>
</DirectoryRef>

And a custom action defined as:

<CustomAction Id="SetRegisterHttpModuleProperties"
                  Property="RegisterHttpModuleCA"
                  
Value="[PowerShell];[WEBSITE];[Module];[Assembly];[AssemblyType]"
                  Return="check"
                  Execute="immediate"/>

How can I reference the full path of the installed file (e.g. C:\Program 
Files\My App\register-httpmodule.ps1) such that I could include it as a 
variable in CustomAction/@Value as I have with the other properties?

Ryan Taylor
Office (207)-504-5294
rtay...@penbaysolutions.com
www.penbaysolutions.com



CONFIDENTIALITY NOTICE:
This e-mail message, including any attachments, is for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
Any unauthorized review, use, disclosure or distribution is prohibited. If you 
are not the intended recipient, please do not read, disclose, reproduce, 
distribute, disseminate or otherwise use this transmission, but contact the 
sender by reply e-mail and destroy all copies of the message and its 
attachments.

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to