Jump to content


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.
Photo

How to export a string used for later uninstall???


2 replies to this topic

nnjcsc

nnjcsc
  • Full Members
  • 13 posts

Posted 17 March 2008 - 21:32

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.


nnjcsc

nnjcsc
  • Full Members
  • 13 posts

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.

nnjcsc

nnjcsc
  • Full Members
  • 13 posts

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.