Tag Archives: WriteProfString

7 Comments

InstallShield制作安装包-获取安装路径并写入到配置文件

很多时候我们在做安装包的时候,会发现需要将你所设置的内容是需要写入到安装程序的配置文件里面的.

在用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函数,将值写入到配置文件某一行。

注意事项:

To write an integer value to an .ini file, call WriteProfInt instead.
Continue reading

Posted in 软件测试 | Tagged , , |