Answering my own question again; I am having a good day!

        <CustomAction Id="install_driver.SetProperty" Return="check" 
Property="install_driver" Value="[#xusb21_inf]" />

This action should be set as:
        <InstallExecuteSequence>
            <Custom Action="install_driver.SetProperty" After="CostFinalize"/>
...

Thanks,
- Matt

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Coill
Sent: Monday, March 12, 2007 5:11 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to get a full path as a property for a deferred custom 
action?

I have a file specified this way
...
        <Directory Id="TARGETDIR" Name="SourceDir">
            <Directory Id="TempFolder" Name=".">
                <Directory Id="xusb" Name="xusb">
                    <Component  Id="xusb21_inf"
                                Guid="363597DB-7BB5-4553-9D63-00273F9E958B"
                    >
                        <File
                            Id="xusb21_inf"
                            Name="xusb21.inf"
                            DiskId="1"
                            Source="files\xusb21.inf"
                            Vital="yes"
                        />
                    </Component>
...

I would like to be able to create a property for my deferred custom action 
using this path and file:
<Property Id="inf_full_path">??</Property>

For later use by my custom action:
<CustomAction Id="install_driver.SetProperty" Return="check" 
Property="install_driver" Value="[ inf_full_path]" />

Is it possible to somehow get ?? from the xusb21_inf component or file item? If 
not how would I go about getting the full path to my deferred custom action?

Thanks,
- Matt
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to