[英]How can the app tell which folder the user selected in the Database Folder dialog?
使用Installshield 2012 Spring为C#.Net Windows应用程序生成setup.exe,该应用程序如何判断用户在“数据库文件夹”对话框中选择的文件夹?
Set InstallShield to have MSI write a log. 将InstallShield设置为让MSI写入日志。 Have the app look for a line like the following in the log
让应用在日志中查找类似于以下内容的行
PROPERTY CHANGE: Modifying DATABASEDIR property. 属性更改:修改DATABASEDIR属性。 Its current value is 'C:\\Database\\'.
当前值为“ C:\\ Database \\”。 Its new value: 'C:\\'.
其新值:“ C:\\”。
Details: InstallShield/Installation Designer/General/Create MSI Logs/Yes. 详细信息:InstallShield /安装设计器/常规/创建MSI日志/是。 To find the log file Use Run/%temp% Write code in the app to read this log file, search for the key lines and thus get the answer.
查找日志文件使用Run /%temp%在应用程序中编写代码以读取此日志文件,搜索关键行并获得答案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.