首页
\
问答
\
如何使用msi安装程序安装同一应用程序的多个实例(how to install multiple instances of the same application using msi Installer)
如何使用msi安装程序安装同一应用程序的多个实例(how to install multiple instances of the same application using msi Installer)
我正在使用Visual Studio设置项目来创建我的msi安装程序。我的要求是使用此相同的安装程序创建应用程序的多个实例,而不更改版本号/产品代码。
有没有什么办法可以不使用Wix / Installshield。
I am using visual studio set up project to create my msi Installer.My requirement is to create multiple instances of the application using this same installer without changing version number/product code.
Is there is any way to do it without using Wix/Installshield.
原文:https://stackoverflow.com/questions/7578024
更新时间:2021-10-20 22:10
最满意答案
您需要的组件是CGridView。 看看这个网站。 Yii游乐场
The component you need is CGridView. Take a look to this website. Yii Playground
相关问答
更多-
最后我找到了解决办法。 它取决于Yii2扩展和AssetBundles 。 这个故事很简单,只需将一个文件夹中的所有文件放置在默认的Yii2文件夹中,例如:common,vendor.- 顺便提一下,供应商可以在基本和高级yii2应用程序的模板中找到 - 。 除了所有的文件,即我的情况下 ,小部件类php文件和JavaScript文件,你必须创建YourWidgetNameAsset php类文件。 事实上,解决方案的主要关键在于该类。 我的情况 我有一个名为JuiThemeSelectWidget的小部件 ...
-
这里有一个我为你写的快速代码,它将帮助你理解它的工作原理。labelEx($model,'staff_id'); ?> 'Faraz Khan', '102' => 'Depesh Saini', '103' => 'Nalin Gehlot', '104' => 'Hari Maliya'); $selected = array( ' ...您应首先在Menu模型(Menu.php)中正确设置关系。 public function relations() { return array( 'parent' => array(self::BELONGS_TO, 'Menu', 'parent_id'), 'children' => array(self::HAS_MANY, 'Menu', 'parent_id'), ); } 然后修改代码: // ...如果您不需要消息作为闪存,那么您可以在出错时设置自己的消息 [['approved_groups', 'visits_per_day', 'group_id'], 'required', 'message' => 'Please enter a value for {attribute}.'], If you dont need message as flash, then you can set your own message on error [['approved_groups', 'visits ...
在Yii2中的可见性(Visibility in Yii2)[2023-04-07]
可见选项是布尔值。 默认为true。 显示此菜单小部件 还显示getIdentity() 尝试以下代码 echo Menu::widget([ 'items' => [ ['label' => 'Acties', 'visible' => Yii::$app->user->getIdentity('user') ? true : false], ['label' => 'Maak afbeeldingen aan', 'url' => ['create'], 'icon' = ...items数组中的每个项都有visible属性。 传递表达式返回布尔值。 'items' => [ // Show users section for administrators only [ 'label' => 'Users', 'url' => ['/users/index'], 'visible' => !Yii::$app->user->isGuest && Yii::$app->user->identity->user_type ...Yii - 创建项目列表(Yii - Create items list)[2023-09-05]
您需要的组件是CGridView。 看看这个网站。 Yii游乐场 The component you need is CGridView. Take a look to this website. Yii Playground您的表单应如下所示: beginWidget('CActiveForm', array( 'id'=>'your-form', 'enableAjaxValidation'=>false, )); ?> findAll(array('order' => 'cate_name')), 'id', 'cate_name'); echo ...它应该是 public function getSessionsDistinctCount(){ // Create DBCriteria $criteria = new CDbCriteria(); $criteria->select = 'event_id'; $criteria->group = 'event_id'; // Count events that appear at least twice $criteria->having = 'COU ...当然有可能。 您可以创建以下范围: public function scopes() { return array( 'enabled' => array( 'condition' => 'status=0', ), 'banned' => array( 'condition' => 'status=1', ), ); } 然后在你的查询中你会有类似的东西: $activeUsers = User: ...相关文章
更多- Install Storm on CentOS
- HTML5应用缓存(application cache)【HTML5教程 - 第十二篇】
- install cluster Hadoop 安装集群版Hadoop
- 《DotNetNuke 4 高级编程》(Professional DotNetNuke 4: Open Source Web Application Framework for ASP.NET 2.0)扫描版[PDF]
- Chapter 9 - Securing Your Application -- Professional ASP.NET MVC 1.0
- Quitting an application - is that frowned upon?
- 《安卓开发(尚观科技)》(Android Application Professional Development )更新至第27集[MP4]
- Professional Android 4 Application Development
- 安卓应用程序插件化开发框架 -AAP Framework
- 安卓应用程序插件化开发框架 -AAP Framework
最新问答
更多- 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
- 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
- OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
- 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
- codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
- 在计算机拍照在哪里进入
- 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
- No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
- 单页应用程序:页面重新加载(Single Page Application: page reload)
- 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
- System.StackOverflow错误(System.StackOverflow error)
- KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
- 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
- android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
- TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
- 企业安全培训的各项内容
- 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
- C#类名中允许哪些字符?(What characters are allowed in C# class name?)
- NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
- 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
- 将多个行和可变行移动到列(moving multiple and variable rows to columns)
- 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
- 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
- Angular $资源不会改变方法(Angular $resource doesn't change method)
- 在Angular 5中不是一个函数(is not a function in Angular 5)
- 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
- 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
- 常见的python rpc和cli接口(Common python rpc and cli interface)
- Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
- 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)