netsh http add urlacl problem

Posted by BadCat914 on Stack Overflow See other posts from Stack Overflow or by BadCat914
Published on 2011-01-14T14:50:58Z Indexed on 2011/01/14 14:53 UTC
Read the original article Hit count: 427

Filed under:
|

I'm trying to set up some ports from a WIX installer. For WinXP we use httpcfg in a custom action and this works fine. For Win7, we're trying:

netsh http add urlacl url=http://127.0.0.1/8346/ user="NT AUTHORITY\Authenticated Users" sddl="D:(A;;GX;;;AU)"

The WIX installer correctly executes this statement and sets up the ports - FOR THE ADMINISTRATOR who runs the .msi. Users with lesser priviliges cannot access these ports. I need to set it up for all users on the machine, but I've tried about everything I can think of with no luck.

Something I find odd is that the Admin user can see the assigned ports using netstat -a, but they do not appear at all using netsh http show urlacl...is that an indicator of something wrong?

© Stack Overflow or respective owner

Related posts about wix

Related posts about netsh