1

I am creating an MSI package for a windows service, untill recently i have always just performed the minimum using the installer class and then manually edited the app.config file afterwards. However, i need to make it easier for the users to carry out an installation themselves and this has meant replacing manual configuration with prompts at install.

I have managed to add a custom action to display a textbox and prompt for a folder destination, as well as ammending the installer to create the folder using the filepath entered into the text box, but i would prefer it if the filepath could be selected by browsing to the folder.

Can anyone suggest a good tutorial or steps to do this, as i am struggling.

Thank you

4

1 回答 1

0

这意味着重做,但您可以使用WiX来构建您的安装程序。

它内置了对您需要的一切的支持,我认为您根本不需要任何自定义操作(除非您没有提及某些特殊的东西)。

但是,它确实有一些学习曲线。即使您这次不同意,也值得研究一个新项目。

于 2011-03-02T13:26:25.353 回答