I have a user entry that I want to use later in an uninstallation. The user entry is stored in a global string declaration and used throughout my installation. My uninstallation does not remember that string but I need the string for my uninstallation. How?
I'm using InstallScript.
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
How to export a string used for later uninstall???
Started by
nnjcsc
, Mar 17 2008 21:32
2 replies to this topic
Posted 17 March 2008 - 22:50
Thanks. I solved my problem. The string I needed to export was the name of an instance of a multi instance installation. I assigned that name to IFX_MULTI_INSTANCE_SUFFIX. InstallShield remembers what is in IFX_MULTI_INSTANCE_SUFFIX during the uninstallation. So all I had to do was use that variable in the uninstall part and it worked. Hope this info helps someone else someday.
Posted 18 March 2008 - 18:36
Now I found the real answer to my question. I added LogWriteCustomString() to the end of my OnFirstUIBefore, then called LogReadCustomString() in my uninstall function.