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

Save TextSubs durring Maintenance


2 replies to this topic

danielh1989

danielh1989
  • Full Members
  • 2 posts

Posted 30 July 2018 - 12:38

Hi,

 

I have multiple TextSubs which are filed durring the initial setupprocess:

TextSubSetValue(API_KEY, szApiKey, FALSE);

When I run the installer again in maintenance mode, the user can change the setting and in InstallScript, I also call the function above to save the input from the User.

I do NOT run MoveData() action in this case. If the user starts the maintenance setup again, the initial value is used when I use TextSubGetValue() and not the one which was typed in in the first maintenace run.

 

What function/method do i have to call to update the TextSub-Values?

 

 



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 30 July 2018 - 14:33

I have to admit that I'm not quite familar with TextSubSetValue but if you want something to be remembered for the next maintenance run, you probably need to Enable(LOGGING); before.



danielh1989

danielh1989
  • Full Members
  • 2 posts

Posted 01 August 2018 - 13:06

Found the solution by myself: Need a call of

FeatureSaveTarget("");