Installshield Folder Permissions not working

后端 未结 1 561
陌清茗
陌清茗 2021-02-06 17:25

Using InstallShield 2012 Professional to install a ASP.NET website, and a custom app pool running in securitry context of a network service account. When I test the website, I

相关标签:
1条回答
  • 2021-02-06 17:47

    Notes:.

    when considering settings in the "General Information" area, specifically the "Locked-Down Permissions" property - the behavior of file level permissions settings in InstallShield will differ. When selecting "Traditional Windows Installer handling", I was never successful adding explicit permissions. I noticed when doing so, all inherited permissions on the folder would dissappear. Additionally, while it appears the permissions are set in Windows, they behave like they are not set. Manual manipulation tests would show they were not correctly set.

    When setting the "Locked-Down Permissions" property to "Custom InstallShield handling", I was able to add a permission and all inherited permissions remained intact. With this, I was able to apply the desired permissions to the root installation directory in the "Application Data"->"Files and Folders" area, and because I elected "Custom InstallShield handling" I am able to select the check box "Apply these permissions to child objects" in the advanced area of the permissions area of a folder property.

    Steps to finalize and fix my problem:

    In InstallShield (ISM file)...

    • Navigate to "General Information" (Lefthand pane)
    • Set Locked-Down Permissions to "Custom InstallShield handling"
    • Navigate to "Application Data"
    • Right-click the root folder where program is to be installed
    • Click "Properties"
    • Click button "Permissions"
    • Right-click top half of screen in white box area labeled "Name(s)"
    • Select context menu item "New"
    • Remove domain user leaving this field blank
    • Added user "Authenticated User"
    • Select check boxes in lower area ("Read & execute", "List Folder Contents", "Read")
    • Click button "Advanced"
    • Check checkbox "Apply these permissions to child objects"
    • Click button "OK"
    • Click button "OK"
    • Click button "OK"

    Recompile installation program and install. Now works.

    0 讨论(0)
提交回复
热议问题