开发者

How do I change the value of a persisted property in an MSI during a Modify operation?

开发者 https://www.devze.com 2022-12-08 09:36 出处:网络
I have an MSI that I\'ve created.In that MSI, I have a persisted property that the user has filled in during the initial installation of the application, using a custom dialog box.When the install is

I have an MSI that I've created. In that MSI, I have a persisted property that the user has filled in during the initial installation of the application, using a custom dialog box. When the install is run again, and the user selects to Modify the installation, the values initially entered appear as they should.

However, if the user changes the value, those values are not being persisted so that the 2nd time the user elects开发者_如何学Python to modify the application, the 2nd set of values are not being shown, but the first set of values are.

Is it possible to change a persisted property, or is that always going to be the data entered during the install?


It depends on how you are persisting your Properties. If you are using a Registry key then you need to make the Component state to be Install again.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号