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.

How to Change CommonAppData location dynamically as per User's inp

1 reply to this topic


  • Full Members
  • 34 posts

Posted 30 October 2013 - 11:41

As per my requirement , commondappdata folder needs to be changed dynamically. i am taking value from user but that value i am assigning directly to CommonAppDataFolder property then it is giving compilation error.


nresult= AskDestpath(sztitle,szMsg,SzDir,0)

CommonAppdataFolder = SzDir;


###Error- '=' : semicolon expected


Even though all syntax are correct. When i am removing "CommonAppdataFolder = SzDir;" then compilation is going fine.

Stefan Krueger

Stefan Krueger


  • Administrators
  • 13,269 posts

Posted 30 October 2013 - 17:38

The CommonAppDataFolder property is the full path to the file directory containing application data for all users. So it is set by Windows and can't be changed. You Need to use your own custom propertty instead.