How can I set application settings at install time (via installer class)

后端 未结 4 1357
终归单人心
终归单人心 2020-12-16 05:34

I have a Visual Studio setup project that has an Installer class. In the installer class I set a setting as follows:

MessageBox.Show(Properties.Settings.Defa         


        
4条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-16 05:58

    I honestly don't know if this is supported during an installer - but if it is, make sure you're calling Save() on Settings.Default.

提交回复
热议问题