The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Email Subscription

    Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 717 other subscribers

Archive for November 8th, 2017

InnoSetup where the *AppData constants point to

Posted by jpluimers on 2017/11/08

The paths are on a standard Windows 7 x64 machine installed on the C: drive. More recent versions of Windows should use the same place.

I’ve not been able to verify this in a domain situation with roaming profiles and redirected folder paths. If anyone has info on that, please let me know.

Anyway, I’ve made some the constants into a table:

Inno Setup constant
[WayBack]
Windows 7 directory KNOWNFOLDERID
[Archive.is]
CSIDL (<= Vista)
[WayBack] ([WayBack])
Environment variable
[WayBack]
System.Environment.SpecialFolder
[WayBack]
commonappdata C:\ProgramData FOLDERID_ProgramData CSIDL_COMMON_APPDATA ALLUSERSPROFILE System.Environment.SpecialFolder.CommonApplicationData
localappdata C:\Users\<UserName>\AppData\Local FOLDERID_LocalAppData CSIDL_LOCAL_APPDATA LOCALAPPDATA System.Environment.SpecialFolder.LocalApplicationData
userappdata C:\Users\<UserName>\AppData\Roaming FOLDERID_RoamingAppData CSIDL_APPDATA APPDATA System.Environment.SpecialFolder.ApplicationData

One day I might find time to make this table more complete.

Until then, the code is somewhere around theses pieces of code:

Read the rest of this entry »

Posted in Development, Inno Setup ISS, Installer-Development, Software Development | Leave a Comment »

Issues are disabled at tohosokawa/rst-preview-pandoc: reStructuredText preview in Atom using Pandoc

Posted by jpluimers on 2017/11/08

No more issue reporting: tohosokawa/rst-preview-pandoc: reStructuredText preview in Atom using Pandoc

This is a very useful Atom.io package, but it has one big issue: when you close a preview window then re-opening it, the settings are restored to the default -frst -thtml --webtex ones.

As I’m an Atom.io n00b, I need to dig into this another time.

Notes:

I want the defaults to include --standalone --toc --toc-depth=5 or at least --standalone --toc.

For now I’ve hardcoded them.

–jeroen

Posted in atom editor, CoffeeScript, Development, JavaScript/ECMAScript, Power User, Scripting, Software Development, Text Editors | Leave a Comment »