8
$\begingroup$

How does one PROGRAMATICALLY generate enhanced CDFs under an Enterprise license? Undocumented options to CDFDeploy[] perhaps?. Wizard works fine for me, but attempts to do this programatically (from script) have defeated me - I just get standard CDFs labeled under the FreeCDF terms (this result with no code changes.) Can't find this in documentation.

$\endgroup$
2
  • 3
    $\begingroup$ See [this] (mathematica.stackexchange.com/a/20492/29) answer. The secret is the option "Target"->"PlayerPro" of CDFDeploy. $\endgroup$ Commented Aug 18, 2013 at 22:06
  • 5
    $\begingroup$ Oh, and by the way: since you have an EnterpriceMathematica license you should really ask these questions directly to Wolfram. You can also call them, I guess. $\endgroup$ Commented Aug 18, 2013 at 22:07

1 Answer 1

12
$\begingroup$

I use this sequence of commands to generate Enterprise CDF:

(*Export to CDF*) nb=CreateDocument[{myCDFGenerationFunction[]} ,WindowTitle->"My Title" ,WindowMargins->Automatic ,WindowSize->Automatic ,WindowElements->{"VerticalScrollBar","HorizontalScrollBar"} ,ShowCellBracket->False ,Deployed->True (*,WindowFrameElements -> {}*)(*Window does't close!*) ]; SetOptions[nb ,PrivateNotebookOptions -> {"PluginToolbarEnabled" -> False} ,Background -> GrayLevel[0.2] ]; CDFDeploy[NotebookDirectory[]<>"CDFFileName.cdf",nb ,"Method"->"Standalone" ,"Target"->"PlayerPro" ]; NotebookClose[nb]; 

As @RolfMertig said, the "secret" is in "Target"->"PlayerPro" inside CDFDeploy.

$\endgroup$

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.