Customize CrossRider installer

只谈情不闲聊 提交于 2019-12-25 00:24:08

问题


Let me detail what I'm trying to accomplish:

I have 1 application that (besides the specific app code) also contains a CrossRider extension. Based on the options that the user selects when installing the application, he can enable/disable various features. To do this, my application contains a flag that dictates how it will work (for example if flag = 1 then it will connect to site 1, if flag = 2 then it will connect to site 2 etc.).

I need to be able to pass this flag to my CrossRider extension, but I'm not sure how to do this. In the extension code, I would be using something like this:

if (flag == 1)
   InsertFrame(URL_FOR_SITE_1);
if (flag == 2)
   InsertFrame(URL_FOR_SITE_2);
etc.

Is there a way to pass this flag to my CrossRider extension? I am hosting the extension on the CrossRider site, but it would not be a problem to host it on a different server if needed.

Thank you, Mihnea


回答1:


Whilst it's not possible to pass information directly to the extension, we may have an alternative method of embedding data into our installer's generation mechanism. Please contact our support (support@crossrider.com) and we'd be happy to further discuss your requirements.



来源:https://stackoverflow.com/questions/15882802/customize-crossrider-installer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!