In my main .wxs file that is based on the WixUI_InstallDir dialog set,
I set WIXUI_EXITDIALOGOPTIONALTEXT so that the final dialog
after successful installation has an extra information.
This is done like this:
<Wix xmlns=....>
<Product>
     ...
<UIRef Id="WixUI_InstallDir" />
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />

<Property Id="WIXUI_EXITDIALOGOPTIONALTEXT"
      Value="Please manually copy the product license file to a proper 
location."/>

</Product>
</Wix>

This works fine. The text stored in this property is shown.

I wanted to show where exactly the user needs to copy our license file, 
and put these elements instead of the <Property/> element:

<CustomAction Id="SetExitDialogOptText"
      Property="WIXUI_EXITDIALOGOPTIONALTEXT"
      Value="Please manually copy the product license file to 
[INSTALLDIR]\licenses\."
     />
<InstallExecuteSequence>
<Custom Action="SetExitDialogOptText" After="InstallInitialize"><!-- 
"InstallFinalize" should also work? -->
         NOT Installed
</Custom>
</InstallExecuteSequence>

This didn't work.  The Exit Dialog doesn't show the text stored in this 
property.

The log file from the installer shows that the property is set properly 
in the server, [INSTALLDIR] being replaced by the actual directory.  But 
after the control is handed back to the client, this property doesn't 
exist.  I thought properties named with all uppercase letters are in 
global effect, and passed between the server and the client, back and 
forth. So I'm puzzled.  What can cause this behavior? Do I have to do 
something special to pass properties from the server to the client?

Kuro


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to