How can I get a .mltbx package to display a license dialog?
I have been trying to create a toolbox install file (.mltbx) using the "Package Toolbox" app. I would like to implement what I’ve seen some packages on File Central do: Display a license page, and wait for the user to accept it before proceeding with the install. I tried to place files with names "license.txt", "license.html", "license.xml" and "license" in the root folder to no avail. Root folder structure is like this:
root
myToolbox
file1.m
file2.m
myToolboxDocs
html
file1.html
file2.html
index.html
helptoc.xml
info.xml
license.txt
license.html
license.xml
license.
The generated .mltbx file installs fine, but does not display a license dialog. Dissecting a downloaded package that is able to display a license dialog (I have unzipped it) I can see that the "manifest" folder has a file named "license.xml" that my generated .mltbx file does not have. I must be missing something here, but I cannot figure out what. Any ideas?I have been trying to create a toolbox install file (.mltbx) using the "Package Toolbox" app. I would like to implement what I’ve seen some packages on File Central do: Display a license page, and wait for the user to accept it before proceeding with the install. I tried to place files with names "license.txt", "license.html", "license.xml" and "license" in the root folder to no avail. Root folder structure is like this:
root
myToolbox
file1.m
file2.m
myToolboxDocs
html
file1.html
file2.html
index.html
helptoc.xml
info.xml
license.txt
license.html
license.xml
license.
The generated .mltbx file installs fine, but does not display a license dialog. Dissecting a downloaded package that is able to display a license dialog (I have unzipped it) I can see that the "manifest" folder has a file named "license.xml" that my generated .mltbx file does not have. I must be missing something here, but I cannot figure out what. Any ideas? I have been trying to create a toolbox install file (.mltbx) using the "Package Toolbox" app. I would like to implement what I’ve seen some packages on File Central do: Display a license page, and wait for the user to accept it before proceeding with the install. I tried to place files with names "license.txt", "license.html", "license.xml" and "license" in the root folder to no avail. Root folder structure is like this:
root
myToolbox
file1.m
file2.m
myToolboxDocs
html
file1.html
file2.html
index.html
helptoc.xml
info.xml
license.txt
license.html
license.xml
license.
The generated .mltbx file installs fine, but does not display a license dialog. Dissecting a downloaded package that is able to display a license dialog (I have unzipped it) I can see that the "manifest" folder has a file named "license.xml" that my generated .mltbx file does not have. I must be missing something here, but I cannot figure out what. Any ideas? package toolbox, matlab MATLAB Answers — New Questions