Jump to content

[AddOn] Rainlendar2 Calendar


ricktendo

Recommended Posts

  • 2 weeks later...
  • 7 months later...
  • 3 months later...
  • 3 weeks later...
  • 9 months later...
  • 3 weeks later...
  • 4 weeks later...

ricktendo64, i would like some advice

so, i've been trying to create my own addon for Rainlendar v2.4 and i have run into a few snags.

1) how do you create an empty directory - from looking at your addon for v2.1, you use a runonce routine to that references the INF file again and executes a section that then executes a simple mkdir command - i get it. so why do you have to do it this way? why can't you insert the RunPostSetupCommands=Empty.Locale:1 command into the Rainlendar section and forego the need of the runonce routine. i tried it, it doesn't work but i don't know why it doesn't work

2) the settings file rainlendar2.ini are stored in %USERPROFILE%\.rainlendar2 - this is a double whammy - working with directories have names that start with a "." are an issue AND trying to get any sort of a directory into %USERPROFILE% or dirid 16424 seems to be impossible - any suggestions you might would be very helpful

Link to comment
Share on other sites

RunPostSetupCommands only works if you launch the inf section using advpack.dll

You could use registerdlls (as a bonus it will hide the cmd window also)

RegisterDLLs=MakeDir

[MakeDir]
11,,cmd.exe,,,"/c md ""%16422%\Path"""

Ricktendo64, many thanks for the information, that and your suggestion helped immensely, now i just have to figure out how to get it posted for other peope's use. again, many thx, bfrg

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...