InstallShield制作安装包-获取安装路径并写入到配置文件
2010年3月15日
5 条评论
很多时候我们在做安装包的时候,会发现需要将你所设置的内容是需要写入到安装程序的配置文件里面的.
在用installshield制作安装包的时候我们发现有一个WriteProfString可以为我们所用。
The WriteProfString function writes a profile string to an .ini file. Depending on the values passed to WriteProfString, it can create a section, delete an entire section, create a unique KEY=VALUE entry, delete a KEY=VALUE entry, or update a key’s value.
我们可以使用WriteProfString函数,将值写入到配置文件某一行。
阅读全文…
最新评论