question

NBSFTDEV-8709 avatar image
NBSFTDEV-8709 asked ·

Optional package with executable code

Hi,
Too much time searching and more confused. Difference between optional packages with executable code and add ons? I want to monetize an UWP app by adding new features, using optional package (which was what I thought they were used for). So i dev that optional packages and test them from my main app, everything ok. Now, time to publish it. Go to partner center, create an addon, configure it and...ups!, where is the package send section? There is only a send addon button to pass the certification. I click it and after 15 min, voilá, my "non-submitted-optional-package" has passed the certification check. Ok, reread microsoft docs...mmmm, seems that
there are some points about optional packages:

https://docs.microsoft.com/en-us/windows/msix/package/optional-packages
To submit an app that uses optional packages and/or related sets to the Microsoft Store, you will need permission. Optional packages and related sets can be used for Line of Business (LOB) or enterprise apps without Partner Center permission if they are not submitted to the Store. See Windows developer support to get permission to submit an app that uses optional packages and related sets.

And at the end of https://techcommunity.microsoft.com/t5/windows-dev-appconsult/supporting-a-modular-windows-application-with-msix-and-optional/ba-p/1124865#

Before closing the post, there's an important caveat to keep in mind. You can't publish a modification package or an optional package on the Microsoft Store. As such, everything we have seen in this post applies only for enterprise distribution or sideloading.

Ok, no time to try to find the correct way to submit a simple free ticket to get that permission. If I get it, will i be able to use optional packages to monetize my app? Will be there another section in the partner center to submit optional packages?

But wait, then, what is an addon? Do i have to code all features on main app and block them until user buys the addon? As I said I have submitted the addon, but not the updated main app (that for now uses optional package and not that supposed "addon process", although it has all the code for retrieving info and purchasing addons from the store).

Thanks

windows-uwp
1 comment
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

install windpws 10 app & microsoft store

0 Votes 0 · ·

1 Answer

FayWang-MSFT avatar image
FayWang-MSFT answered ·

Hello,

Welcome to Microsoft Q&A!

If I get it, will I be able to use optional packages to monetize my app?

No, you can't use optional packages to monetize my app, since there is no Monetization option for optional packages in dev center.

What is an addon?

Add-ons are different from optional packages. They are supplementary items for your app that can be purchased by customers. For example, currency to be used in an app or game, new maps or weapons for a game, etc. To offer an add-on to customers in your app, you must define the add-on for your app in Partner Center so the Store knows about it. Currently, it is recommended you can use add-ons to monetize. In that case, you can code all features in your app and create add-ons in dev center for these features. Before using some features in your app, you can check if the users have bought the add-on first. If the users have bought the add-on, they will be allowed to use these features. For more information about add-ons, you can refer to this document.


1 comment Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks, I was trying to code something like MEF in Windows Forms and optional packages seemed to be the answer. Optional packages, extensions, addons...:)


Thank a lot!


0 Votes 0 · ·