Skip to main content
added 44 characters in body
Source Link
Murta
  • 26.4k
  • 6
  • 77
  • 168

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\[Rule]WindowFrameElements -> {}*)(*Window does't close!*)
];

SetOptions[nb,
    ,PrivateNotebookOptions -> {"PluginToolbarEnabled" -> False}
    ,Background -> GrayLevel[0.2]];2]
];

CDFDeploy[NotebookDirectory[]<>"CDFFileName.cdf",nb
 ,"Method"->"Standalone"
 ,"Target"->"PlayerPro"];>"PlayerPro"
];

NotebookClose[nb];

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

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\[Rule]{}*)(*Window does't close!*)
];

SetOptions[nb, PrivateNotebookOptions -> {"PluginToolbarEnabled" -> False},Background -> GrayLevel[0.2]];
CDFDeploy[NotebookDirectory[]<>"CDFFileName.cdf",nb,"Method"->"Standalone","Target"->"PlayerPro"];
NotebookClose[nb];

The "secret" is in "Target"->"PlayerPro" inside CDFDeploy.

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.

added 3 characters in body
Source Link
Murta
  • 26.4k
  • 6
  • 77
  • 168

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\[Rule]{}*)(*Janela*Window nãodoes't fechaclose!*)
];

SetOptions[nb, PrivateNotebookOptions -> {"PluginToolbarEnabled" -> False},Background -> GrayLevel[0.2]];
CDFDeploy[NotebookDirectory[]<>"CDFFileName.cdf",nb,"Method"->"Standalone","Target"->"PlayerPro"];
NotebookClose[nb];

The "secret" is in "Target"->"PlayerPro" inside CDFDeploy.

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\[Rule]{}*)(*Janela não fecha!*)
];

SetOptions[nb, PrivateNotebookOptions -> {"PluginToolbarEnabled" -> False},Background -> GrayLevel[0.2]];
CDFDeploy[NotebookDirectory[]<>"CDFFileName.cdf",nb,"Method"->"Standalone","Target"->"PlayerPro"];
NotebookClose[nb];

The "secret" is in "Target"->"PlayerPro" inside CDFDeploy.

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\[Rule]{}*)(*Window does't close!*)
];

SetOptions[nb, PrivateNotebookOptions -> {"PluginToolbarEnabled" -> False},Background -> GrayLevel[0.2]];
CDFDeploy[NotebookDirectory[]<>"CDFFileName.cdf",nb,"Method"->"Standalone","Target"->"PlayerPro"];
NotebookClose[nb];

The "secret" is in "Target"->"PlayerPro" inside CDFDeploy.

Source Link
Murta
  • 26.4k
  • 6
  • 77
  • 168

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\[Rule]{}*)(*Janela não fecha!*)
];

SetOptions[nb, PrivateNotebookOptions -> {"PluginToolbarEnabled" -> False},Background -> GrayLevel[0.2]];
CDFDeploy[NotebookDirectory[]<>"CDFFileName.cdf",nb,"Method"->"Standalone","Target"->"PlayerPro"];
NotebookClose[nb];

The "secret" is in "Target"->"PlayerPro" inside CDFDeploy.