Uninstalling ReplaceProfString’s Initialization (.ini) File Entries

InstallShield 2026

The uninstallation removes the keyname and value pair completely if the following conditions are true:

The key was successfully created by ReplaceProfString.
The key did not previously exist.
The keyname and 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:

[386Enh]

device=votc.386

device=*vmpcd

and after your call to ReplaceProfString, it read:

[386Enh]

device=*vmp32

device=votc.386

device=*vmpcd

the uninstallation would remove device=*vmp32.

See Also