Uninstalling AddProfString’s Initialization (.ini) File Entries
InstallShield 2024
The uninstallation removes the keyname and value pair completely if the following conditions are true:
• | The key was successfully created by AddProfString. |
• | The keyname and the value pair that exist when the uninstallation is run exactly match the installed keyname and value pair. If another installation or program modifies the installed key between the installation and uninstallation, the keyname and value pair will not be removed completely. Only the value that was created by the original installation will be removed; the key itself and any additional values will not be removed by the uninstaller. |
For example, if the System.ini file originally read as follows:
[386Enh]
device=votc.386
device=*vmpcd
and after your call to AddProfString, it read as follows:
[386Enh]
device=*vmp32
device=votc.386
device=*vmpcd
the uninstallation would remove device=*vmp32.
If another installation had added a value to the existing line, only the value from the installation that is being uninstalled will be removed. The original keyname and the new value will be left in the file. For example, if you had added the line Test Values=votc.386 in Test.ini under the [Test] section:
[Test]
Test Values=votc.386
Continuous Test=No
and another installation had added a new value to Test Values after your installation had run:
[Test]
Test Values=votc.386,pctcp.386
Continuous Test=No
when your application is uninstalled, votc.386 will be removed and TestValues=pctcp.386 will be left in the file:
[Test]
Test Values=pctcp.386
Continuous Test=No
See Also
General Limitations of Uninstalling Initialization (.ini) File Entries