HOW TO - Minor Upgrade in Standard Project

1. Change your package code. I set Product Configuration to generate a new package code every time I build a release. (this one is obvious, and is documented)

2. Increment your product version number. (this one is obvious and documented)

3. For your release, set the MSI command line params to:
REINSTALLMODE=voums REINSTALL=ALL

4. Create a custom action to set the property REINSTALL to a value of {}

5. Create a custom action to set the property REINSTALLMODE to a value of {}

6. Go to the Sequences view. Under Installation/User Interface insert both custom actions after CostInitialize. Give both of them a condition of " Not Installed"

7. Under Installation/Execute insert both custom actions after CostInitialize. Give both of them a condition of " Not Installed"

8. When a minor upgrade occurs, your script will execute the OnResumeUIBefore event, and the OnResumeUIAfter event. You can add custom script to those.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值