That's a syntax I've not seen before: using the Property and VBScriptCall
attributes to trigger an embedded VBScript custom action. Try taking that
out and putting your script inside the CustomAction element.

<CustomAction Id="A.ContentName" Script="vbscript" Execute="immediate">
  &lt;![CDATA[
            orgname = Session.Property("P.ORGNAME") 
            orgArray = Split(orgname, " ", -1, 1) 
            orgNamePascal = "" 
            For Each word in orgArray 
                word = Ucase(left(word, 1)) + right(word, len(word)-1) 
                orgNamePascal = orgNamePascal + word 
            Next 
            Session.Property("P.CONTENT") = orgNamePascal 
        ]]&gt;
</CustomAction>



The VBScript below takes the Property 'P.ORGNAME' as an input, which is
entered on the UI where I am trying to tie this action to the 'Next' button
of. 

/     
    <Property Id="P.PascalCase"> 
        < ! [CDATA [Function PascalCase() 
            orgname = Session.Property("P.ORGNAME") 
            orgArray = Split(orgname, " ", -1, 1) 
            orgNamePascal = "" 
            For Each word in orgArray 
                word = Ucase(left(word, 1)) + right(word, len(word)-1) 
                orgNamePascal = orgNamePascal + word 
            Next 
            Session.Property("P.CONTENT") = orgNamePascal 
        End Function]]></Property> 

    <CustomAction Id="A.ContentName" VBScriptCall="PascalCase"
Property="P.PascalCase" Execute="immediate" /> /



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-3-6-Custom-actions-not-executing-in-InstallUISequence-when-called-from-PushButton-control-tp7582534p7582548.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to