Quote Originally Posted by Stephen W. Meeley View Post
Joseph,

If you don't see the help system recreate the .chw file automatically in the same folder as the help, it's likely because UAC is getting in the way (you probably installed under program files). Here is one way to try to fix it...


  • Search for dataflex.chw and delete any copies that are not in the same folders at the rest of the help (those will be virtualized copies)
  • Run the Studio as Administrator and launch the help from the Studio
  • See if the .chw is created in the help folder (note that you have to hit the index tab before it will create the .chw file)


The reason this may work is that when the help system tries to create the .chw file without administrator rights it gets virtualized. Since there is no way to run the help itself "as admin", you can take advantage of the standard windows behavior that any program launched from an elevated process is automatically elevated as well (this is why cut and paste never works right when you run the studio as admin).
So this post made me attempt once more to finally fix this annoyance.
So found and deleted C:\Users\marco\AppData\Roaming\Microsoft\HTML Help\DataFlex.chw
Left all the DataFlex.chw in the .\help directories of the DataFlex programs folders

Attempt 1
  1. Started 20.0 as admin and went to help / index, seems to not reindex anything
  2. Started 19.1 as admin and went to help / index, seems to not reindex anything
  3. Closed 20.0 and 19.1
  4. Started 19.1 as normal user; Dataflex.chw is re-created in the 'virtualised' location...


Attempt 2
  1. Deleted C:\Users\marco\AppData\Roaming\Microsoft\HTML Help\DataFlex.chw
  2. Added everyone full control to C:\Program Files (x86)\DataFlex 19.1\Help\DataFlex.chw
  3. Added everyone full control to C:\Program Files\DataFlex 20.0\Help\DataFlex.chw
  4. Started 19.1 as normal user -> Dataflex.chw is re-created in the 'virtualised' location...


Attempt 3

  1. Deleted C:\Users\marco\AppData\Roaming\Microsoft\HTML Help\DataFlex.chw
  2. Deleted C:\Program Files (x86)\DataFlex 19.1\Help\DataFlex.chw
  3. Deleted C:\Program Files\DataFlex 20.0\Help\DataFlex.chw
  4. Started 19.1 as admin and went to help / index; created in 19.1\Help\DataFlex.chw
  5. Closed 19.1 as admin
  6. Started 20.0 as admin and went to help / index; created in 20.0\Help\DataFlex.chw
  7. Closed 20.0 as admin
  8. Started 19.1 as marco and went to help / index; created in Roaming (virtualised)
  9. Started 20.0 as marco and went to help / index; no index


So basically the suggested steps do not work.
Also some other attempts do not work.

Looking forward to an actual working solution, so the help works on two concurrent studio version while logged in as normal user.

Should the help perhaps by the installer not be installed in Program files? But some shared user directory instead?