Is there a simple way to prevent an uninstall removing INI file entries created by an install ? I use an inifile to store details which currently get deleted when a new release of the installer causes the previous version to uninstall.
Thanks
David
INI Files and uninstall
INI Files and uninstall
David Jehring
I have just solved this - drop the Edit INI command and use CallDll with a call or WritePrivateProfile String
-paste this into your project then adjust the parameters for your own use
~InstallAware Clipboard Data~
~Call DLL Function~
~{B56769E8-023A-43D4-9FC6-872E905215F1}~
~kernel32.dll,WritePrivateProfileString,void,,"pointer to string",Database,"pointer to string",dbRestruct32,"pointer to string",1,"pointer to string",$TARGETDIR$\\GPACC.INI,$~
~mIDEFunc.dll\\mEXEFunc.dll~
-paste this into your project then adjust the parameters for your own use
~InstallAware Clipboard Data~
~Call DLL Function~
~{B56769E8-023A-43D4-9FC6-872E905215F1}~
~kernel32.dll,WritePrivateProfileString,void,,"pointer to string",Database,"pointer to string",dbRestruct32,"pointer to string",1,"pointer to string",$TARGETDIR$\\GPACC.INI,$~
~mIDEFunc.dll\\mEXEFunc.dll~
Who is online
Users browsing this forum: Google [Bot] and 189 guests