Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Take Ownership procedure
#5
Thanks Ron,

The InstallForge part is not a problem for me besides I can always create a second executable, or batch file like you said, that users can run after the installation.
But for some reason this script doesn't work, although it seems to find the App2 program folder all right. 
I think it is the last line of the script:

Macro Ownership
Code:
Copy      Help
run "takeown" F"/f ''{folder_path}'' /r /d y" ;; double quoted the  ''folder_path'', because of paths with spaces


I see a brief flashing (as with a batch file) but it doesn't change anything in the Users group security settings of the App2 folder. I tried adding Icacls.exe as well but that appears to make no difference.  Is QM entering these commands, silently, via the command prompt BTW?


Messages In This Thread
Take Ownership procedure - by InterestedNewbie - 05-29-2018, 03:37 PM
RE: Take Ownership procedure - by r0n - 05-29-2018, 04:39 PM
RE: Take Ownership procedure - by r0n - 05-30-2018, 04:06 AM
RE: Take Ownership procedure - by InterestedNewbie - 05-30-2018, 03:02 PM
RE: Take Ownership procedure - by Kevin - 05-30-2018, 03:28 PM
RE: Take Ownership procedure - by Kevin - 05-30-2018, 08:08 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)